From: Sebastian Alaggia on
Hi,

I have a problem with Simulink.BusElement. I'm trying to use embedded functions in simulink to reuse some code I've make for my model in matlab. In that code there's lots of variables, some of them matrix with parametric size packed in structs. I'm new in Simulink but reading the documentation I've came across that is possible to Simulink Buses in order to represent Matlab structs in embedded functions. I'm trying to keep parametric size but in the Bus Editor while defining BusElements I can't define dimensions with [1 N] where N is in matlab workspace.

Is posible to define BusElements with parametric size? If it is, how it's done?

Thanks,
Sebastian