Example command not available

조회 수: 3 (최근 30일)
antoine philippe
antoine philippe 2021년 11월 22일
답변: antoine philippe 2021년 11월 24일
Hello,
I would like to try out the Airplane Tracking Using ADS-B Signals in Simulink example proposed from Matlab.
To test the example, this command has to be coppied in matlab :
openExample('comm/AirplaneTrackingUsingADSBSignalsInSimulinkExample')
But the following error occurs :
Error using findExample (line 35)
Example "AirplaneTrackingUsingADSBSignalsInSimulinkExample"
not found in "C:\Program
Files\MATLAB\R2020a\examples\comm\examples.xml".
Error in openExample (line 30)
metadata = findExample(exampleId);
I guess that the files for the example are missing, but i can't find the source code anywhere.

채택된 답변

antoine philippe
antoine philippe 2021년 11월 24일
I found out how to access the example codes that are not available on the matlab website :
  • Open the "Add-on manager" in Matlab
  • Go to the "option" button, and open the toolbox documentation (Communications Tootlbox in my case)
  • Choose the section where your example could be in (Supported Hardware – Software-Defined Radio in my case)
  • The example codes are available using "Open Script"

추가 답변 (1개)

Steven Lord
Steven Lord 2021년 11월 22일
Do you have Communications Toolbox installed? Check using the ver function.
ver comm
------------------------------------------------------------------------------------------------------ MATLAB Version: 9.11.0.1811744 (R2021b) Update 1 MATLAB License Number: Operating System: Linux 4.14.215-0414215-generic #202101122110 SMP Tue Jan 12 21:59:53 UTC 2021 x86_64 Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode ------------------------------------------------------------------------------------------------------ Communications Toolbox Version 7.6 (R2021b)
  댓글 수: 1
antoine philippe
antoine philippe 2021년 11월 22일
When I write the ver function, I get this :
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.8.0.1538580 (R2020a) Update 6
MATLAB License Number: *****
Operating System: Microsoft Windows 11 Pro Version 10.0 (Build 22000)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
Communications Toolbox Version 7.3 (R2020a)
I already used some other examples such as BLE Channel Selection Algorithms, which has the same "Copy Command" button... But it works.

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

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by