Trouble with Importing Data

85 次查看(过去 30 天)
Jun Jun
Jun Jun 2019-6-17
评论: Jun Jun 2019-6-18
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?

回答(1 个)

Mauro Fusco
Mauro Fusco 2019-6-17
Maybe, it helps you to know that you can use the load function in your script directly, see:

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by