Generating Standalone Executable file Using Matlab Coder

6 vues (au cours des 30 derniers jours)
Tom Patno
Tom Patno le 16 Fév 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

Réponses (1)

Benjamin Thompson
Benjamin Thompson le 16 Fév 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.

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by