Vector to bus conversion in Simulink
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
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');
Zitieren als
thomas (2026). Vector to Bus (https://github.com/thomas169/v2b), GitHub. Abgerufen .
Allgemeine Informationen
- Version 1.1.1 (52,1 KB)
-
Lizenz auf GitHub anzeigen
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.1 | Github |
||
| 1.1.0 | TLC bug fixes |
||
| 1.0.1 | Edit platform compatibility. |
||
| 1.0.0 |
