t****t 发帖数: 6806 | 1 I think you are using some kind of unix, so you need to tell
your program where the matlab C library (the .so files) are.
Generally it is placed in $MATLABROOT/extern/lib/$ARCH.
$MATLABROOT is the root dir of matlab system
(you should be able to find $MATLABROOT/bin/matlab),
and $ARCH is the type of computer you are using, like
sol2 for SUN, glnx86 for linux, sgi64 or sgi for SGI(IRIX), etc.
write this before you run the program:
if you are using sh/bash
LD_LIBRARY_PATH=the_directory
export LD_L |
|