Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Making a user interface

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99476] Re: [mg99391] Making a user interface
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 6 May 2009 05:26:45 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Manipulate[
 exec = And[Calculate, x =!= Null,
   y =!= Null, z =!= Null];
 If[exec,
  Total[{x, y, z}],
  "Enter Input"],
 {x, ControlType -> InputField},
 {y, ControlType -> InputField},
 {z, ControlType -> InputField},
 {{Calculate, False}, {True, False}}]

Uncheck Calculate to stop updates.


Bob Hanlon

---- Jason <jbiggs2 at uoregon.edu> wrote: 

=============
I have written a program in mathematica that will do a set of calculations based on a set of parameters provided, and I'd like to make it as easy as possible for others to use it.

What I'd like ideally is for there to be a set of input fields, little white boxes on a colored background for example, for the user to put the values of the parameters. Then they press a button and the calculations proceed, at the end of which graphs pop up and data files are exported.

I have used Manipulate, but in this case the calculations are intensive and take many hours, so I don't want it to try and dynamically update the results when new fields are entered - only when the button is pressed.  

Thanks



  • Prev by Date: Re: Making a user interface
  • Next by Date: Re: defining consecutive variables
  • Previous by thread: Re: Making a user interface
  • Next by thread: Re: Making a user interface