Scott Dobbins
2008-09-17 16:04:03 UTC
I'm trying to deploy a stand alone executable file generated by the MATLAB compiler on a computer that does not have MATLAB installed.
According to the MATLAB compiler documentation, I need to:
1)Run MCRInstaller.exe on the target computer
2)Copy the .exe file (my m file compiled) to the target computer
3)Copy the .ctf file to the target computer.
Questions:
1) Are these three the only files needed in the package?
2) What folder do I copy the .exe to on the target computer? Does it matter?
3) The .ctf file is supposed to be automatically generated by the compiler. This didn't happen. I searched for *.ctf on my computer and came up with zilch. I'm using the -m compiler option and no other. Do I need to add/change compiler options to get my .ctf file?
4) Once I do get the .ctf, what folder do I copy it to on the target computer?
Editorial:
Mathworks should have created a wizard to do compiling and create a self extracting executable for the target machine AUTOMATICALLY. Following the MATLAB compiler documentation is like following a badly written program with GOTOs all over the place. I'm trying to do a job in a reasonable amount of time, not be an expert on the intricacies of compiling and preparing a package. That's the sort of thing computers are really good at. And yes, I have sent this off to Mathworks for feedback.
Thanks for your help.
Scott
According to the MATLAB compiler documentation, I need to:
1)Run MCRInstaller.exe on the target computer
2)Copy the .exe file (my m file compiled) to the target computer
3)Copy the .ctf file to the target computer.
Questions:
1) Are these three the only files needed in the package?
2) What folder do I copy the .exe to on the target computer? Does it matter?
3) The .ctf file is supposed to be automatically generated by the compiler. This didn't happen. I searched for *.ctf on my computer and came up with zilch. I'm using the -m compiler option and no other. Do I need to add/change compiler options to get my .ctf file?
4) Once I do get the .ctf, what folder do I copy it to on the target computer?
Editorial:
Mathworks should have created a wizard to do compiling and create a self extracting executable for the target machine AUTOMATICALLY. Following the MATLAB compiler documentation is like following a badly written program with GOTOs all over the place. I'm trying to do a job in a reasonable amount of time, not be an expert on the intricacies of compiling and preparing a package. That's the sort of thing computers are really good at. And yes, I have sent this off to Mathworks for feedback.
Thanks for your help.
Scott