Tuesday 15 February 2011

Simulink model interface to external C++ application -



Simulink model interface to external C++ application -

i have complex simulink model multiple referenced models trying interface external c++ code. using 2014a , generating code using simulink coder. below 2 of import requirements satisfy while doing this:

have ability create multiple instances of model in external c++ code.

have ability overwrite info input model , have reflected external application.

given these requirements, @ top level best method interface external io, datastores or io ports?

from understanding using datastores (or simulink.signal objects) , specifying appropriate storage class may able satisfy 2 above, in doing have specify signal names , not allow me satisfy 1.

if utilize io port blocks @ top level, may able satisfy 1 not 2.

update: #2 constraint has been removed due design change. hence io port approach works me.

simulink

No comments:

Post a Comment