change imrect m file

hi dudes,
i want to set a variable in one of the functions of imrect class. but it doesn't let me to di this. how can i do it? thanks for your reply...

3 Kommentare

David Young
David Young am 19 Jun. 2011
Which variable do you want to change? Maybe there's a better way than changing the m-file.
mary
mary am 7 Jul. 2011
i wanna change this variable:'placement_aborted'
how can i do it?
tnx
Jan
Jan am 7 Jul. 2011
@mary: Did you try my suggestion? Copy the original function, enable the write-access, edit the new file. BTW.: It would be helpful if you answer my question for clarification - what does "it doesn't let me do this" mean?

Antworten (1)

Jan
Jan am 19 Jun. 2011

1 Stimme

"It doesn't let me to do this" is not an exhaustive description of the problem. Does your trial suffer from missing write-privilegs to the source files? Then copy the source to a folder which you are allowed to write in and modify the source there - of course using a different function name.
Never modify the source of a toolbox function!

Diese Frage ist geschlossen.

Gefragt:

am 19 Jun. 2011

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by