Any idea how I can get mcc -W lib:libAdd Add.m to generate libAdd_mcc​_component​_data.c?

1 回表示 (過去 30 日間)
abhijit damle
abhijit damle 2020 年 5 月 4 日
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 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by