3
$\begingroup$

I've been working with FreeCDFs in Mathematica 10 and it has been going fine as long as I do not pull from a database or access local files. I recently purchased the Mathematica 10.2 Enterprise Edition because I was under the impression that I would be able to create CDFs that would access MySQL. When I try to create my CDFs and embed them into my HTML code when I open up the browser I see the manipulate window but where I should see a table of computed data I just see the definition of my function and variables the manipulation should be running through. How can I get my CDFs to pull MySQL data and run it through my function?

$\endgroup$
4
$\begingroup$

I contacted wolfram and what I needed to do was make sure that all my code was within the Manipulate and after defining my changing variables the rest of my code lies within a Initialization command. You also must have the Enterprise edition to make CDFs with DatabaseLink.

enter image description here

$\endgroup$
0
$\begingroup$

The free CDF player can not import data. That can only be done by the CDF player pro. Did you try to use SaveDefinitions->True within Manipulate? That should store the needed data for Manipulate inside the CDF.

$\endgroup$
  • $\begingroup$ I have tried that but it crashes Mathematica because of the amount of data it would need to store. Would anyone trying to access my embedded CDF have to have CDF Player Pro to use my interactive function? @Elsibär $\endgroup$ – hmm1050 Aug 20 '15 at 14:37
  • $\begingroup$ On a Wolfram Blog posting it says "Enterprise Edition allows you to create EnterpriseCDF files, which provide enhanced capabilities that can be deployed via the free Wolfram CDF Player.". So I presume that Enterprise Edition produces a type of CDF that makes the free CDF Player behave as if it is CDF Player Pro. $\endgroup$ – Stephen Luttrell Aug 21 '15 at 14:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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