Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Dynamic updating of variables in Manipulate' topicStudent Support Forum > General > "Dynamic updating of variables in Manipulate"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
07/07/12 10:08pm

Manipulate localizes its variables inside a DynamicModule. So you either (1) have to make Manipulate not localize its variables or (2) stick all references to a inside the Manipulate.

Try either of the following: Add the option (1)

LocalizeVariables -> False

or the option (2)

Initialization :> (s = {{y -> Function[{x}, C[1] + Sin[a x]]}})

before the last "]" of the Manipulate. (In the second case, omit the definition of s before the Manipulate. The SetDelayed, "s :=...", isn't needed in your simplified example.)

URL: ,

Subject (listing for 'Dynamic updating of variables in Manipulate')
Author Date Posted
Dynamic updating of variables in Manipulate Jbb 07/07/12 4:11pm
Re: Dynamic updating of variables in Manipulate Michael 07/07/12 10:08pm
Re: Dynamic updating of variables in Manipulate yehuda 07/08/12 2:59pm
Re: Re: Dynamic updating of variables in Manipu... JBB 07/15/12 10:19am
Re: Re: Re: Dynamic updating of variables in Ma... JBB 07/16/12 5:00pm
Re: Dynamic updating of variables in Manipulate Jbb 07/09/12 00:54am
Re: Dynamic updating of variables in Manipulate JBB 07/18/12 5:39pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic