フィルターのクリア

Print out to Excel

1 回表示 (過去 30 日間)
Philosophaie
Philosophaie 2013 年 12 月 6 日
How do I print out to Excel? Where are my mistakes?
exl = actxserver('excel.application');
exlWkbk = exl.Workbooks;
exlFile = exlWkbk.Open(['C:/Documents and Settings/path/Kerr.xlsm']);
exlSheet1 = exlFile.Sheets.Item('Sheet1');
exl.visible = true;
n=2
for l=1:4
for k=1:4
for j=1:4
for i=1:4
n=n+1
exlSheet1.Range(['B' num2str(n)]).value = "RC(" & i & "," & j & "," & k & "," & l & ")=" & Riemann(i,j,k,l)
end
end
end
end
exlWkbk.Close;
exl.Quit;

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by