dlmread_empty

Modifies MATLAB's built-in dlmread function with support for changing empty cell value in the output

You are now following this Submission

This function behaves like the built-in MATLAB function dlmread, but has an additional use case:
RESULT = dlmread_empty(FILENAME,DELIMITER,R,C,EMPTYVAL) reads the data specified in FILENAME starting at row R and column C (both zero-indexed), but fills empty cells with a value specified by EMPTYVAL. EMPTYVAL must be a numeric value or NaN. The default empty value is the number 0.

Cite As

Kristofer Kusano (2026). dlmread_empty (https://in.mathworks.com/matlabcentral/fileexchange/43277-dlmread_empty), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

.