MyStruct = getVC7data(davis_file_number)
% 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.
%
% e.g.
% [FIELD,FIELDdavis]=getVC7data(2,'C:\Users\Matt\Downloads');
%
% 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
Cite As
Matt Molteno (2024). 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 Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: PIV image tool, PIVMat 4.20
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |