How can I read data from a text file with code deployed on a Raspberry ?
4 views (last 30 days)
Show older comments
Guilhem Schena
on 18 Jun 2021
Commented: Guilhem Schena
on 21 Jun 2021
I have made text file containing audio data (2 columns of doubles separated by a space) with a code deployed on a Raspberry. Now, I want to use this text file to play audio data through the speakers plugged to the Raspberry (so that's another code deployed on the Raspberry).
The problem, when I use fread, is that I don't receive correct values. I would like to use something similar to importdata() but it does not support code generation.
How can I do ?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on MATLAB Support Package for Raspberry Pi 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!