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!