From: Algesjoia Costa on
hi,

I´m new in matlab and i want now if i can do a standalone executable from a m.file and a simulink file.

I have a m.file that changes the values in simulink and when i create a standalone file, they compile but when i run the standalone, show me a error saying that "??? Undefined function or method 'sim' for input arguments of type 'char' ". This happens because in the m.file i want simulate the simulink and when the m.file try to simulate the error happens.

My question is: it is possible create a standalone executable , that m.file changes de values of the simulink?

thanks,