How to load .mat files from shared folder?

조회 수: 3 (최근 30일)
Nadia A
Nadia A 2016년 12월 22일
답변: KSSV 2016년 12월 22일
Hi
I was trying to load .mat files from a shared folder. It flagged an error
s=what('\\abcd010\Result\DatasetUsed\Validation'); %change dir for your directory name
>> matfiles=s.mat;
Too many outputs requested. Most likely cause is missing [] around left hand side that has a comma separated list expansion.
\\abcd010\Result is a shared folder path. I have made the current working directory to this path. How do I access file from this path? Thanks
  댓글 수: 2
KSSV
KSSV 2016년 12월 22일
You can directly give the path of the mat file and read it.
Nadia A
Nadia A 2016년 12월 22일
There are many mat files along with other files in the path. I need to load one after another. if I give this command in the C: folder path, it works fine.. But it is not taking from the shared folder

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2016년 12월 22일

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by