Sending multiple data from GUI to Simulink using Arduino?

3 views (last 30 days)
Hello, I have three edit text in my GUI. When I press a button, I want to send these three values entered in edit text as follows.
fprintf(arduino,'%3d',data1,data2,data3);
Then I want to take the sent data package from Simulink and use it by parsing.
I - How can I send multiple data?
II - How can I parse the data package that comes to Simulink?

Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!