To Workspace block not returning results when simulating using SimulationInput objects
조회 수: 15 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2019년 1월 22일
답변: MathWorks Support Team
2019년 3월 27일
Why are To Workspace blocks not creating variables with the assigned names in the Base Workspace when I run my model using a 'SimulationInput' object?
채택된 답변
MathWorks Support Team
2019년 1월 22일
When running a model using
out = sim(in)
where 'in' is a 'SimulationInput' object, a To Workspace block does not give the assigned variable name, e.g. 'simout', in the Base Workspace. Instead, the To Workspace block variable 'simout' is given as part of the 'SimulationOutput' object generated by 'sim', i.e. in this case 'out.simout'.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!