How to use Simulink.Bus.createMATLABStruct function with Simulink Data Dictionaries
24 views (last 30 days)
I have a Simulink Constant Block where the value is
in order to create a Simple test-harness.
If the bus-object for 'myBus' is in the base-workspace then it works. However, if the bus-object is defined (solely) in a linked data-dictionary then it does not.
Robert Simpson on 11 Jun 2018
I also have this issue. Automatically created test harnesses try to set initial condition of ZOH blocks by running Simulink.Bus.createMATLABStruct('.....'); in the mask of the signal spec block. But this fails.