Unable to access "lrwpan" from custom installation of MATLAB

6 ビュー (過去 30 日間)
sumit kumar
sumit kumar 2018 年 4 月 22 日
Hi, I have installed MATLAB in two different paths inside my Ubuntu 16.04 system. First is : /usr/local/R2017b Second is : /opt/MATLAB/R2017b In the first one when I run lrwpanEndToEndPHYExample.m, it runs properly but when I run the same in second, it throws this error : Undefined variable "lrwpan" or class "lrwpan.PHYGeneratorOQPSK". What I am missing here ? Regards Sumit

採用された回答

Walter Roberson
Walter Roberson 2018 年 4 月 22 日
"This example also uses:
Communications System Toolbox Library for the ZigBee Protocol"
  2 件のコメント
sumit kumar
sumit kumar 2018 年 4 月 22 日
Yes I have Communications System Toolbox already installed.
Walter Roberson
Walter Roberson 2018 年 4 月 22 日
Yes, but you do not have "Communications System Toolbox Library for the ZigBee Protocol" installed.
Go into Add-On Explorer and search for Zigbee. For me it was the first entry.

サインインしてコメントする。

その他の回答 (3 件)

sumit kumar
sumit kumar 2018 年 4 月 23 日
編集済み: sumit kumar 2018 年 4 月 23 日
I think the package you mentioned is already installed. I have attached the screenshot. Regards Sumit
  1 件のコメント
Walter Roberson
Walter Roberson 2018 年 4 月 23 日

It might somehow not be on your MATLAB path. Try

restoredefaultpath

I saw exactly the message you did until I installed the zigbee package, after which I had no difficulty executing the example.

サインインしてコメントする。


sumit kumar
sumit kumar 2018 年 4 月 23 日
I am very sorry, it was a mistake. When you asked me to check "Communications System Toolbox Library for the ZigBee Protocol", I checked it in the first path where it was already working and not the second path. So indeed for the second path MATLAB installation, the mentioned package was not installed. After installing it, it works! Thank you very much Sumit

MathWorks Communications Toolbox Team
As of R2023b, the content in the Communications Toolbox™ Library for ZigBee® and UWB has been absorbed into Communications Toolbox. With that release or later, you no longer need to download the library.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by