How to import pp datastructure into simulink model

1 次查看(过去 30 天)
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 个评论
Kaustubha Govind
Kaustubha Govind 2013-5-29
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Splines 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by