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!