Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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?

Réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by