From: Chao on 25 May 2010 00:25 Hi, everyone I am currently using the latest version of MATLAB to do some shortest-path calculation and the function 'graphshortestpath.m' worked just fine. But my boss wants me to migrate my codes to a lower version of matlab, which is matlab 7.0.4. Well, here is the question. I checked the release notes of matlab 7.0.4 and find out that its bioinformatics toolbox's version was still 1.1 or something and it doesn't have the folder 'graphtheory' which contains the function 'graphshortestpath'. So I just replaced it with a folder from a higher version of matlab. I then used the 'addpath' command to update the search path of the bioinfo toolbox.(Is there anything wrong with this step?) But when I tried to run my codes, an error jumped out. Here is the error information: -------------------------- ??? Undefined command/function 'graphalgs'. Error in ==> graphshortestpath at 136 end Error in ==> vtctrans at 407 [dist, path, pred] = graphshortestpath(GS, S, T); -------------------------- I checked some previous posts in Newsreader about this graphalgs function and understood that it was a private function whose source code is not to be distributed. Surely I don't want to modify this function, I just want to use it. But no matter what I tried, I just can't get rid of this error information. Will someone please help me with this? Thanks a lot!
|
Pages: 1 Prev: Logarithmic Bins for Histogram Next: Extracting distorted circles from image |