Read a Matrix variable in simulink

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 comentario

Kaustubha Govind
Kaustubha Govind el 10 de Jul. de 2013
You need to double-click on the block and change the variable name from 'simin' to whatever the name in the workspace is.

Iniciar sesión para comentar.

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 9 de Jul. de 2013

1 voto

Use a constant block

1 comentario

Tong Zhao
Tong Zhao el 4 de Abr. de 2020
Awesome answer man! Although I can't explain why this works, but hey it works.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Etiquetas

Preguntada:

el 9 de Jul. de 2013

Comentada:

el 4 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by