Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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?

share|improve this question
    
You're not doing anything wrong. FreeCDF only supports numbers in input fields, see here: wolfram.com/cdf/faq/details-for-mathematica-programmers.html –  Szabolcs Mar 15 '13 at 19:04
    
I suspected that, thank you anyway. –  Giorgio Mar 15 '13 at 19:10
1  
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) –  Szabolcs Mar 15 '13 at 19:18
    
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. –  kale Mar 15 '13 at 19:42
    
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 –  bobthechemist Jan 8 at 15:47
add comment

1 Answer 1

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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