I have done a Matlab executable which uses the mex command:
eg. system('mex -v -g -LC:\Example\Release -lModel Test.c Test_wrapper.c')
I intend to use it as a standalone exe in a target computer which doesn't have Matlab.
I've installed the correspondent version of MCR in the target computer.
The .exe works fine on my computer, however, when I try to run it on the target computer from the command line, the following message pops up:
" 'mex' is not recognized as an internal or external command, operable programm or batch file "
Am I missing something here? Is it not possible to run a .exe containing Matlab commands on a target machine without Matlab?
On my computer i have:
- Matlab 2011b (32bit and 64bit, application is compiled using the 32bit)
- Visual Studio 2010 Ultimate
- Windows 7 (x64)
On target computer:
- Visual Studio 2010 Ultimate
- Windows XP (x64)
Any help will be highly appreciated! Thanks in advance!
Best Answer