The signal recording time from the accelerometer is only 5 seconds, how can it be increased

How to increase the recording time of the signal from the accelerometer by more than 10 seconds, otherwise I get the data to be written to the array for 5 seconds, 2 files of the .mat extension

6 件のコメント

Walter Roberson
Walter Roberson 2022 年 5 月 23 日
What is your simulation stop time set to?
Artur Sadriev
Artur Sadriev 2022 年 5 月 24 日
10 sec
Walter Roberson
Walter Roberson 2022 年 5 月 24 日
if you increase to 16 then what size do you get out? 5 seconds still? 11 seconds (5 lost)? 8 seconds (half recorded)?
Artur Sadriev
Artur Sadriev 2022 年 5 月 24 日
I'm not where you can specify 16 seconds and so on, but where can I change the value of the duration?
Artur Sadriev
Artur Sadriev 2022 年 5 月 24 日
I solved the problem with the duration, now it is recorded for 30 seconds, but the file is divided into 2 parts, that is, in one array 15 seconds and in another array 15 seconds. How to make sure that data is written to one single file
Walter Roberson
Walter Roberson 2022 年 5 月 24 日
I do not see anything obvious that is being saved to file in your diagram?

サインインしてコメントする。

回答 (1 件)

Sutanu Maiti
Sutanu Maiti 2022 年 6 月 3 日

0 投票

PLease have a look at be below documentation:
You can set Simulation Stop time to Inf to log continuously and indefinitely...

カテゴリ

製品

リリース

R2022a

質問済み:

2022 年 5 月 23 日

回答済み:

2022 年 6 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by