xlscell

Assigns a value or Excel formula to a specified cell in excel sheet.
3.5K Downloads
Updated 27 May 2004

View License

xlscell(xcell,value)
xlscell(xcell,value,filename)
xlscell(xcell,value,filename,sheetname)


xcell: cell name (range) (ex. C3 or A2:F19)
value: value(s) to assign to specified cell.
filename: Name of excel file.
sheetname: sheet name.

Examples:

filename = 'file.xls';
value = {'N1','N2','N3','N4'};
xlscell('C4',value);
xlscell('C4',value,filename);
xlscell('C5',rand(10,4),filename);
xlscell('C5',rand(10,4),filename,'Sheet1');

Cite As

Fahad Al Mahmood (2024). xlscell (https://www.mathworks.com/matlabcentral/fileexchange/4548-xlscell), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

More debugging documentation added