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

2 ビュー (過去 30 日間)
Alexey Illarionov
Alexey Illarionov 2020 年 4 月 10 日
回答済み: Anirudh Singh 2020 年 4 月 17 日
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 Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by