Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
You've come to the right place if you wonder how to append your Simulink model with C/C++ and/or Python code. Exactly such a capability is demonstrated here. A code for the PI controller with clamping is embedded into the Simulink model using four different approaches: S-Function written in m-code, MATLAB Function written in m-code, S-function written in C/C++ and MATLAB Function that invokes the external Python interpreter to run code written in Python. Enjoy!
Cita come
Bartlomiej Ufnalski (2026). PI controller code in C and Python (https://it.mathworks.com/matlabcentral/fileexchange/75272-pi-controller-code-in-c-and-python), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.0 (35,5 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0 |