2
$\begingroup$

I am trying to publish a cdf document, but I'm having some problems with the function Manipulate with this code:

Manipulate[x + 1, {x}]

In Mathematica, when I set x = d + d^3 in the input field, I get this output:

Manipulate[x + 1, {{x, d + d^3}}]

This is what I want. However, it seems that the cdf player is only able to evaluate the expression x + 1 when x is a number and not a more complicated expression. Is this true or I am doing something wrong?

$\endgroup$
5
  • $\begingroup$ You're not doing anything wrong. FreeCDF only supports numbers in input fields, see here: wolfram.com/cdf/faq/details-for-mathematica-programmers.html $\endgroup$
    – Szabolcs
    Commented Mar 15, 2013 at 19:04
  • $\begingroup$ I suspected that, thank you anyway. $\endgroup$
    – Giorgio
    Commented Mar 15, 2013 at 19:10
  • 1
    $\begingroup$ I think this restriction is there to prevent people from making a CDF that could evaluate arbitrary Mathematica code. (And thus using the CDF player as a free Mathematica) $\endgroup$
    – Szabolcs
    Commented Mar 15, 2013 at 19:18
  • $\begingroup$ Currently, the only way around these limitations of the FreeCDF player are either to get PlayerPro (which is a per license cost) or an Enterprise version of Mathematica in which you can "super-sign" CDFs to achieve more functionality. $\endgroup$
    – kale
    Commented Mar 15, 2013 at 19:42
  • $\begingroup$ I'll copy @kale's comment as an answer since I could not find an answer that gets straight to the point. This question, however, has extensive discussion about CDFs $\endgroup$ Commented Jan 8, 2014 at 15:47

1 Answer 1

2
$\begingroup$

As mentioned in the comments, the behavior you are observing is expected.

Currently, the only way around these limitations of the FreeCDF player are either to get PlayerPro (which is a per license cost) or an Enterprise version of Mathematica in which you can "super-sign" CDFs to achieve more functionality.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.