Simulink : Get handle of a Matlab-Function block, inside Matlab-Function itself
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
langrg
am 20 Feb. 2020
Kommentiert: langrg
am 21 Feb. 2020
Hello,
Is there a way to get handle of a Matlab-Function Simulink block inside of the Matlab-Function itself?
Thanks!
0 Kommentare
Akzeptierte Antwort
Fangjun Jiang
am 20 Feb. 2020
I would think so, just try handle=get_param(Block,'handle') where "Block" is the full path of the MATLAB function block in your Simulink model.
3 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!