- Use 'csvread' to read the CSV into MATLAB - https://www.mathworks.com/help/matlab/ref/csvread.html
- Create a figure and save it in your preferred format using 'saveas' - https://www.mathworks.com/help/matlab/ref/saveas.html
Raspberry Pi Support from MATLAB Coder [Image or figure save(PNG, JPGE)]
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to convert a csv (acceleration) file to a figure and save it as an image (PNG).
If images can be saved using snapshots from the webcam, imwrite cannot be used. Is there any way?
Is this not possible on Raspberry Pi?
댓글 수: 0
답변 (1개)
Yoga
2023년 9월 10일
편집: Yoga
2023년 9월 10일
I understand that you would like to convert a csv (acceleration) file to a figure and save it as an image (PNG).
To perform this, you can try the following steps:
You can also refer to one of the MATLAB answer posts which explains how to perform the same - https://www.mathworks.com/matlabcentral/answers/510560-can-i-convert-csv-to-jpg-or-png.
I hope this helps resolve your issue.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!