Filter löschen
Filter löschen

Matlab 2007a debugging Problem in Win7 32bit System.

1 Ansicht (letzte 30 Tage)
Bhavnish
Bhavnish am 27 Dez. 2011
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 Kommentare
Jan
Jan am 27 Dez. 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 am 28 Dez. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 27 Dez. 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.

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by