error when deploying to hardware

1 view (last 30 days)
Dakota Klatt
Dakota Klatt on 2 Feb 2016
I get this error when deploying to my nxt brick. I have tried several different computers, different nxt robots, and even other usb cables same error for all.
The call to realtime_make_rtw_hook, during the entry hook generated the following error:
Connecting to LEGO MINDSTORMS NXT hardware failed. Check that: 1. LEGO MINDSTORMS NXT hardware is powered on. 2. USB connection to the LEGO MINDSTORMS NXT hardware is working. 3. LEGO MINDSTORMS NXT hardware is not running an application.
The build process will terminate as a result.
Caused by:
Connecting to LEGO MINDSTORMS NXT hardware failed. Check that: 1. LEGO MINDSTORMS NXT hardware is powered on. 2. USB connection to the LEGO MINDSTORMS NXT hardware is working. 3. LEGO MINDSTORMS NXT hardware is not running an application.

Answers (1)

Subin Kuttappan Stellal Mary
One of the reasons for this error is due to an unsupported driver version. The driver version that is supported in MATLAB R2015a is (1.19.768). Follow the steps below to install the supported version of the driver :
1. In the Add/Remove Programs list, locate and uninstall 'LEGO MINDSTORMS NXT Driver for x64'
2. Install the required version of the driver that is available at the following link:
3. Verify the version of the installed support package using the following command :
matlabshared.supportpkg.getInstalled

Community Treasure Hunt

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

Start Hunting!

Translated by