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 Comments

David Young
David Young on 19 Jun 2011
Which variable do you want to change? Maybe there's a better way than changing the m-file.
mary
mary on 7 Jul 2011
i wanna change this variable:'placement_aborted'
how can i do it?
tnx
Jan
Jan on 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?

Answers (1)

Jan
Jan on 19 Jun 2011

1 vote

"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!

This question is closed.

Asked:

on 19 Jun 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!