Azzera filtri
Azzera filtri

how load txt file within GUI?

2 visualizzazioni (ultimi 30 giorni)
nada ali
nada ali il 24 Feb 2014
Commentato: nada ali il 24 Feb 2014
*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 Commenti
nada ali
nada ali il 24 Feb 2014
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 il 24 Feb 2014
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

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by