Cannot find builtin function 'waitbar'

조회 수: 2 (최근 30일)
raym
raym 2020년 12월 6일
답변: Steven Lord 2020년 12월 6일
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
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일
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개)

카테고리

Help CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by