Calling the vectorized Matlab fcn from within Simulink
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Peter Balazovic
am 18 Okt. 2022
Beantwortet: Paul
am 18 Okt. 2022
Dears,
I have various Matlab function vectorized and accosutmed to be used with matrix, vector inputs. Is there a way to use efffectivelly such "vectorized" functions in Simulink?
0 Kommentare
Akzeptierte Antwort
Paul
am 18 Okt. 2022
Use a Matlab Function block in the Simulink model and call your function from inside that block. If your function is not amenable for code generation, declare it via coder.extrinsic. Check the doc pages for relevant details.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!