% NB: GETVC7DATA only works if the folder 'readimxstuff' is in the matlab search path.
% GETVC7DATA Fetches all possible fields in a particular davis file DAVIS_FILE_NUMBER located at
% PATHVC7. If PATHVC7 is not specified, then .vc7 files are assumed to be
% in the current working directory.
% Outputs are in the structure format with slightly shorter names:
% FIELD is the structure format using these e.g. (UX,POSX,gridspacing...)
% FIELDdavis is a structure containing the original DaVis field names,
% but with colons ':' and white space ' ' replaced by '__'
% and '_' respectively.
% Note: New field names (e.g. that might result from a new version of DaVis)
% are currently added with the prefix 'UNEXPECTED_FIELD_' followed by the default
% DaVis field name.
% e.g. If a DaVis field existed called: 'TS:Height of clouds'
% Then you will find it under: FIELD.UNEXPECTED_FIELD__TS__Height_of_clouds
% or in the DaVis structure: FIELDdavis.TS__Height_of_clouds
Matt Molteno (2022). MyStruct = getVC7data(davis_file_number) (https://www.mathworks.com/matlabcentral/fileexchange/60184-mystruct-getvc7data-davis_file_number), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!