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
2012-3-23
You need to give much more detail than this if anybody is going to help you.
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
2012-3-26
May be some commands differs between the versions
采纳的回答
更多回答(2 个)
Bjorn Gustavsson
2012-3-26
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
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
2012-3-23
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!