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!