Buses

Create Simulink Bus Signal from the cell Array
ダウンロード: 14
更新 2019/9/3

ライセンスの表示

Create Simulink Bus object in workspace from the cell array containing the Bus information.
For example,
cellInfo = { ...
{ ...
'FIT_IN', ...
'', ...
sprintf('Bus object created by TargetLink for DD object //DD0/Pool/Typedefs/ST_FIT_IN.'), ...
'Auto', ...
'-1', {...
{'Vs', 1, 'single', -1, 'real', 'Sample', 'Fixed', [], [], '', ''}; ...
{'TqRaw', 1, 'single', -1, 'real', 'Sample', 'Fixed', [], [], '', ''}; ...
} ...
} ...
{ ...
'FIT_OUT', ...
'', ...
sprintf('Bus object created by TargetLink for DD object //DD0/Pool/Typedefs/ST_FIT_OUT.'), ...
'Auto', ...
'-1', {...
{'StrTqLpf', 1, 'single', -1, 'real', 'Sample', 'Fixed', [], [], '', ''}; ...
{'StrTqHpf', 1, 'single', -1, 'real', 'Sample', 'Fixed', [], [], '', ''}; ...
} ...
} ...
}';

will create FIT_IN, FIT_OUT buses in workspace using command
Simulink.Bus.cellToObject(cellInfo)

引用

Mundrathi Venugopal (2024). Buses (https://www.mathworks.com/matlabcentral/fileexchange/72642-buses), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2019a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersComposite Signals についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0