c files compilation using Matlab coder

2 ビュー (過去 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 Center および File ExchangeMATLAB Coder についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by