필터 지우기
필터 지우기

uigetfile for loading the mat file from different folder

조회 수: 7 (최근 30일)
Prasad Joshi
Prasad Joshi 2022년 1월 24일
댓글: Prasad Joshi 2022년 1월 24일
I am using uigetfile for loading files from different folder and navigating it but the mat file is not loading in the workspace ......I m attaching the code used
[filename,pathname]=uigetfile('*.mat*','MultiSelect','on');
time=Temps';
var11=ABC;
var12=DEF;
var13=GHI;
...Any modification in code someone suggest.....So that data also can also be loaded on workspace.....Thank you in advance

채택된 답변

Geoff Hayes
Geoff Hayes 2022년 1월 24일
@Prasad Joshi - try using load to load the variables from file into the workspace. I think that is all that you are missing once you have selected the file.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by