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

2 次查看(过去 30 天)
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 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by