Can I Generate C/C++ code in MATLAB and Simulink without purchasing MATLAB Coder or Simulink Coder Toolboxes?
조회 수: 4 (최근 30일)
이전 댓글 표시
Dear Community,
I have designed PI and MPC controllers in MATLAB and Simulink, I want to implement them real time, i.e. I want to generate C/C++ code and then implement it to the real hardware through MATLAB Real Time, S-Function, or Rasberry PI.
I read and followed a lot of tutorials but unfortunately I think i have to purchase MATLAB Coder and Simulink Coder Toolboxes for generating C/C++ code. I am student and it is very hard for me to purchase these toolboxes.
I am seeking help in this regard, if I can develop the code without purchasing toolbox please guide me, and if it is not possible without toolboxes then I request to those who have toolboxes please generate C/C++ code for me.
I am attaching the zip folder which contains all the necessary files.
First run PZTModel1.m file then load PID_Controller22_December, and DisRejection_27December files and open MPC_simulink1. Please generate the code PI and MPC seperately. Thanks
댓글 수: 0
답변 (1개)
Angelo Yeo
2023년 12월 29일
이동: Angelo Yeo
2023년 12월 29일
This approach is not suitable for using MATLAB Answers. I recommend contacting the Sales Representative for your account to inquire about obtaining a trial license. If granted permission, you can utilize the licenses for a month. Additionally, student (or academic) versions are available at a more affordable price. Please discuss with your managers regarding the purchase of licenses.
참고 항목
카테고리
Help Center 및 File Exchange에서 Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!