dlmread_empty
Version 1.0.0.0 (3.12 KB) by
Kristofer Kusano
Modifies MATLAB's built-in dlmread function with support for changing empty cell value in the output
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://uk.mathworks.com/matlabcentral/fileexchange/43277-dlmread_empty), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Tables >
Find more on Tables in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | . |
