Is there a way to load data from an Excell file making sure that this is Saved?
1 次查看(过去 30 天)
显示 更早的评论
In one of my projects, I am constantly editing input data for a Matlab program in an .xlsx file. Each time I run the Matlab program, this reads the specifie column of the .xlsx file and continues running the program. However, if I forget clicking save in the Excell file before running the Matlab, the changed values are not loaded into Matlab Workspace.
Thus, my question is if there is a way to make sure .xlsx file is saved before reading the data from it.
Hope I explained myself properly.
Thank you very much in advance.
回答(1 个)
Jan
2021-2-2
This means, that you use Excel as GUI of Matlab. This is a bold approach. What about proramming the GUI in Matlab directly?
Use "Save" instead of the "Saveas"
6 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!