importing data from a text file

I'm importing data from a text file into a script and i was wondering and when doing this using the import tool, I noticed that the data from the text file was in my workspace but not part of my actual script. is there a way to change this? The text file i'm using is a .dat, if it matters

类别

帮助中心File Exchange 中查找有关 Data Import and Export 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by