| 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: , |
|