How to determine a sim. model is being run by itself or as a referencede model?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a simulink model! when run independently I want to use a let'say sin wave as input for further analysis,and when run as referenced model I want it to get data from root-level input block! How can I do this?!
cheers, Kaveh
댓글 수: 0
채택된 답변
Mark McBroom
2017년 11월 29일
On the "Data Import/Export" tab of the configuration settings, specify "Input" values for all input ports in the "Load from workspace" section. These settings are used only when the model is simulated on it's own, but ignored when a used as a reference model inside another model.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Model References에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!