Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by