for p=1:length(validFolderNames)
for i=1:length(signalNames)
dataInfo(i,1) = find(strcmp({temp(p).data.name}.', signalNames{i,1}))
end
car1.(char(validFolderNames(p))) = struct('info',[],'signals',[]);
car1.(char(validFolderNames(p))).info = struct('startLoc',[],'endLoc',[],...
'airTemp',[],'airPressure',[],'humidity',[]);
car1.(char(validFolderNames(p))).signals = struct('GPS',[],'Attitude',[],...
'FuelCell',[],'Stack',[],'Hydrogen',[],'Inputs',[],'Motor',[],'Power',[]);
car1.(char(validFolderNames(p))).signals.GPS = struct('latitude',temp(p).data(dataInfo(1)).data,'longitude',temp(p).data(dataInfo(2)).data,'height',temp(p).data(dataInfo(3)).data,'speed',temp(p).data(dataInfo(4)).data);
end
dataInfo = cellfun(@(x,y) find(strcmp(x,y)),{temp(p).data.name}.',signalNames,'UniformOutput',0);