Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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?

Antworten (0)

Kategorien

Mehr zu C Shared Library Integration finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by