Model will not Simulate with SignalBuilder Input

1 view (last 30 days)
I am using R2012b. I am creating a signalbuilder block programmatically, which successfully creates the block with cell arrays. However, when I try to simulate a model in continuous time with the signal builder, I get the following error:
Unsupported input format for From Workspace block 'untitled1/Signal Builder/FromWs'. Available formats include: (1) a double non-complex matrix, (2) a structure with or without time, (3) a Simulink.Timeseries object. All formats require the data to be finite (not Inf or NaN).
The data is converted from a .mat file to cell arrays for the block creation. If the signal builder block builds correctly, why can't the model simulate with it? Is there an option to convert the signal builder data to one of those forms to eliminate the error? Thanks!
Matt
  2 Comments
Matt
Matt on 16 Jun 2014
I have determined that it is a problem with the input data and not the block itself. I have checked the data and there are no inf or NaNs present. What else would cause Matlab to reject it? Large data set size?
Kaustubha Govind
Kaustubha Govind on 27 Jun 2014
Matt: Are you providing a cell-array to the block? The only supported formats are listed in the error message, and cell-arrays is not one of them.

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!