On the app designer, how can i log data in real time to a .mat/.txt file

조회 수: 2 (최근 30일)
Ifeoluwa Ajiboye
Ifeoluwa Ajiboye 2021년 11월 19일
답변: Rik 2021년 11월 20일
I have got a timer function that every 5 seconds, i get timenow values & Power Supply voltage. I am not sure how to log this data to a txt file in real time.

채택된 답변

Rik
Rik 2021년 11월 20일
This sounds like you could solve it by using one of the append flags when using fopen. Then you can fprintf what you need to write, and close the file again with fclose.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by