0

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....)?

4

1 回答 1

0

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

variable1.time=[0 1 2];
variable1.signals.values=rand(1,3);
于 2013-07-09T15:34:24.297 回答