문제

i would like to know how i can add a figure to my inputdlg() in matlab. I would like to show a small figure i created to help with filling in the input. This is my input dialog i have.

    prompt       = {'Length:'};
    dlg_title    = 'Straight Duct specs';
    num_lines    = 1;
    SDelements   = {'0'};
    Straightduct = inputdlg(prompt,dlg_title,num_lines,SDelements);

Perhaps some one can show me the way? cheers

도움이 되었습니까?

해결책

Unfortunately, neither the built-in inputdlg nor the more powerful user-contributed inputsdlg natively offer the possibility to add axes (and thus images) to the dialog window.

Your best guess is to create your own dialog window via GUIDE, or to modify inputsdlg.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top