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