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

2 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by