MATLAB: Read a Matrix variable in simulink

simulinkworkspace

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

Best Answer

Use a constant block