質問

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