Variabili nei blocchi MATLAB Function
Definire le variabili del blocco per i blocchi MATLAB Function
Definire le variabili nei blocchi MATLAB Function nel codice della funzione. Modificare le proprietà delle variabili della funzione per accedere alle sorgenti dei dati all'interno e all'esterno dei modelli di Simulink®.
Strumenti
| MATLAB Function Block Editor | Create, edit, and debug MATLAB code in MATLAB Function blocks |
Blocchi
| MATLAB Function | Include MATLAB code in Simulink models |
Oggetti
MATLABFunctionConfiguration | MATLAB Function block property configuration |
Stateflow.EMChart | Stateflow interface to MATLAB Function block |
Argomenti
- Create MATLAB Function Block Variables
Use MATLAB Function block variables to modify data input to the block, or to output modified data to the model.
- Set Properties for MATLAB Function Block Variables
Use the Property Inspector or the Model Explorer to define properties of MATLAB Function block variable properties.
- Access Workspace Data in MATLAB Function Blocks by Using Parameter Variables
Pass Simulink parameters and MATLAB® variables to a MATLAB Function block.
- Accesso ai dati dell'archivio di dati nei blocchi MATLAB Function
Accedere ai dati dell'archivio di dati nei blocchi MATLAB Function utilizzando variabili globali.