MATLAB Answers

What Happened to the SrcWorkspace Name-Value Input to the sim() Command?

조회 수: 6(최근 30일)
Paul
Paul 2021년 8월 31일
답변: Paul 2021년 8월 31일
The SrcWorkspace Name-Value pair argument to the sim() command seems to have disappeared going from 2020b to 2021a. I searched the 2021a Release Notes and could find no mention of its removal. Did I miss that in the ReleaseNotes? More importantly, how does one implement that functionality now?

답변(1개)

Paul
Paul 2021년 8월 31일
Looks like one has to use a Simulink.SimulationInput object as the input to the sim() command.

태그

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by