Buses

Create Simulink Bus Signal from the cell Array
14 Downloads
Aktualisiert 3 Sep 2019

Lizenz anzeigen

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)

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2019a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Composite Signals finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0