problem with matlab 2009 64 bit

1 vue (au cours des 30 derniers jours)
Sabbas
Sabbas le 13 Août 2012
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

Réponse acceptée

Oleg Komarov
Oleg Komarov le 13 Août 2012
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 commentaire
Sabbas
Sabbas le 13 Août 2012
I fixed it actually by using a different directory path
thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by