I wrote a MATLAB script with gui which I also want to let my-coworkers use. Right now, I always start the gui-builder and run the program out of there. How can I package it together so that it is easy to use and preferably only one file or so. There is also a perl-script which is called out of the program. It only has to work for windows, if that is relevant.
EDIT: They don’t all have MATLAB. But beside that, I think I am doing something wrong. The gui won’t start if I double-click the script. And if I double-click the .fig-file, it will show the gui but will give me an error when I want to use it. It only works for me if I open the gui-builder, then open inside the gui-builder the .fig-file and then run the script from there.
If your co-workers don’t have matlab, you can compile it and package it into a stand alone executable. the process is pretty much straight forward.
To start, open the deployment tool with
deploytoolcommand, create a new project and drag your main .m file to the project. build it and then package it using the buttons at the top of the deployment tool.