- 0 means do not update link in the workbook
- false means do not open workbook as readonly
Regarding the Actxserver spec
1 回表示 (過去 30 日間)
古いコメントを表示
Gopalakrishnan venkatesan
2015 年 5 月 13 日
コメント済み: Gopalakrishnan venkatesan
2015 年 5 月 13 日
open_file = Activate.Workbooks.Open(fullfile(pwd, 'DD.xlsx'),0,false)
In the above expression what does 0 and false indicates?
Thank you
0 件のコメント
採用された回答
Guillaume
2015 年 5 月 13 日
Assuming that before the line you've shown there is a line:
Activate = actxserver('Excel.Application'); %And what a misleading variable name!
Then Open is an excel function. The whole excel interface is very well detailed by Microsoft. For example, this is the page about Open. On there you learn, that
Since these are the default values anyway, they could just as well be omitted. It would make more sense since none of the other optional values are specified:
open_file = Activate.Worbooks.Open(fullfile(pwd, 'DD.xlsx')); %would do the same.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Use COM Objects in MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!