"Error using matlabshar​ed.interna​l.ssh2Clie​nt"

조회 수: 21 (최근 30일)
jarul
jarul 2019년 10월 1일
답변: Sylvain 2020년 12월 23일
With R2019b version installed I can not run AD9361 SDR software.
The transmit and receive functions can not be run.
I get the following error:
"Error using matlabshared.internal.ssh2client"
Can someone in Matlab, help me to solve this problem?
The new library function introduced for SDR, the "transmitRepeat" function
can not be run.
Thanks for your response in anticipation.

답변 (3개)

Ben Cunningham
Ben Cunningham 2019년 10월 7일
편집: Ben Cunningham 2019년 10월 7일

Anqi Hu
Anqi Hu 2020년 7월 17일
Hi, I have the same problem, have you found out any solutions?
  댓글 수: 5
jarul
jarul 2020년 7월 23일
Here is the way how I solved this problem!
When we use matlab to create SD card image it is not complete by itself. I was getting that error. "Error using matlabshared.internal.ssh2client". I struggled for six months.
How did I resolve this error is as follows: I had partially created an SD card image using Matlab and then partly the image is copied from the Linux machine.
The matlab version 2019b is not quite complete. I had struggled quite a lot of time. I had to manually add part of the files from Linux.
Kindly let me know what board are you using? I have the SD card image created for ZC706 as well as zedboard. I can provide a copy of those SD card image for you, if you wish. I am running the SDR on both the boards at present. I am trying for a Multi-SDR transmission and receiving. I get the image, but not 100% accurate. I get 99.70% only.
Hope that it help you.
Anqi Hu
Anqi Hu 2020년 7월 24일
Hi Jarul, I really appreciate your helps. Fun fact that I'm exactly using the same hardware and same version of matlab as yours, which are ZC706+FMCOMMS5 with MATLAB 2019b. Again I got the same error as yours:"Error using matlabshared.internal.ssh2client", lucky for me, I only struggled for two weeks and just solved it today. Although we seemed to have the same problem, my solution is quite different. Just for future reference if anybody googled here and needs it.
My scenario is that:
  1. with the sd image downloaded from official website, I can connect to the board through PuTTY, either using usb port or ethernet port. When connecting with the ethernet, I have to login use the default username and password for linux system, which are root@analog.
  2. with the sd image obtained from seting up zynq hardware support package, this image allow me to communicate with the board using communication toolbox, but the linux system and GUI are not available. It works like another zedboard. I tried to connect to ZC706 with PuTTY and found out the username and password has to be root@root.
  3. Then I guess the problem is that in somewhere Matlab is using root@root to build connections while got rejected by the board. So I changed the the password from analog to root in cmd with simple line: 'passwd root'. problem solved.
It sounds interesting that you are using the zc706 and zedboard at the same time, I tried to use two zedboards simultaneously but got stuck with the prolem of multi-chip synchronization, so I just chose to use FMCOMMS5 with already two chips on it. If you could make it work, I'd like to hear from your success, if you are willing to share with me. I'm so happy that I can find someone to consult and communicate with who seemed to work on the same piece of hardware work.

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


Sylvain
Sylvain 2020년 12월 23일
Same error message, my Pi is wiried to the host PC. After a couple of time working with tune & monitor. I just unplugged the ethernet cable, restart the Rpi, and Matlab to fix this connexion issue.

카테고리

Help CenterFile Exchange에서 Analog Devices ADALM1000 Support from Data Acquisition Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by