Generating Standalone Executable file Using Matlab Coder
16 views (last 30 days)
Show older comments
Hi:
I have Matlab on one pc & want to create a standalone executable for labview to call on a different pc. The script generates plots I need to see. Is this possible & if so with which version(s) of Matlab?
Based on this article from 2018, it doesn't appear to be possible. . .
"There is currently no way to generate completely standalone code from functions like "plot" which are not supported for code generation with MATLAB Coder. The only option is to use the "mcc" command from MATLAB Compiler, and install the MCR on your target machine."
Thanks,
Thomas
0 Comments
Answers (1)
Benjamin Thompson
on 16 Feb 2022
Anything using graphics is going to need MATLAB Compiler. You cannot draw plots without a graphics library of some kind, and this is provided in the MATLAB Runtime libraries that are installed for free to run any application you build using MATLAB Compiler.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!