Importing data from .mat file into uitable

조회 수: 1 (최근 30일)
Jordan Klebba
Jordan Klebba 2017년 11월 29일
답변: Vishwas 2017년 12월 8일
DirContents = dir(pwd); DirFiles = {DirContents.name}; settingsFlag = DirFiles(~cellfun(@isempty,regexpi(DirFiles,'Settings.mat'))); % 1 = exist/0 = doesn't exist if settingsFlag == 1 for i = 1:length(handles.fileName) set(handles.uitable1,'Data','Settings.mat'); data(i,:) = {load('Settings.mat'),signals{i}}; end end
I am trying to import data from settings.mat into the first column of my uitable. Any help would be appreciated.

답변 (1개)

Vishwas
Vishwas 2017년 12월 8일

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by