How to import pp datastructure into simulink model

2 visualizaciones (últimos 30 días)
Avinash Siravuru
Avinash Siravuru el 29 de Mayo de 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 comentario
Kaustubha Govind
Kaustubha Govind el 29 de Mayo de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Splines en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by