I get the following message when I run my rtl sdr model

24 views (last 30 days)
An error occurred while running the simulation and the simulation was terminated Caused by: An error occurred in the driver library. You can look up the full error message in MATLAB by executing message('ID','Message'): ID : sdrr:driver:LostConnectionSL Message: 0

Answers (1)

Ethem
Ethem on 20 Mar 2019
>> message('sdrr:driver:LostConnectionSL','0').getString
ans =
'Lost connection to radio 0. Connect radio to computer and run model again.'
This may happen if you unintentionally unplugged the radio.
  3 Comments
Ethem
Ethem on 27 Jan 2021
This message is generated when the computer looses connection to the radio. If your radio looks like it is still attached to the computer, you can try to unplug and replug it. If the problem repeats, try using another USB port. If the problem persists, you may have a defective radio.
行
on 8 Nov 2023
Changed the USB interface, still error. How do you handle it?

Sign in to comment.

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!