Structure as output of MATLAB Function Block through Simulink.Bus object -
i have matlab function block
compute x variables want use later in script.
my first option use to workspace
blocks each of them, since have x variables, fills model blocks. problem these x variables have different dimensions, otherwise build matrix.
my idea build structure within matlab function block
, use single to workspace
block, research told me need simulink.bus
object so.
is approach @ best way achieve goal? in advance input!
Comments
Post a Comment