필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Olaf
Olaf 2018년 8월 9일
댓글: Antonin 2018년 9월 5일
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
Olaf
Olaf 2018년 8월 10일
Thanks all, I did it !!! Then I have referenced from sources: 1. Enabled and Triggered Subsystem in Matlab/ Simulink 2. Set Timer for model: https://www.mathworks.com/matlabcentral/fileexchange/44534-simulink-timer-counter
You can see and try it Now, I trying to simplify a model by setup parameter Timer_trigger, Sample timer, etc. From: Matlab/Simulink 2018a
Antonin
Antonin 2018년 9월 5일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by