How to import pp datastructure into simulink model

1 visualizzazione (ultimi 30 giorni)
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 Commento
Kaustubha Govind
Kaustubha Govind il 29 Mag 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Splines in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by