Info
This question is closed. Reopen it to edit or answer.
I'm having trouble using MsgBox.
1 view (last 30 days)
Show older comments
kontrl = -4.796163466380676e-14
if -0.001<=kontrl & kontrl>=0.001
h=msgbox({'Dengeli Ölçülerin Denetimi' 'BAŞARILI!!!'},...
'Kontrol','custom',myicon);
elseif errordlg({'Dengeli Ölçülerin Denetimi' ' HATALI!!!'},'Hata');
end
"Conversion to logical from matlab.ui.Figure is not possible." I get this error.
2 Comments
Walter Roberson
on 20 Apr 2017
What is class(myicon) ?
Also, please put in a breakpoint at the "if" and query class(kontrl)
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!