Hi Ben,<div><br></div><div>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.</div>

<div><br></div><div>Thanks,<br><br><div class="gmail_quote">On Fri, May 27, 2011 at 11:07 AM, Tien Thanh <span dir="ltr"><<a href="mailto:nttputus@gmail.com">nttputus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="gmail_quote"><div class="im"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Tien,<br><br>I've never seen a 'Directory access failure' warning message before. From a quick google search I found this page: <br>


<a href="http://www.mathworks.com/support/solutions/en/data/1-18KUW/index.html?product=ML&solution=1-18KUW" target="_blank">http://www.mathworks.com/support/solutions/en/data/1-18KUW/index.html?product=ML&solution=1-18KUW</a><br>




<br>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."<br><br>Can you run 'locate libipc.so'? Is it found? <br>


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


<div>/opt/ros/diamondback/stacks/ipc-bridge/ipc_bridge_stack/ipc/lib/libipc.so</div></div><div class="im"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<br>Did you run '<code>rosmake ipc_bridge_ros'</code> ?<br></blockquote><div><br></div></div><div>Yes, I even remaked it again but I still got the error </div><div class="im"><div><div>Warning: Directory access failure: /bin/bash. </div>


<div>> In path at 110</div><div>  In addpath at 87</div><div>  In example_publisher at 9</div><div>Warning: Name is nonexistent or not a directory: rospack. </div><div>> In path at 110</div><div>  In addpath at 87</div>


<div>  In example_publisher at 9</div><div>Warning: Name is nonexistent or not a directory: command not found/bin. </div><div>> In path at 110</div><div>  In addpath at 87</div><div>  In example_publisher at 9</div><div>


??? Invalid MEX-file '/opt/ros/diamondback/stacks/ipc-bridge/ipc_msgs/ipc_geometry_msgs/bin/geometry_msgs_Twist.mexa64': libipc.so:</div><div>cannot open shared object file: No such file or directory.</div><div><br>


</div><div>Error in ==> example_publisher at 13</div><div>pid=geometry_msgs_Twist('connect','publisher','example_module','twist');</div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br><br clear="all">-- ben<div><div></div><div><br><br></div></div></blockquote></div><font color="#888888">-- <br>Tien Thanh Nguyen<br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Tien Thanh Nguyen<br><br>
</div>