how load txt file within GUI?

*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 件のコメント

Doug Hull
Doug Hull 2014 年 2 月 24 日
What command are you using at the command line? Why is this more difficult in a GUI? what have you tried?
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 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

タグ

質問済み:

2014 年 2 月 24 日

コメント済み:

2014 年 2 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by