Real time debug CCSv5 and MATLAB
1 回表示 (過去 30 日間)
古いコメントを表示
I'm working with TMS320F28035, CCSv5, MATLAB R2015a, and a pms motor.
I loaded this existing project: HVPM_Sensorless (from ControlSUITE) in CCSv5, wich fits very well to my project. Here in code composer I'm allowed to modify global variables like SpeedRef and VqTesting in real time debugging.
But, for project reasons, I have to control motor speed, motor direction and torque via MATLAB.
All these variables can be controlled in Code Composer in the Debug session, but I would like to modify SpeedRef and Torque via MATLAB, in order to achieve project purpose. If any one know how to modify this variables in MATLAB in real time I'll appreciate to let me know.
Regards.
-Caleb.
0 件のコメント
回答 (1 件)
Antonin
2016 年 12 月 1 日
Hi Caleb,
The parameter tuning part of External mode does exactly what you are looking for.
You can even use the dashboard knobs to tune your parameters (the dashboards sinks are not supported yet).
FYI, the R2016b version of MATLAB provides much faster communication compared to the previous versions, I recommend you upgrade.
I hope it helps,
Cheers,
Antonin.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Test Execution についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!