Read BlockType of SimscapeBlocks
显示 更早的评论
Hello I try to read some parameters with MATLAB out of my Simulink file. I do so by the following code
load_system(x);
Blocktypes = get_param(find_system(x,'Type','Block'),'BlockType');
But if i use some kind of Simscape Block in Simulink, i get only 'SimscapeBlock' as result. Is it possible to find out which kind of Simscapeblock is used? This ...
load_system(x);
Blocktypes = get_param(find_system(x,'Type','Block'),'Name');
... is no solution because I changed all the original names!
Thanks in Advanced! Cedric
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Variable Initialization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!