Strutture
Definizione e operazioni della struttura supportata
È possibile definire le variabili nei blocchi MATLAB Function e MATLAB System come strutture.
Blocchi
| MATLAB Function | Include MATLAB code in Simulink models |
| MATLAB System | Include System object in model |
Funzioni
coder.cstructname | Name generated or externally defined structure type in C or C++ code |
Argomenti
- Create Structures in MATLAB Function Blocks
Follow guidelines for creating structures.
- Initialize Matrix Using a Nontunable Structure Parameter
Use a nontunable structure parameter input to initialize a matrix output.
- Attach Buses to MATLAB Function Blocks
Use structures in a MATLAB Function block.
- Definizione della struttura per la generazione di codice
Utilizzare strutture nel codice MATLAB® destinato alla generazione di codice.