Buses

Create Simulink Bus Signal from the cell Array
14 download
Aggiornato 3 set 2019

Visualizza la licenza

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)

Cita come

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

Compatibilità della release di MATLAB
Creato con R2019a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Composite Signals in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0