Cannot find builtin function 'waitbar'

2 Ansichten (letzte 30 Tage)
raym
raym am 6 Dez. 2020
Beantwortet: Steven Lord am 6 Dez. 2020
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 Kommentare
raym
raym am 6 Dez. 2020
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 am 6 Dez. 2020
How are you calling waitbar in your code?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Steven Lord
Steven Lord am 6 Dez. 2020
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'

Weitere Antworten (0)

Kategorien

Mehr zu Dialog Boxes finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by