storing variables using " To Workspace"

조회 수: 1 (최근 30일)
Max
Max 2014년 3월 8일
답변: Azzi Abdelmalek 2014년 3월 8일
Hi In simulink I used the "To Workspace " block as attached in the image. After running the file when i checked the workspace , The variable corresponding to the workspace had only the last value e.g 51. . However the previous values were not present. I guess the simout to workspace cannot store it in vector form. Is there any other block in simulink which could store the variable with all the values it holded from start time of simulation to end of the simulation
Thanking you

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 3월 8일
In to workspace block set save format to array

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by