Get "Unrecognized function or variable 'H'." when try to plot graph using variable imported from simulink using "To Workspace" block diagram in MATLAB
조회 수: 10 (최근 30일)
이전 댓글 표시
답변 (1개)
Navya Singam
2022년 1월 10일
Hi,
From my understanding you are trying to save the output data to the MATLAB workspace using the To Workspace Block.
To Workspace Block saves the output to the workspace in the form of structure. It is saved inside the structure out. So variable 'H' can be accessed using the out.H, as the variable is stored in the structure out.
If you want to save the data in the array format in the structure, double click on the To workspace block and in the choose Array in the Save Format.
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
