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 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!