integer parameters to C MEX s function
Ältere Kommentare anzeigen
function mxGetPr(ssGetSFcnParam(S,0)) can get REAL parameter from the mask of simulink block. is there any function can get integer paramter from simulink block mask, or how to convert a real number to integer in C MEX s function.
Thanks a lot.
Fengming
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Configure C/C++ S-Function Features finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!