Application for recording data from the accelerometer and microphone on the phone

5 ビュー (過去 30 日間)
Artur Sadriev
Artur Sadriev 2022 年 3 月 26 日
コメント済み: Artur Sadriev 2022 年 3 月 29 日
Greetings. I want to write simultaneously the data received from the accelerometer and the microphone into a mat file on android, so that I can then send it to the matlab cloud and analyze the received data there. When creating a model in simulink with the support of the android package, the following error appears during compilation:
The code generated for 'accelometr/To File' cannot support Timeseries logging format using current target 'ert.tlc'. Consider switching the logging format to Array or selecting a target that supports Timeseries format.
and when I change the time siries format to Array, then this error comes out:
Data type mismatch at the input port of 'accelometr/To File'. Only data of type double or a type aliased to double can be logged in Array format. Consider using Timeseries format.
How to solve this problem?

回答 (1 件)

Sutanu Maiti
Sutanu Maiti 2022 年 3 月 28 日

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by