uigetfile for loading the mat file from different folder

2 ビュー (過去 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 Center および File ExchangeWorkspace 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