Integrating MATLAB generated c-code in Visual Studio

조회 수: 11 (최근 30일)
César
César 2013년 8월 27일
Hi,
I'm converting some m-files into c-code using MATLAB Embedded Coder. I want to integrate the generated code in a Microsoft Visual Studio project, where I am developing an application which must run stand alone in another computer without MATLAB installed (I'm using MATLAB only to write easily some complicated algorithms).
My question is the following: will the generated c-code be independent of MATLAB or will it require third-party software (e. g. a MATLAB based Run-Time Engine).
Regards.

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 8월 27일
If you are using MATLAB Coder, the generated code will be completely independent of MATLAB run-time libraries. However, not all MATLAB functions and constructs are supported for code generation with MATLAB Coder. Please see MATLAB Language Subset for Code Generation.
There is another product called MATLAB Compiler which supports a much larger set of MATLAB functions/constructs, but depends on the MATLAB Compiler Runtime (MCR) being installed on the target machine, to allow execution.

추가 답변 (1개)

César
César 2013년 8월 28일
Thanks.

카테고리

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