xlsrange
Simple utility function to generate a range in excel syntax from row and column numbers, requires xlscols.m by Kevin Crosby:
http://www.mathworks.co.uk/matlabcentral/fileexchange/28343-column-converter-for-excel
Syntax
range = xlsrange(row, col)
range = xlsrange(row1, col1, row2, col2)
Description
xlsrange generates cell positions and ranges in excel's letter-number
format, e.g. A1, B5:D9 etc. from row and column numbers.
Examples
range = xlsrange(1, 1)
range =
A1
range = xlsrange(1, 1, 4, 3)
range =
A1:C4
Cite As
Richard Crozier (2024). xlsrange (https://www.mathworks.com/matlabcentral/fileexchange/41449-xlsrange), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Column Converter for Excel
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 |