I need to read a matrix variable from workspace in simulink, I am using the simin block but i have a problem with this, it shows me an error (Invalid workspace variable specified as workspace input in 'untitled1/From Workspace'. Time values must be monotonically increasing.), The question is: Which properties of this block (simin) or the matrix variable in workspace should I change to read it in simulink with the block correctly and operate with it (Multiply, Transpose....)?

댓글 수: 1

Kaustubha Govind
Kaustubha Govind 2013년 7월 10일
You need to double-click on the block and change the variable name from 'simin' to whatever the name in the workspace is.

댓글을 달려면 로그인하십시오.

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 7월 9일

1 개 추천

Use a constant block

댓글 수: 1

Tong Zhao
Tong Zhao 2020년 4월 4일
Awesome answer man! Although I can't explain why this works, but hey it works.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Event Functions에 대해 자세히 알아보기

제품

질문:

2013년 7월 9일

댓글:

2020년 4월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by