read name of csv-file and save as output

5 Ansichten (letzte 30 Tage)
Mariska Kret
Mariska Kret am 30 Jun. 2011
Hi,
I would like to save the name of a textfile as one of the output variables. The name consists of both text and numbers (.csv). How can I do this?
best wishes, Mariska

Akzeptierte Antwort

Gerd
Gerd am 30 Jun. 2011
HI Mariska,
use [PATHSTR,NAME,EXT] = FILEPARTS(FILE)
to get the results
Gerd

Weitere Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by