Message Boards Message Boards

0
|
3946 Views
|
7 Replies
|
0 Total Likes
View groups...
Share
Share this post:

A simply user interface

Posted 9 years ago

Hello! I'm new with Mathematica. I wrote a few of functions (in 6 variables). I want to create an interface so an user can entry inputs, click a botton and read the result... How can i do? Thank u so much, db

POSTED BY: domenico berti
7 Replies

This way:

Manipulate[a + b + c + d + e + f,
 {a, 0},
 {b, 0},
 {c, 0},
 {d, 0},
 {e, 0},
 {f, 0}, SaveDefinitions->True]

To check if SaveDefinitions is really needed in your case you can try the File > CDF Preview menu item.

POSTED BY: Gianluca Gorni
Posted 9 years ago

Thank u so much! DB

POSTED BY: domenico berti

Yes, one way is to double-click the cell bracket of the output. The input should get hidden behind the output. You may also delete the input altogether, convert the file to cdf and then give it to people. For that you may need to set the option SaveDefinitions->True, so that the output becomes self-contained.

POSTED BY: Gianluca Gorni
Posted 9 years ago

Thank you, but... where to set the option SaveDefinitions->True?

POSTED BY: domenico berti
Posted 9 years ago

Is it possible to hide the code so than user can only see the interfece where insert inputs and read outputs?

POSTED BY: domenico berti
Posted 9 years ago

Thank you so much Prof. Gorni.

POSTED BY: domenico berti

Something like this:

Manipulate[a + b + c + d + e + f,
 {a, 0},
 {b, 0},
 {c, 0},
 {d, 0},
 {e, 0},
 {f, 0}]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract