Is it possible to add Simulink blocks in a Model using m-scripts?
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a subsystem in a Simulink model and I was wondering if it is possible to manipulate the model using workspace commands or m-skripts?
Something like(Pseudocode):
add Step source to model
connect with inport1
log outport2
Thanks for reading
Greetings
0 个评论
采纳的回答
Kaustubha Govind
2013-8-26
Yes, this is possible. Please see the list of Simulink command-line functions here. You may want to look at add_block, add_line, etc. What methodology did you want to use to log outport2 (in other words, how do you do it interactively for instance)?
0 个评论
更多回答(1 个)
另请参阅
类别
在 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!