Image analysis does not work
Ältere Kommentare anzeigen
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 Kommentare
Wayne King
am 23 Mär. 2012
You need to give much more detail than this if anybody is going to help you.
Matt Kindig
am 23 Mär. 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
am 26 Mär. 2012
May be some commands differs between the versions
Akzeptierte Antwort
Weitere Antworten (2)
Bjorn Gustavsson
am 26 Mär. 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 Kommentar
Daniel Shub
am 26 Mär. 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
am 23 Mär. 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.
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!