Cannot find builtin function 'waitbar'

Hi,
I am calling builtin fucntion to run waitbar in R2017b but got an error:
Cannot find builtin function 'waitbar'.
Is waitbar function not supported by builtin?
Thanks.

4 件のコメント

Ameer Hamza
Ameer Hamza 2020 年 12 月 6 日
Can you show the output of
which waitbar -all
raym
raym 2020 年 12 月 6 日
E:\Program Files\MATLAB\R2017b\toolbox\matlab\uitools\waitbar.m
raym
raym 2020 年 12 月 6 日
The document says that built-in function is not written in m language but only a description in m file. So the waitbar seems not to be a built-in fucntion.
Ameer Hamza
Ameer Hamza 2020 年 12 月 6 日
How are you calling waitbar in your code?

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

 採用された回答

Steven Lord
Steven Lord 2020 年 12 月 6 日

0 投票

The builtin function is intended to call built-in functions, not functions implemented by MathWorks as function files with the .m or .mlx extensions. The waitbar function is implemented as a .m file. Compare with:
builtin('sin', pi) % sin is a built-in function, its sin.m is help text only
ans = 1.2246e-16
builtin('why') % why is implemented in the file why.m
Cannot find builtin function 'why'

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeApp Building についてさらに検索

タグ

質問済み:

2020 年 12 月 6 日

回答済み:

2020 年 12 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by