How to create a structure which can be fed into the inport with data type Bus?

1 view (last 30 days)
I am writing a MATLAB script which calls the Simulink function. The inport of these Simulink function are connected to the data script is generating in workspace. I am able to connect all the data type except bus data. With bus data I am getting following error. " Unsupported input format. Available formats include: (1) a double non-complex matrix, (2) a structure with or without time,(3) a MATLAB timeseries object, (4) a structure with MATLAB timeseries objects at all leaves (for bus input), (5) a Simulink.Timeseries object, (6) a Simulink.TsArray object (for bus input). All formats require the data to be finite (not Infinity or NaN)."

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!