How can I access an xls file through a GUI that is outside system32/ C drive?
1 次查看(过去 30 天)
显示 更早的评论
I followed a video from the mathworks site on "Reading excel data into Matlab with GUI part 4." I followed the exact same steps and code still when I try loading an xls file it redirects me to C drive System 32 whereas my file is on D drive, and even if i go to D and select it still does not give me column names in the drop down box. I also tried to change folders on the search path but it still kept redirecting it to C drive. How can I solve this?
0 个评论
采纳的回答
Steven Lord
2019-8-2
When during this video does Doug show the "exact same steps and code" that you're copying? I skimmed it but I don't see any reference to actually reading the data. I suspect that was covered in one of the previous parts of the series.
Anyway, can you show a small segment of the code you're running to try to open the .xls file? Seeing that may help us understand what's going on in your code.
4 个评论
Steven Lord
2019-8-9
By "still didn't work" do you mean you receive the exact same error, or did the error message change (perhaps mentioning a different line of code?)
It's probably going to be difficult to debug without seeing your code. Can you attach the figure file and the code file associated with your GUI to a comment? Use the paper clip icon in the Insert section of the toolbar and select each of those files in turn.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!