Unrecognized function or variable 'mustBeA'.

Not all built in functions are loaded in Matlab. If I check 'mustBe .. ' functions (data type validation) , all the numeric ones are loaded but string and other data types are not. How do I install 'mustBeA' function? I am using Matlab version 2020a
(Unrelated note : when I start Matlab from terminal- I get the warning ' Failed to load module "overlay-scrollbar" Failed to load module "canberra-gtk-module" ' . Could this be the reason? I haven't had issues without the 2 modules so far, therefore I have ignored it.)

2 件のコメント

Walter Roberson
Walter Roberson 2021 年 8 月 26 日
Nidhi Anilkumar
Nidhi Anilkumar 2021 年 8 月 26 日
Thank you. I have rephrased the question solely for mustBeA function missing in the Matlab installation.

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

 採用された回答

Jan
Jan 2021 年 8 月 30 日
編集済み: Jan 2021 年 8 月 30 日

0 投票

The function mustBeA was introduced in Matlab R2020b. You are using 2020a. In consequence upgrading the the way to go or write a replacement function by your own.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

質問済み:

2021 年 8 月 26 日

編集済み:

Jan
2021 年 8 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by