read name of csv-file and save as output

1 vue (au cours des 30 derniers jours)
Mariska Kret
Mariska Kret le 30 Juin 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

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by