App Designer data to mat file
17 次查看(过去 30 天)
显示 更早的评论
Hi,
I need to save the data of the variables in my app designer to a mat file (I dont know right now if I need to create a mat file from 0 or just copy the results to a existing mat file). The data are numeric fields value.
2 个评论
采纳的回答
Adam Danz
2022-10-28
编辑:Adam Danz
2022-10-28
- If you are saving the data from with an app callback function, then you just need to use save to save the data to a mat file.
- If you are saving the data from outside of the app such as from the base workspace, then you need to first access the data. To do that, the data should be stored as an app property (see step-by-step guide) and you need the handle to you app. See Three ways to access your app handle. Once you have the app handle, you can easily access any property including the property that stores your data and can save it using save().
Let us know if you have any follow-up questions.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!