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!