How to Recording Data in Simulink when button state of radio button

3 views (last 30 days)
Hello anyone, I am making Arduino project on Simulink. I want to record data at any time, so I used a state of a Radio button. I saw record data on Matlab with Dspace Control Desk when they using a trigger signal. I have attacked an example to describe. Thanks.
  2 Comments
Antonin
Antonin on 5 Sep 2018
Hi Olaf,
Congratulations on your achievement!
A few comments:
  • Why use the Simulation Pace block while Simulation Pacing is now built-in R2018a in a more efficient way?
  • You should now try to run this in External mode. Your code is going to run in realtime on the Arduino board and you should be able to achieve higher recording rates.
Nice job, you should submit your example on the file exchange.
Antonin.

Sign in to comment.

Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!

Translated by