Trouble with Importing Data

89 vues (au cours des 30 derniers jours)
Jun Jun
Jun Jun le 17 Juin 2019
Commenté : Jun Jun le 18 Juin 2019
Hi, I am having some problems with importing data into script
At first when I click the "Import data" at "Home" section. It pops up a seperate window that allows me to import data from "Notepad" to "Numeric Matrix" in Matlab. It works fine. But I accidently types "clear", not knowing that it would delete the data I imported.
When I try to import the data again, there is no seperate window pops up and no data is imported. I try to delete the Matlab script and the file I want to import. Open up a new script and redownload the file again and work through the same steps, but it would not open up the window and no data is imported.
I would really appreciate if anyone can help me with this. I am new to Matlab so I try to learn as much as I can. Thank you!
If anything, do I have to reset Matlab in order for it to work?

Réponses (1)

Mauro Fusco
Mauro Fusco le 17 Juin 2019
Maybe, it helps you to know that you can use the load function in your script directly, see:
  1 commentaire
Jun Jun
Jun Jun le 18 Juin 2019
Thank you so much! It works

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interactive Control and Callbacks 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!

Translated by