Undefined function 'graphalgs' for input arguments of type 'char'.

Hi
I always get this error (Undefined function 'graphalgs' for input arguments of type 'char' ) when I run graphconncomp , however I have graphalgs private function !!
can anyone help me please ?

 Accepted Answer

The graphalgs private function you see might consist of only help documentation. graphalgs is (or was previously) implemented in compiled code. See http://www.mathworks.com/matlabcentral/newsreader/view_thread/262604

8 Comments

thank you very much I don't want to modify it, I just want to include it to run graphconncomp function
how can I check if the MEX file that I have does include only help documentation or compiled code?
If it is a .mex* file then it is compiled code. If it is a .m file then it might have MATLAB code or it might only have MATLAB comments used for help information.
What does
which -all graphalgs
show?
Please show the error message and trace back to your top level source
it is a .mex file the error Undefined function 'graphalgs' for input arguments of type 'char'.
Error in graphconncomp (line 93) [s,c] = graphalgs('scc',debug_level,directed,G);
Error in Untitled1 (line 6) [S,C] = graphconncomp(g)
what is the problem ? I have graphalgs.mexA46 file in the run path
A .mexa64 file would be for a 64 bit Linux system. Perhaps you are not running on Linux, or perhaps you are using a 32 bit Linux system, or perhaps you are using Student Version which on Linux is a 32 bit program ?
thank you very much for this information.
yes, I'm using windows, how can I get the grapgalgs.mex for windows ??
It should have been included in the Bioinformatics toolbox, provided that the graphconncomp routine still calls upon it. Try reinstalling the Bioinformatics toolbox.
I have difficulties reinstalling bioinformatics toolbox
how can I replace graphalgs function ?
thanks
The product files for toolboxes are encrypted, so although you could maybe extract something from the .zip, it would not be a usable file. You need to get the installer working properly. You could call MATLAB Installation Support, which is free.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!