if( exist(FILEPATH) ) h5info(FILEPATH) end
MATLAB: Inconsistency between “exist” function and “h5info” with long file path
existfileh5infolongMATLABmax_pathpaths
When a file path greater than 260 characters is specified, the "exist" function returns a positive value between 1 to 7. However, the "h5info" function is not able to read the file. Something like below fails because of this inconsistency:
Why does this inconsistency exist in MATLAB?
Related Question
- How to replace a dataset in an HDF5 file with a smaller dataset, without leaving some values of the old dataset behind
- Hdf5 how to convert pixel to lat&lon please give suges
- Does “requiredFilesAndProducts” fail to find the function when “which” is able to find it
- How to check isempty when the variable might not exist without using two if statements
- How to concatenate two newline characters together
- Is it possible to open hdf5 (.h5) images in MATLAB
- Doesn’t the startup.m file work
Best Answer