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
Citation pour cette source
Matt Molteno (2024). MyStruct = getVC7data(davis_file_number) (https://www.mathworks.com/matlabcentral/fileexchange/60184-mystruct-getvc7data-davis_file_number), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : 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!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |