PI controller code in C and Python

버전 1.0.0 (35.5 KB) 작성자: Bartlomiej Ufnalski
A brief demonstration of the capability of Simulink to execute C/C++ and Python code as a part of the numerical model.
다운로드 수: 466
업데이트 날짜: 2020/4/29

라이선스 보기

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!

인용 양식

Bartlomiej Ufnalski (2024). PI controller code in C and Python (https://www.mathworks.com/matlabcentral/fileexchange/75272-pi-controller-code-in-c-and-python), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2019b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0