how save data from To workspace block
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a simulink calculation where at the end of my calculation,there will be genereation of more the 10 number of output from a block,,, so i am sending the result back to workspace with "to workspace" block ,,but in my next use I want use only last cell of data available in the workspace "from workspace" block,,,and my result will always vary in the number of outputs,,,sometimes 10 outputs sometimes 12, 13, 18, 19, like this ,,,and i want to access oly last cell data for my next calculation
댓글 수: 2
답변 (1개)
Muruganandham Subramanian
2012년 12월 13일
Try using Lookup Table
댓글 수: 2
Kaustubha Govind
2012년 12월 26일
You probably need to use a Unit Delay block in the loop to allow the previous output to feed back to the input for the next time-step.
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!