help
help > RE: NBS not running. Tried everything I can think of.
Nov 5, 2023 09:11 AM | Max von Gellhorn
RE: NBS not running. Tried everything I can think of.
I tr
I tried once to use your *.mat files and I get the same error because it can't read the files correctly because of the variable definition. The easiest way is to convert the mat files to txt. files.
Code*****
files = dir('*.mat') ; % you are in the folder of
files
N = length(files) ;
% loop for each file
for i = 1:N
thisfile = files(i).name ;
Data = load(thisfile);
DataField = fieldnames(Data);
thisfile=strcat(thisfile(1:end-4) , '.txt')
dlmwrite(thisfile,
Data.(DataField{1}),'delimiter','\t');
end
Threaded View
Title | Author | Date |
---|---|---|
derya | Nov 4, 2023 | |
Max von Gellhorn | Nov 5, 2023 | |
derya | Nov 5, 2023 | |
Max von Gellhorn | Nov 5, 2023 | |
deryaadil | Nov 5, 2023 | |
derya | Nov 5, 2023 | |