Can I Generate C/C++ code in MATLAB and Simulink without purchasing MATLAB Coder or Simulink Coder Toolboxes?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Angelo Yeo
il 29 Dic 2023
Spostato: Angelo Yeo
il 29 Dic 2023
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.
Vedere anche
Categorie
Scopri di più su Code Generation in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!