Generating Standalone Executable file Using Matlab Coder

조회 수: 6 (최근 30일)
Tom Patno
Tom Patno 2022년 2월 16일
답변: Benjamin Thompson 2022년 2월 16일
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

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by