Making a standalone exe from m files
Show older comments
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 Comments
Kaustubha Govind
on 13 May 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
on 13 May 2013
Answers (1)
Azzi Abdelmalek
on 13 May 2013
0 votes
9 Comments
Ali Akbar Shaikhzadeh
on 13 May 2013
Azzi Abdelmalek
on 13 May 2013
Edited: Azzi Abdelmalek
on 13 May 2013
The symbolic toolbox is not supported by Matlab Compiler
Ali Akbar Shaikhzadeh
on 13 May 2013
Azzi Abdelmalek
on 13 May 2013
syms is from symbolic toolbox, then it is not supported by Matlab compiler
Ali Akbar Shaikhzadeh
on 14 May 2013
cr
on 14 May 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
on 14 May 2013
Azzi Abdelmalek
on 14 May 2013
If you work with Matlab, you will need a Matlab compiler
Kaustubha Govind
on 14 May 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.
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!