Running Matlab script from Freefem

Hi, I should run a matlab script from Freefem.

I read that is possible run terminal command in Freefem by using exec(…) or system(…). Anyway, I have problems with the launch of a matlab script by terminal.

I tried


with s = “/Applications/ -nodisplay -r /Desktop/Dottorato/Ricerca/img segmentation/stimatore roughening/untitled”

but I am getting this error:


Invalid use of operator.

Could you help me with this issue?

Thanks in advance,


What is the symbol between the matlab command and the parameter?
This looks like a winsdows issue, or something with invoking matlab.
What happens if you just type that string in at the command line?

I would suggest getting linux or cygwin :slight_smile: