Clear Filters
Clear Filters

How to trigger event from simulink so that matlab objects with dedicated listeners would react to them?

1 view (last 30 days)
I want to re-calcluate a bunch of objects' properties in matlab workspace when certain values change in simulink and then assign the re-calculated values to simulink blocks during the simulation. But it seems s-functions do not have access to the workspace, at least at debugging of s-function only 'block' object is visible.
How values calculated in simulink can be passed to 'global' objects from matlab workspace?
How to trigger event from simulink so that objects with dedicated listeners would react to them?

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!