필터 지우기
필터 지우기

c files compilation using Matlab coder

조회 수: 1 (최근 30일)
1 1
1 1 2013년 11월 12일
답변: Ryan Livingston 2013년 11월 18일
Hi, i am using several *.m files together with mex files for my project. Is there a possibility to compile using matlab coder mex files too? seems that it is not recognizing those functions... using MCC there is a possibility to do it jjust by adding those mex files to compilation, but how it can be done using matlab coder? Thanks in advance Avi

채택된 답변

Ryan Livingston
Ryan Livingston 2013년 11월 18일
If you are generating a MEX function with MATLAB Coder then you can call the MEX files extrisically:
So, if the MEX function you are calling is "someMexFcn" you can use:
y = foo(x)
%#codegen
coder.extrinsic('someMexFcn');
% Use someMexFcn here
in your MATLAB code.

추가 답변 (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