File Exchange Pick of the Week

August 7th, 2009

StructDlg (Part 2 of 2)

Bob's pick this week is StructDlg by Alon Fishbach.

This is a follow-on from last week's pick.

Do you build MATLAB applications with a graphical user interface (GUI)? Do want to provide your end users with rich, powerful dialogs to manage their work flow? Would you prefer to not start from scratch? Then StructDlg may be for you. Be sure to review Alon's examples for a quick tour of the many capabilities he implemented. I can see using this to tweak model parameters or manage user preferences for starters.

How could StructDlg make your MATLAB program more user friendly?

Comments?


Get the MATLAB code

Published with MATLAB® 7.9

3 Responses to “StructDlg (Part 2 of 2)”

  1. Kunert replied on :

    Hello,

    nice tool.
    I would like to have a multi line edit box.
    For example for a GUI where the user can enter a comment field with several lines.

  2. Bob replied on :

    Kunert, you can have a multi-line edit text box within your MATLAB UI. See the uicontrol help, Style=edit and note the Max-Min>1 provision. The inputdlg function includes a num_lines option as well.

  3. Bob replied on :

    See also MATLAB Desktop blog post More dialogs than you can shake a stick at.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Bob, Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

  • Zach: Hi Doug and Les, I didn’t have a lot of time to mess with this, but I did find a work-around. I plotted...
  • hamed: k
  • Les: @Zach This isn’t exactly what you are looking for but at least it puts all three parameters on the same...
  • Zach: Thanks for your suggestions Doug. I’ll give that a shot and see what happens. I’ve seen many of...
  • Doug: @Zach, I would say to use plotYYY, because that is close to what you want, but using depth as Y makes sense....
  • Doug: @Teja, I think this will work: http://www.mathworks .com/access/helpdesk /help/techdoc/ref...
  • Gify: merry christmas :) nice christmas tree! Regards, Janet Gify
  • Teja: Dear Doug Is there anyway to plot a surface from nonuniform data without meshgrid and griddata? Basically i...
  • Zach: I’m working with geophysical data, so I’d like to produce a depth profile. The y-axis would be...
  • Doug: @Ashok First, please do not use variable names that are MATLAB commands (std and mean). Second, p(j) should be...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.