How to integrate and insert signals coming from a Matlab function block?

I need to integrate 4 signals from a a Matlab function block. However the sises are inconsistent. xo is a 4x1 vector, however as you can see in the image xo is presented as a 1x1 element.
My question, it is possible 1) initialize xo, in order to give some information about the dimension 2) It is possible to give some information to simulink to give the order of the simulation block. e.g. the 4 integrator are initialized, so who to introduce this information to the Matlan fcn block when the simulation start.
Thanks for your answer and help.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!