Hello, so I have this script…
PathName = ('T:\10 - VEHICLE TESTING RESULTS\2011 KENWORTH ISX15\10 - CANAPE FILES\1307\MAT_raw');matdatesearch1(PathName); %# of uploaded files from last day
matdatesearch3(PathName); %# of uploaded files from last 3 days
matdatesearch7(PathName); %# of uploaded files from last week
disp('Last location:');a = LatestFileUploaded(PathName);load(a);lat = CAN2_CAN_GPS_1_GPS_Y(end); lon = CAN2_CAN_GPS_1_GPS_X(end);GetGPSLocation(lat, lon)cd(PathName);disp(' ');LatestFile(PathName); % The latest file uploaded
disp(' ');LastMovement(PathName); %Last time truck moved -- last time vehicle speed was > 0
As you can see, the script contains different functions. The output of the script looks like this…
Number of files in the last day: 3Number of files in the last 3 days: 16Number of files in the last 7 days: 48Last location:720 Aero Drive, Buffalo, NY 14225, USABuffalo, NY 14225, USACheektowaga, NY, USACheektowaga, NY, USAErie, NY, USAUnited States, New York, USAUnited StatesLatest file uploaded: 20130729_SPLBRENT3_081610.mat Last time truck moved: 29-Jul-2013 10:13:32
Does anyone know how I have the output of my script come as a cell array? I tried a few different things but nothing seems to work. Thanks in advance!
Best Answer