sim command clears workspace & fails simulation
조회 수: 5 (최근 30일)
이전 댓글 표시
I am trying to run simulation using GUI. When I load my model, it shows me workspace is filled with variables, but as soon as sim command runs it clears all work space & simulation fails. I checked all the posts wrt this topic, but my issue is not solved. Can anybody please help me how to fix this problem ?
Thanks in advance. Sameer
댓글 수: 0
답변 (1개)
Patrick Behr
2017년 3월 1일
options = simset('SrcWorkspace','current');
sim('ModelName',[],options)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!