Pregunta

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

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top