How can I access an xls file through a GUI that is outside system32/ C drive?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kinjal Mutha
le 2 Août 2019
Commenté : Steven Lord
le 9 Août 2019
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 commentaires
Réponse acceptée
Steven Lord
le 2 Août 2019
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 commentaires
Steven Lord
le 9 Août 2019
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!