read name of csv-file and save as output

조회 수: 1 (최근 30일)
Mariska Kret
Mariska Kret 2011년 6월 30일
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

채택된 답변

Gerd
Gerd 2011년 6월 30일
HI Mariska,
use [PATHSTR,NAME,EXT] = FILEPARTS(FILE)
to get the results
Gerd

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Other Formats에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by