How to loadmat file and run to my code in guide
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi Guys-Iam new in Gui matlab - I want to Load .mat file and use it from some algorithms and my every algorihtm have have new form to change some parametrs
how can do this thanks for help
[fname fpath findex]=uigetfile({'*.mat'},'Select the Vessel Signal file','multiselect','on');
d = load(fname);
댓글 수: 0
채택된 답변
Jan
2019년 4월 11일
편집: Jan
2019년 4월 11일
[fname, fpath] = uigetfile({'*.mat'}, ...
'Select the Vessel Signal file','multiselect','on');
d = load(fullfile(fpath, fname));
The path might matter.
댓글 수: 2
Jan
2019년 4월 12일
@Emir az: I do not know, what "pass .mat file between GUI" means. What is the relation to "load mfile"? You do not load M-files manually. What is "main", "PSO" and "GA"?
Please search in the forum for "share data GUI". This might solve the problem. If not, please ask with more details. Post the current code and explain, at which lines what should be achieved. Take into account, that we cannot read your mind and your code remotely.
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!