Example command not available

3 次查看(过去 30 天)
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 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by