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 Center および File ExchangeAnalog 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