Closed smwasif closed 4 years ago
Duplicate of #
Still I can't use Matlab with correct configuration. I followed the instructions provided on https://github.com/robotology/robotology-superbuild#linux and added following environment variables:
addpath('<ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX>' '/mex']) addpath('<ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX>' '/share/WBToolbox']) addpath('<ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX>' '/share/WBToolbox/images'])
But still with Matlab LoadYarp
command I can't execute it. Following Matlab Command Window message appears:
Undefined function or variable 'LoadYarp'.
Please help me in this regards so as to solve the problem.
Hi @smwasif , sorry for the late reply. For using YARP in MATLAB, there are two possibilities:
The robotology-superbuild installs the second type of bindings, that do not require to use the LoadYarp
function in loading.
Hi @traversaro Thank you very much for your kind reply. Can you please guide which commands now can be used and which can't be used with robotology-superbuild preinstalled Matlab bindings?
Hi dear, I tried and followed the guide provided on the robotology-superbuild repository and turned on the flag,
ROBOTOLOGY_USES_MATLAB
but it didn't work. In Matlab classpath.txt file i set this path:/home/wasif/robotology-superbuild/build/install/share/yarp/bindings/java/
still i couldn't startLoadYarp
Please help and guide to make Matlab interacting with iCub.