Importing data from .mat file into uitable

1 view (last 30 days)
Jordan Klebba
Jordan Klebba on 29 Nov 2017
Answered: Vishwas on 8 Dec 2017
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.

Answers (1)

Vishwas
Vishwas on 8 Dec 2017

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!