Image analysis does not work
Show older comments
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
Wayne King
on 23 Mar 2012
You need to give much more detail than this if anybody is going to help you.
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
on 26 Mar 2012
May be some commands differs between the versions
Accepted Answer
More Answers (2)
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
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 ...
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!