help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating 'Forms' in Octave


From: Chip Wachob
Subject: Re: Creating 'Forms' in Octave
Date: Tue, 23 Aug 2016 12:53:15 -0400

Pantxo,

This looks like exactly what I was searching for.

Thank you,



On Tue, Aug 23, 2016 at 11:21 AM, Pantxo <address@hidden> wrote:
Chip Wachob wrote
> Hello,
>
> I'm still very new to the Octave tool, so I apologize if this is a repeat.
> I searched the archives but probably didn't use the right keyword..
>
> I'd like to know if there is a simple way of creating a 'form' or dialog
> box in Octave that would allow me to change the value(s) of various
> variables, but retain the previous values of others. After changing the
> input, I'd like to click on a 'button' that would recalculate the results
> and update a plot window.
>
> The function that I'm using currently requires eight inputs.  I've
> successfully written a script (using input()) that will allow me to type
> in
> those inputs manually, each time, but usually I'm only changing one
> variable at a time and it sure would be a lot simpler if I could change
> that variable and 'update' the plot.
>
> I looked at the Java section (Section 37?) but I was not able to get any
> of
> the Java commands to work.  It seems that perhaps I'm missing a
> "Java-Octave" plugin, but when I attempted to install the plugin, it told
> me the host didn't exist..
>
> If there is an example out there that would allow me to learn how this is
> done, that would be great.
>
> Can anyone offer up a starting place?  A link to a tutorial or example
> would be great.
>
> BTW, I don't actually know Java or Python, and I'd prefer not to have to
> learn it in the midst of learning Octave if I don't have to.
>
> Version 4.0.3.  Both in Windoze and Ubuntu.
>
> Thank you in advance for your help,
>
> _______________________________________________
> Help-octave mailing list

> Help-octave@

> https://lists.gnu.org/mailman/listinfo/help-octave

Hi,

What you describe looks simple enough to be done with inputdlg, see "demo
inputdlg".
If you need a more fine control on the user interface you could use
uicontrol , which unfortunately currently has no demo but is expected to
work as in Matlab.

Pantxo



--
View this message in context: http://octave.1599824.n4.nabble.com/Creating-Forms-in-Octave-tp4679434p4679436.html
Sent from the Octave - General mailing list archive at Nabble.com.

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]