how load txt file within GUI?

2 次查看(过去 30 天)
nada ali
nada ali 2014-2-24
评论: nada ali 2014-2-24
*hi,
I would like to load txt file within GUI.
I don't know how do that, when I read it I do that from command window.
please help me.
thanks in advance*
  3 个评论
nada ali
nada ali 2014-2-24
i used input file but that make me in command window. I want stay I gui with go back into command window
nada ali
nada ali 2014-2-24
for more details
in fact I want to read any file , i mean there is no specific file. so, it should be message ask me to input the name of txt file

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2014-2-24
Any command you can use at the command window can also be used in code. For example,
myvalues = load('YourFileName.txt');

类别

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