open several Simulink models and interakt with the opend model
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, i can select with radiobuttons several Simulink models.
function Bone_SelectionChangeFcn(hObject,eventdata, handles)
if hObject == handles.Skull
load_system('Skull')
open_system('Skull')
else if hObject == handles.Femur
load_system('Femur')
open_system('Femur')
end
end
after this i wanna replace with slider values of constant in the opend model. But i dont know how can i interact only with the opend model. Cau u guys help me pls?
THX
0 件のコメント
採用された回答
Andreas Goser
2013 年 7 月 29 日
編集済み: Andreas Goser
2013 年 7 月 29 日
I suppose you will be close to your solution once having a look at the commands
bdroot
gcs
gcb
0 件のコメント
その他の回答 (1 件)
sia
2013 年 7 月 29 日
5 件のコメント
Andreas Goser
2013 年 7 月 31 日
This is indeed possible, but without background information of your application, I can't say whether it makes sense or not. I can just say that most user don't do this at all, but develop one larger model. In case you want to modify parts of this larger model easy, please have a look at variants.
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!