Buses

Create Simulink Bus Signal from the cell Array
14 descargas
Actualizado 3 sep 2019

Ver licencia

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)

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2019a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Composite Signals en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0