0
votes

I need to read a matrix variable from the workspace in Simulink. I am using the simin block but I have a problem with this. It shows me the following error:

Invalid workspace variable specified as workspace input in 'untitled1/From Workspace'. Time values must be monotonically increasing.

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
If you want the entire matrix in one time step the easiest way is to use the Constant block. - Navan

1 Answers

0
votes

what does your input variable look like? I use a structure:

variable1.time=[0 1 2];
variable1.signals.values=rand(1,3);