MATLAB Answers

hey guys can you help me with this.

4 ビュー (過去 30 日間)
husam alrajab
husam alrajab 2019 年 5 月 14 日
コメント済み: husam alrajab 2019 年 5 月 17 日
i'm going to print four variable on serial in fact when i run it ;it going to write this four variable in one value . my question is who to print more than one variable on serial and send it to arduino to use it in the same time.this is my matlab gui codes.
global a;


Mark Sherstan
Mark Sherstan 2019 年 5 月 17 日
If you need to run all of that at the same time you need to run miltiple threads. Check out the Parallel computing toolbox for more information:
I see you are running a PID controller so I would first check how long each of these tasks are actually taking using the profiler. If printing, writing, and updating the GUI is faster than you can acquire data and/or actuate your controller, then there is no need to run everything at the same time.
  3 件のコメント
husam alrajab
husam alrajab 2019 年 5 月 17 日
i will .thanks for your help


その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by