How to import pp datastructure into simulink model

1 Ansicht (letzte 30 Tage)
Avinash Siravuru
Avinash Siravuru am 29 Mai 2013
I have some data in the form a mat file in my workspace. The data is the mat file is arranged as columns of x,y1,y2,y3,y4 where each column has n datapoints each. I need 4 splines , one each for y1,y2,y3 and y4 resply wrt x. I need to use that generated spline function( pp datastructure) in Simulink to perform a co-simulation with another dynamic simulator. Can somebody help me figure out how this can be done? Thanks in advance.
  1 Kommentar
Kaustubha Govind
Kaustubha Govind am 29 Mai 2013
In general, Simulink only supports numeric signals, so there is no direct way to import complex datatypes (other than MATLAB structures with all numeric fields). Which block do you plan to use to use the spline function? I would presume that you need it as a block parameter, rather than as an input signal.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Splines finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by