Is that possible to use MATLAB Coder with a Guide application?

조회 수: 7 (최근 30일)
Corentin Lamboul
Corentin Lamboul 2019년 11월 9일
답변: Walter Roberson 2019년 11월 9일
I'm currently developping a MATLAB application with a graphical interface with guide.
My main point is to make this application runable on any sort of PC without MATLAB into this PC.
So is that possible, or should I create a C/C++ graphical interface and then use matlab coder to integrate function by function?
Thank you in advance for your time.

채택된 답변

Ajay Kumar
Ajay Kumar 2019년 11월 9일
편집: Ajay Kumar 2019년 11월 9일
If you have just started the GUI implementation, I would suggest you to switch to AppDesigner instead. If you are way long in guide, finish it off in guide itself, use MATLAB migration tool to convert GUI to Matlab app(.mlapp). Then you can easily make the APP into any standalone application(.exe) which comes with MATLAB Runtime that can be installed in any PC without MATLAB.
Have a look here fot further information.
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 11월 9일
MATLAB Compiler (which produces .exe) has different purposes than MATLAB Coder (which produces C / C++ code)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2019년 11월 9일
If you look at the list of functions supported for code generation at https://www.mathworks.com/help/coder/ug/functions-and-objects-supported-for-cc-code-generation.html you will notice that there are no graphics functions mentioned. If you look at individual routines such as https://www.mathworks.com/help/matlab/ref/plot.html you will see that they do not list C/C++ code generation under extended capabilities.
GUIDE is a graphics framework. Not much of it can have code generated.
Kumar hints at using MATLAB Compiler product: that does support graphics. Not all toolboxes are supported in MATLAB Compiler, though: the most common of the unsupported toolboxes is probably the Symbolic Toolbox.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by