Image analysis does not work

1 view (last 30 days)
Manuela
Manuela on 23 Mar 2012
During my time in the USA as a visiting scientist I started working with MatLab R2007a. Now I am back in my group I want to use the same m-files, but we only have MatLab R2010b. Using the m-files I used in USA results everytime in an error. I sent the images to our colleges in USA and they tried to let them run with their MatLab version. There it works.
Is there a huge difference between using m-files in different MatLab versions?
One part of the error called: "nrm". Have anyone seen such an error before and can give me a hind for what nrm stands for?
Thanks a lot
Error: Extracting cell edges 001??? Undefined function or method 'nrm' for input arguments of type 'double'.
Error in ==> imEdgeTracker at 735 sup_img = nrm(img_overlay,1);
Error in ==> prPanel>run_imEdgeTracker_Callback at 352 [img_proccessed, img_edge]=imEdgeTracker(...
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> prPanel at 43 gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
  3 Comments
Matt Kindig
Matt Kindig on 23 Mar 2012
In particular, tell us specifically what error messages are shown. It is possible that there were some upgrades to the MATLAB core or toolboxes between R2007a and R2010b that are breaking your scripts.
Sivakumaran Chandrasekaran
May be some commands differs between the versions

Sign in to comment.

Accepted Answer

Daniel Shub
Daniel Shub on 26 Mar 2012
Undefined function or method 'nrm' for input arguments of type 'double'.
The program is trying to call a function called nrm, but it cannot find it. It doesn't seem to be a standard MATLAB function in any toolboxes that I have (and I cannot find a reference to it on the web). Maybe it is something your colleagues wrote (or downloaded). Maybe it is a function you have, but haven't set the path correctly.

More Answers (2)

Bjorn Gustavsson
Bjorn Gustavsson on 26 Mar 2012
In addition do Daniel's answer, I'd like to suggest you ask your colleagues to run:
which nrm -all
then send you the (possibly) missing function.
  1 Comment
Daniel Shub
Daniel Shub on 26 Mar 2012
At first I was going to comment that this won't return anything. Then I saw the "colleagues" part. Maybe you can bold that ...

Sign in to comment.


Sean de Wolski
Sean de Wolski on 23 Mar 2012
I would recommend checking the release notes to see what has changed:
Or you could use:
dbstop if error
to make MATLAB stop when you recieve an error so you can see what isn't working.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!