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

5 views (last 30 days)
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:

Categories

Find more on Stateflow in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!