Vector to Bus

Versión 1.1.1 (52,1 KB) por thomas
Vector to bus conversion in Simulink
54 descargas
Actualizado 2 dic 2019

Convert a vector of doubles into a (non-virtual) bus object. The input vector size must match the size of all the bus elements.

Unlike the built-in bus to vector block, the data type of the bus elements need not be consistent (input vector is cast to each elements data type). The top level bus may also contain nested nested buses, but arrays of buses are not supported.

As the S-Function contains simStruct macros that are not supported during code generation a TLC file is provided to inlines the S-Function during code generation.

Tested only on Linux (Ubuntu). Probably needs some changes to compile on Windows.

Build with:
>> mex('CFLAGS="$CFLAGS -std=c99 -Wall"','v2b_sf.c');

Citar como

thomas (2024). Vector to Bus (https://github.com/thomas169/v2b), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2018a
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.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
1.1.1

Github

1.1.0

TLC bug fixes

1.0.1

Edit platform compatibility.

1.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.