Any idea how I can get mcc -W lib:libAdd Add.m to generate libAdd_mcc_component_data.c?
1 回表示 (過去 30 日間)
古いコメントを表示
I executed
mcc -W lib:libAdd Add.m
where Add.m is contains
function myOutput = Add(x, y)
myOutput = x + y;
end
According to answer in post https://www.mathworks.com/matlabcentral/answers/95157-how-can-i-create-a-shared-library-which-does-not-use-a-display-with-matlab-compiler, it is supposed to generate libAdd_mcc_component_data.c. But it did not generate libAdd_mcc_component_data.c as indicated in step 1 in answer. There was no error either. I am using
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.3.0.948333 (R2017b) Update 9
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.3 (R2017b)
MATLAB Coder Version 3.4 (R2017b)
MATLAB Compiler Version 6.5 (R2017b)
MATLAB Compiler SDK Version 6.4 (R2017b)
Any idea how I can get mcc -W lib:libAdd Add.m to generate libAdd_mcc_component_data.c?
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で C Shared Library Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!