Azzera filtri
Azzera filtri

Matlab 2007a debugging Problem in Win7 32bit System.

1 visualizzazione (ultimi 30 giorni)
Hi, I am using Matlab R2007a version in my machine. My machine has Win 7 32 bit OS. When I am simulating my system with matlab scripts(*.m files) , I have put some beak points in *.m files. I am not able to reach there. Is this is a OS problem or something wrong in my system which I am simulating? Its working fine with Win Xp. Please help in this regard.
Thanks, Bhavnish.
  2 Commenti
Jan
Jan il 27 Dic 2011
What does "I am not able to reach this there" exactly mean? Does Matlab not stop at the breakpoints? Are you able to set the breakpoints? Are the files write protected?
Bhavnish
Bhavnish il 28 Dic 2011
Yes, Simon you got my point. Matlab does not stop at breakpoints.
I am able to set the break points. Yes, the files are write protected, they are read only.
But the same files were working fine in Win XP.

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 27 Dic 2011
Which directory are your files stored in? Windows 7 has built-in protections to prevent writing files in directories that are considered to be reserved for the operating system, so if MATLAB is stored under one of those directories (not uncommon) and your working directory is inside the MATLAB directory, then you would not be able to write files. For reasons I have never determined, setting MATLAB breakpoints in a file requires write permissions to the file.
If the above is your problem, you need to move your files to another directory, and turning off UAC or running as Administrator will not be enough.

Categorie

Scopri di più su Search Path in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by