Making a standalone exe from m files
Mostrar comentarios más antiguos
Dear All,
I have a code including 10 m files and a script that runs the m files, for analysis of plates in bending. Now I want to compile the code so that I can run it outside MATLAB as a standalone exe. I tried MATLAB compiler but I could not do it.
Can anybody please guide me how to do this? Let me please mention that my code is not GUI.
2 comentarios
Kaustubha Govind
el 13 de Mayo de 2013
Please note that "I could not do it" is not enough information. Are you seeing errors? If so, please specify the commands you run and the error messages that you see.
Ali Akbar Shaikhzadeh
el 13 de Mayo de 2013
Respuestas (1)
Azzi Abdelmalek
el 13 de Mayo de 2013
0 votos
9 comentarios
Ali Akbar Shaikhzadeh
el 13 de Mayo de 2013
Azzi Abdelmalek
el 13 de Mayo de 2013
Editada: Azzi Abdelmalek
el 13 de Mayo de 2013
The symbolic toolbox is not supported by Matlab Compiler
Ali Akbar Shaikhzadeh
el 13 de Mayo de 2013
Azzi Abdelmalek
el 13 de Mayo de 2013
syms is from symbolic toolbox, then it is not supported by Matlab compiler
Ali Akbar Shaikhzadeh
el 14 de Mayo de 2013
cr
el 14 de Mayo de 2013
Unfortunately, you will have to find a way around using sym toolbox if you need code generation/compiler. At this point of time Matlab lacks that capability, and I dont see it coming in foreseeable future.
Ali Akbar Shaikhzadeh
el 14 de Mayo de 2013
Azzi Abdelmalek
el 14 de Mayo de 2013
If you work with Matlab, you will need a Matlab compiler
Kaustubha Govind
el 14 de Mayo de 2013
Ali: As Azzi rightly pointed out, it is currently not possible to deploy MATLAB code that uses the Symbolic Math Toolbox. Please consider submitting an enhancement request via MathWorks Support so the corresponding development team may consider adding this functionality in a future release.
The only way to call into your MATLAB code (containing Symbolic Math functions) from an external application would be on a machine where MATLAB is installed. Please see External Interfaces for available options.
Categorías
Más información sobre General Applications en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!