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).


MathWorks

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

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