Image analysis does not work

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

Wayne King
Wayne King 2012년 3월 23일
You need to give much more detail than this if anybody is going to help you.
Matt Kindig
Matt Kindig 2012년 3월 23일
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
Sivakumaran Chandrasekaran 2012년 3월 26일
May be some commands differs between the versions

댓글을 달려면 로그인하십시오.

 채택된 답변

Daniel Shub
Daniel Shub 2012년 3월 26일

2 개 추천

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.

추가 답변 (2개)

Bjorn Gustavsson
Bjorn Gustavsson 2012년 3월 26일

2 개 추천

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

Daniel Shub
Daniel Shub 2012년 3월 26일
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
Sean de Wolski 2012년 3월 23일

1 개 추천

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.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2012년 3월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by