'To workspace' loss of data

조회 수: 3 (최근 30일)
DARSHAN N KANNUR
DARSHAN N KANNUR 2020년 6월 9일
댓글: Kai Huong 2023년 5월 5일
I have 765 inputs to the simulink and i have set simulation time to 765 but when I use 'To workspace' blocking I am getting array of only 51 output data in workspace. Help me out.
  댓글 수: 1
Kai Huong
Kai Huong 2023년 5월 5일
You have to change your "Sample Time" to fit your data interval, do not keep the default (-1). You can read the examples in this link http://www.ece.northwestern.edu/local-apps/matlabhelp/toolbox/simulink/slref/toworkspace.html to be clear.

댓글을 달려면 로그인하십시오.

답변 (1개)

Steven Lord
Steven Lord 2020년 6월 9일
Is the "Limit data points to last" parameter described on this documentation page set to a smaller value than its default of Inf?

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by