Access to Simulink.Bus properties from MATLAB function block and Stateflow.

1 view (last 30 days)
Alexey Illarionov
Alexey Illarionov on 10 Apr 2020
Answered: Anirudh Singh on 17 Apr 2020
One of the input for MATLAB function block and Stateflow in my model is a Simulink.Bus data type object. Is it possible to access the bus object properties inside MATLAB function block and Stateflow? Can I extract the Simulink.BusElement.Units value, for example? I'm using the Simulink Real-Time.

Answers (1)

Anirudh Singh
Anirudh Singh on 17 Apr 2020
You can try this for access Simulink.BusElement.Units value:

Community Treasure Hunt

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

Start Hunting!

Translated by