Porting Matlab Code to C++

조회 수: 2 (최근 30일)
Siamack
Siamack 2014년 6월 6일
댓글: Siamack 2014년 6월 6일
Good morning all Matlab Experts,
If you please assist me in:
If a GUI based matlab code is converted to C++ using matlab Coder, will that code a) be able to run on a standalone device where there are no Matlab's installed b) be able to run and support the Matlab based GUI functionality after being converted
Appreciate the time each respondent will take to answer my question ahead of time,
Regards, Siamack

채택된 답변

Kaustubha Govind
Kaustubha Govind 2014년 6월 6일
MATLAB Coder can generate code that is completely standalone, but it does not support MATLAB Graphics/GUI. As the product page notes, it supports a subset of the MATLAB language for generating completely standalone code.
The product you might be looking for is MATLAB Compiler, which can generate standalone executables/libraries from GUI-based code. However, the generated code does depend on MATLAB runtime libraries, which are packaged into the generated executable/library and must be installed on the client.
  댓글 수: 1
Siamack
Siamack 2014년 6월 6일
Good morning Kaustubha, Thank you for your answer. Quite accurate and helpful.
Regards, Siamack

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

추가 답변 (0개)

카테고리

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