I don't want to run matlab as an administrator and I would like to change the location of the slprj folder. Someone knows how to do it properly?
Thanks in advance.
Best Answer
I found the way to do it. It was easier than I thought.
Just run matlab (I am working under Linux, ubuntu 14.04) from the folder I want to write the slprj folder to and the slprj will be automatically created in that folder.
The alternative is to open MATLAB from wherever you want and then change the 'Current Folder' to the folder in which you want to create the slprj folder.
You just need to specify the full path of the folder you want to delete tormdir. If you supply just the folder name, it assumes that folder is in the current directory. You can usefullfile to build the full path of the folder:
S-Function builder only builds directly to the current folder, so there is no way to specify the build location through the S-Function Builder GUI, but you can change where S-Function Builder builds to by changing the Current Folder through the Current Folder window, or by using the "cd" command in the MATLAB Command Window.
Best Answer