Generating Standalone Executable file Using Matlab Coder
9 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Benjamin Thompson
2022-2-16
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!