rasberrypi connection with matlab on hardware

조회 수: 7 (최근 30일)
Rupali Wagh
Rupali Wagh 2019년 10월 3일
댓글: Vedant Kochar 2023년 11월 9일
'There is no saved deviceAddress value. Specify the hostname or the IP address of your board to connect to it'.
this message shown on command window after connection of rasberry pi and laptop by usb cable wifi netork is also same.please help for this
thanks in advance

답변 (1개)

Mohith Prabhu
Mohith Prabhu 2019년 10월 4일
The MATLAB support package for Raspberry Pi and the Simulink support package for Raspberry Pi require a hardware setup before the hardware can be used with MATLAB or Simulink.
During the hardware setup, upon sucessful completion of the setup, the credentials of the hardware (IP Address, Username and Password) are stored in MATLAB preference for use in future sessions.
The above mentioned error indicates a probable skip of the hardware setup.
If you have not performed the hardware setup, kindly perform it before proceeding with using Raspberry Pi with MATLAB or Simulink. You can refer the following video for assistance with the steps involved in hardware setup.
In case you have already performed the hardware setup, during the creation of the raspi object, pass the credentials
>> r = raspi(<IP address>,<Username>, <Password>)
  댓글 수: 2
Mehdi Dehghan
Mehdi Dehghan 2023년 7월 21일
I set the configuration but I received the same error but the following command that you mentioned solved my problem.
>> r = raspi(<IP address>,<Username>, <Password>)
Thank you
Vedant Kochar
Vedant Kochar 2023년 11월 9일
Hi I am having the same problem even though I performed the hardware setup and Using r = raspi(<IP address>,<Username>, <Password>) command gives me "invalid use of operator" error at the IP address section. How do I resolve this?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by