How can i transfer data from Matlab to Excel?
2 次查看(过去 30 天)
显示 更早的评论
I have no idea on how to write a code for transfering data from matlab to excel on appdesigner. i search a code but i just see code on how to transfer data from excel to matlab on appdesigner.
0 个评论
回答(1 个)
Kevin Holly
2023-1-15
If you have data in a UITable and want to save it to a spreadsheet, you could create a callback function for a pushbutton to save the data to an Excel file.
You can access data with app.UITable.Data and save with the writetable function.
4 个评论
Kunal Kandhari
2023-1-16
@MOUSSA FALL You need to change the first line of the function from this
sDispo = app.StockDisponibleEditField.value;
to this
sDispo = app.StockDisponibleEditField.Value;
Note: 'fields' are case sensitive.
另请参阅
类别
在 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!