From: Arnaud Miege on 1 Jul 2010 11:53 "Filippo Malvezzi" <malpippo(a)yahoo.it> wrote in message <hq9j31$cbh$1(a)fred.mathworks.com>... > I am trying to load a matrix from workspace to simulink with the simin block but I always get this error: > > "time values in matrix.mat must be monotonically non-decreasing" > > What can I do? I assume that you are referring to the From Workspace block. In which case, I would point you to the block documentation: http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/fromworkspace.html in particular "A two-dimensional matrix: * The first element of each matrix row is a time stamp. * The rest of each row is a scalar or vector of signal values. " Is your matrix a parameter or a signal? If it is a parameter, then you are using the wrong block. What do you want to use your matrix for? HTH, Arnaud
|
Pages: 1 Prev: Remove empty string from a cell array Next: dialysis project using simscape |