problem with matlab 2009 64 bit

1 回表示 (過去 30 日間)
Sabbas
Sabbas 2012 年 8 月 13 日
Dear all.
I use matlab 2009 32bit and matlab 2009 64bit
There is a problem with matlab 2009 64bit.
Whenever I run a code within matlab 2009 64bit sometimes I get the following message
Error using ==> xlswrite at 213
The file
D:\Matlab\xa1.xlsx
is not writable. It may be locked by another
process.So, I have to rerun the code. With the second or the third time I no longer have this problem.
With matlab 2009 32bit everything runs normal
Why is this?
thanks

採用された回答

Oleg Komarov
Oleg Komarov 2012 年 8 月 13 日
It is not MATLAB's problem.
You simply have concurrent access with modification actions which are not supported in general by excel.
I can't tell you more since I don't know the code you're using, but omne approach is to rethink (and rewrite the code) the approach to your problem.
  1 件のコメント
Sabbas
Sabbas 2012 年 8 月 13 日
I fixed it actually by using a different directory path
thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by