error when deploying to hardware

조회 수: 3 (최근 30일)
Dakota Klatt
Dakota Klatt 2016년 2월 2일
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.

답변 (1개)

Subin Kuttappan Stellal Mary
Subin Kuttappan Stellal Mary 2016년 2월 10일
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

카테고리

Help CenterFile Exchange에서 LEGO MINDSTORMS EV3 Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by