reading input from workspace in simulink
이전 댓글 표시
is there any work arround to read input data from workspace without using fromworkspace component in simulink so that i can read these data irrespective to define time column
thanks in advance
답변 (2개)
Azzi Abdelmalek
2013년 3월 2일
편집: Azzi Abdelmalek
2013년 3월 2일
0 개 추천
댓글 수: 7
Niveen Morsi
2013년 3월 2일
Azzi Abdelmalek
2013년 3월 2일
What do you mean: under certain condition occurance, give an example
Azzi Abdelmalek
2013년 3월 2일
편집: Azzi Abdelmalek
2013년 3월 2일
Niveen Morsi
2013년 3월 2일
Azzi Abdelmalek
2013년 3월 2일
You can use Matlab function block (Formerly named Embedded function). You can use A(k), A is your array, you can declares k as persistent, and increment it when it's necessary.
Niveen Morsi
2013년 3월 3일
Azzi Abdelmalek
2013년 3월 3일
TAB
2013년 3월 4일
0 개 추천
Use a Constant block to import the complete matrix from workspace at once. Further use Demux or Index Vector to decompose the matrix into its elements.
No need to fetch the matrix elements one by one from workspace.
카테고리
도움말 센터 및 File Exchange에서 Signal Import and Export에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!