From: Naftali Herscovici on
Hello,

I fond some information on how Matlab controls excel.

for filling cells I found this

% Put a MATLAB array into Excel
A = [1 2; 3 4];
ActivesheetRange = get(Activesheet,'Range','A1:B2');
set(ActivesheetRange, 'Value', A);

I was wondering if the cells command could be used like this

A = [1 2; 3 4];
ActivesheetRange = get(Activesheet,'Range','cells(1,1),cells(2,2)');
set(ActivesheetRange, 'Value', A);

Thanks

Tuli
 | 
Pages: 1
Prev: Existing Matlab Code
Next: Matlab code for PEM