set command in matlab and java object
이전 댓글 표시
I have a piece of code which runs a GUI in Matlab. And this particular command line:
set(jPb,'StringPainted','on','Value',0,'Indeterminate','off');
brings up this error:
Warning: Possible deprecated use of set('StringPainted','on') on Java boolean property: use jobj.setStringpainted(true) instead.
Warning: Possible deprecated use of set('Indeterminate','off') on Java boolean property: use jobj.setIndeterminate(false)
instead.
Anyone how to implement this solution? Thank you.
답변 (1개)
Image Analyst
2016년 5월 8일
0 개 추천
Did you finish reading the warning messages? They tell you what to do:
use jobj.setStringpainted(true) instead.
use jobj.setIndeterminate(false)
댓글 수: 1
Orestis Koskoletos
2016년 5월 8일
편집: Orestis Koskoletos
2016년 5월 8일
카테고리
도움말 센터 및 File Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!