how to define the input to the simulink from workspace as a columns?
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to call signal from workspace to the simulink using "from workspace block" my input file in the workspace contain 5 columns but when I used block from workspace to call it in the simulink the simulink dont understand it as a columns,
so my question is how to upload my columns from workspace to the simulink in such a way the simulink can diagnose it as a columns?
need help plz
댓글 수: 2
The Matlab Spot
2013년 11월 15일
Confirm my understanding..
- You have a variable in the workspace with 5 columns and n rows
- You want to provide individual column vectors of this variable as inputs to signals using from workspace blocks
is that right?
채택된 답변
The Matlab Spot
2013년 11월 15일
편집: The Matlab Spot
2013년 11월 15일
See the implementation (attached) of the From Workspace blocks to split the matrix
댓글 수: 2
The Matlab Spot
2013년 11월 15일
편집: The Matlab Spot
2013년 11월 15일
e.g.
a = [1,2,3,4,5;6,7,8,9,10];
t = [0;1];
& do the necessary solver settings for two time steps for this test example
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!