Generating Standalone Executable file Using Matlab Coder

16 Ansichten (letzte 30 Tage)
Tom Patno
Tom Patno am 16 Feb. 2022
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

Antworten (1)

Benjamin Thompson
Benjamin Thompson am 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.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by