Hi Ben,

I think I found out what is the problem here. In stead of clicking to an shortcut link in my desktop to Matlab, I run matlab in terminal and the examples work well. It's strange but it works.

Thanks,

On Fri, May 27, 2011 at 11:07 AM, Tien Thanh <nttputus@gmail.com> wrote:

Hey Tien,

I've never seen a 'Directory access failure' warning message before. From a quick google search I found this page:
http://www.mathworks.com/support/solutions/en/data/1-18KUW/index.html?product=ML&solution=1-18KUW

It seems like you didn't compile ipc or it's not in your path..."libipc.so: cannot open shared object file: No such file or directory."

Can you run 'locate libipc.so'? Is it found?

Yes, I can found it in the terminal: /opt/ros/diamondback/stacks/ipc-bridge/ipc_bridge_stack/ipc/lib/libipc.so
And also have it in Matlab path: 
>> which libipc.so
/opt/ros/diamondback/stacks/ipc-bridge/ipc_bridge_stack/ipc/lib/libipc.so


Did you run 'rosmake ipc_bridge_ros' ?

Yes, I even remaked it again but I still got the error 
Warning: Directory access failure: /bin/bash. 
> In path at 110
  In addpath at 87
  In example_publisher at 9
Warning: Name is nonexistent or not a directory: rospack. 
> In path at 110
  In addpath at 87
  In example_publisher at 9
Warning: Name is nonexistent or not a directory: command not found/bin. 
> In path at 110
  In addpath at 87
  In example_publisher at 9
??? Invalid MEX-file '/opt/ros/diamondback/stacks/ipc-bridge/ipc_msgs/ipc_geometry_msgs/bin/geometry_msgs_Twist.mexa64': libipc.so:
cannot open shared object file: No such file or directory.

Error in ==> example_publisher at 13
pid=geometry_msgs_Twist('connect','publisher','example_module','twist');


-- ben


--
Tien Thanh Nguyen




--
Tien Thanh Nguyen