Questions on the Computable Document Format (CDF) that allows Mathematica notebooks to be embedded within media for easy viewing and manipulation. Do not use this tag for questions on cumulative distribution functions.

learn more… | top users | synonyms (1)

1
vote
2answers
142 views

How to use SaveDefinitions when using Rasterized Frames for a ListAnimate?

In another post (Is it possible to prerender animation in Wolfram Mathematica?) I got a good way to prerender frames in order to get a smooth animation using ListAnimate. I need to save the Animation ...
0
votes
1answer
222 views

CDF player Inputfield list

I want to work with lists within the CDF player. A very simple example, which works inside a notebook is ...
4
votes
2answers
441 views

Function saved in a package won't load in the deployed CDF on startup

I wrote a function and saved it in a package. I saved a copy of the package in the Autoload folder too. I deployed a CDF that contains this function. When I open the CDF later, this function (which ...
6
votes
1answer
247 views

How to create a “standard” CDF programmatically?

How can I programmatically create a CDF which is similar to the CDFs created by File -> CDF Export -> Standalone...? ...
6
votes
3answers
328 views

Can one launch a Player Pro kernel independently of the front end

This question follows on from my earlier one, Seeking strategies to deploy a function securely without a front end. As it pursues a different track to solve the same problem it seemed distinct enough ...
13
votes
2answers
627 views

Dashboard TV with CDF Player

I'm experimentally trying to use CDF Player to create an Dashboard TV here in the company (like in the airport, see image below). I would like to configure the CDF file so It could be displayed in ...
2
votes
2answers
767 views

How to make a CDF document with dynamic content?

I would like to create a CDF document that uses dynamic content. The example code is: fun=x^2-1; InputField[Dynamic[fun]] And what I get is $Aborted instead of interactive document. How to make a ...
3
votes
3answers
252 views

Why does my code work one way in Mathematica and another way in PlayerPro?

I wrote the following simple code and deployed it as a CDF. Button["Ok", (SystemDialogInput["FileSave", ".PDF"])] If I ...
1
vote
0answers
96 views

octopress plugin for CDF reader?

I am looking for a way to embed CDFs in octopress blogs. Looks like there are a lot of moving parts such as Jekyll, Liquid, and Pygments. I'd be grateful for a native trailguide through the jungle.
5
votes
1answer
502 views

“Show” with Manipulate runs fine normally, but gives errors as a CDF

I've simplified my code to what can reproduce my error. Basically, I have two lines: ...
10
votes
2answers
424 views

Is it possible to embed a Youtube video in a CDF?

I'd like to embed a Youtube tutorial video inside a CDF. I'm guessing this is not possible as my search for how to do this has been in vain. I'm imagining an embedded Youtube video like one sees on ...
2
votes
1answer
177 views

How can I prevent graphics scaling with CDF notebook size?

Recently we saw how to produce xkcd-style graphs. I evaluated the same code and deployed the result to CDF. Everything is working fine except that, in the CDF notebook, the graph is scaled according ...
4
votes
1answer
236 views

How can I create a CDF application while using GUIKit?

I have created a notebook that uses GUIKit to create a user interface. The targeted user does not have Mathematica available so I thought about using the CDF player to convert the file if possible, ...
4
votes
0answers
280 views

Notebook manipulation to “Save as (HTML)”

In a previous question, I said that I wanted to display code as text in "Save as (HTML)". I am closer, but would like to ask the community for a better approach by telling the whole picture. I did my ...
19
votes
2answers
579 views

Publishing a Mathematica notebook

I am considering publishing a Mathematica notebook, used for analysis of some data, as a “supporting information” file alongside a research paper. What are the common practices for doing so, and what ...
2
votes
2answers
160 views

How can I remove double quotes in CDF?

I wrote a small code and deployed into CDF. ...
11
votes
2answers
723 views

Can Wolfram System Modeler models be published in CDFs?

Is it possible to publish or distribute Models generated with WSM in CDF format (to interested people that do not have Mathematica and/or WSM)
6
votes
2answers
335 views

A good way to manage code in a complicated CDF?

When doing complicated programming in a Mma notebook I define several functions that I use in my higher level funtions, and I use a "Subsection" cell for each definition. For example I might write: ...
7
votes
1answer
402 views

Guides for programming CDFs

Are there any tutorials for programming high-quality CDFs, like the interactive calculus textbook presented at wolfram.com? Mathematica's Help is extremely impressive but it really does not help much ...
1
vote
2answers
95 views

Using non-Graphics primitives when exporting to .cdf

I'm trying to embed a "Manipulate" applet I've created into a webpage by embedding a .cdf. I'm running into a problem with displaying outputs from functions I've written. Here is a simpler example ...
2
votes
2answers
200 views

How can I create CDF applications which adjust their screen dimensions based on the end-user's display configuration?

I am trying to make a CDF application that takes the user's system information (screen information) and adjusts the size of the application to give a seamless experience over different screens with ...
1
vote
1answer
295 views

Not able to load the package in CDF

I am facing a problem in loading the package. My code is working in Mathematica but after deploying it into CDF, it is unable to ...
2
votes
1answer
195 views

Controlling CDF window size

I want to ask how can I control the CDF WindowSize in such a way that the end user can minimise its size upto some extent only. ...
11
votes
1answer
333 views

Docked Cell lesson chooser

I have a question about creating a docked cell that will let me choose files. This is just as much a "design" question as a Mathematica question. I'm a math teacher and I want to bundle a bunch of ...
7
votes
1answer
302 views

How to wrap this dynamic code inside a Manipulate?

My goal is to set up a Ising-type simulation, where many fast simulation steps are done in the background, and a visualization of the current state is displayed as the simulation evolves, being ...
2
votes
1answer
212 views

How can I make CDF which uses user defined function

I have a user defined function which is called many times in the code. I want to ask that when I am deploying the code toCDF, I need to define that user defined ...
2
votes
2answers
264 views

How to clear variables in a manipulate without enabling dynamic content?

I have a series of variables that will plot the number of straight segments along a curve, thanks to the help from here on one of my previous questions. I can create a working Manipulate command from ...
5
votes
1answer
206 views

Simulating CoordinatesToolOptions (for CDF) & the Inflexibility of MousePosition

I got two lists of equal lengths, which I show in two ListPlots, arranged in a Column or ...
1
vote
1answer
150 views

How to switch between different CDFs in CDF Player?

I recently got a Mac. It has CDF Player, but not Mathematica. How do I get CDF Player to switch between different CDFs on OS X Lion? Edit I forgot to mention that I want to know how to switch ...
8
votes
1answer
361 views

Can JavaScript query the actually used dimensions of an HTML embedded CDF?

I have an HTML embedded CDF on my website. The size that is actually being used up by the single manipulate in the CDF changes when you use the CDF; you can make more sliders appear, and then it will ...
5
votes
1answer
666 views

Open data file from CDFPlayer?

Using a CDF program running in CDF Player, is it possible to use a system dialog box, or even just an Import statement such as Import["*.CSV"], to import data from a text or comma separated file on a ...
0
votes
1answer
165 views

How to enable-dynamics on CDF's on web?

Went through the wizard to export cdf /w embed code: The positions and sizing are correct, but there's no interactive side to it: data I'm using: ...
1
vote
1answer
177 views

Why are some Buttons not working in CDFPlayer?

I have two Buttons within a single panel. My problem is that after deploying that panel, the second Button is not working in the ...
4
votes
0answers
372 views

How to remove scroll bars from embedded CDF

I am using the deploy command to embed a CDF file in an HTML page. I am using the annoying but currently necessary fullscreen:'true' trick to reveal the "Enable ...
6
votes
4answers
310 views

How can I deploy only the output in Player Pro

I want to know how can I see only the output when I deploy the Mathematica notebook in Player Pro as in ...
3
votes
1answer
155 views

Can't run 2 CDF documents at a time on a Windows computer

I've rolled out a few CDF's to end users. See earlier posts: suppress message and which player platform. Now, an end user reports that they can't open more than one CDF document at a time. The ...
2
votes
1answer
174 views

how to deploy notebook into player pro

I want to ask how can I deployMathematica notebook into player pro. I know that online conversion to Mathematica player pro is ...
16
votes
4answers
1k views

In a CDF can I suppress or avoid “This file contains potentially unsafe dynamic content…”

I created a CDF to distribute to a single trusted user who both knows and trusts me and everything I make for them. I downloaded the CDF player and the CDF to one of their computers. The CDF works ...
13
votes
1answer
600 views

CDF, Player, PlayerPro, or something else?

I have a notebook, which contains a dozen or so custom functions all leading to the production of a simple static report, something like this: I want to distribute this to a single user who will ...
3
votes
3answers
692 views

How can I change the CDF which imports the data and uses it, without execution of code

I am making an application which first imports the data from the Excel file and then uses it in the deployment of a CDF. But is it possible to change the data of the Excel file and see its ...
1
vote
1answer
1k views

$RecursionLimit::reclim: Recursion depth of 256 exceeded. >> error in CDF deployment

When I am executing this code in notebook, there is no error but when I am deploying it in CDF, this error is coming. $RecursionLimit::reclim: Recursion depth of 256 exceeded. >> The code is ...
11
votes
1answer
193 views

ListInterpolation causing .cdf security problems?

I've made a simple .cdf that makes a function from a list of data I've provided in table form (using ListInterpolation) and ...
20
votes
2answers
896 views

When to make (file.nb) instead of (file.cdf)?

I started with File > New > FreeCDF so I can save my work in a format compatible with the CDF Player. I can use Mathematica to make new cells, evaluate input and so in the CDF file. What are the ...
3
votes
2answers
206 views

how to use button in place of checkbox

I am novice to Mathematica and want to ask how can I use Button in place of Checkboxes. I have used 4 ...
37
votes
3answers
2k views

Automatically check student answers in tests

I am a physics teacher and I am looking for a way to create homework assignments within Mathematica so that each problem has an input field that students can use to check their answers. For example, ...
3
votes
2answers
495 views

MathLink and CDF

So far I have read that some things are not supported in CDFs. Istvan-zachar mentioned very useful things in his post. Unfortunately he mentioned that MathLink operations, including J/Link and ...
12
votes
1answer
517 views

Mathematica Source-Code Control for CDF files in multi-user scenario

Q: I'm putting together a strategy on how its best to maintain cdf documents with multiple users in a source code repository. Ideally I wish for users to create (unit tested) cdf's with data and ...
1
vote
1answer
275 views

Using Mathematica or WebMathematica to develop interactive, crowdsourced timeline visualizations

I aim to develop a series of timeline ZUI visualizations which will display a set of events similar to Wolfram's own Timeline of Computable Knowledge, but that can also handle crowdsourced uploading ...
6
votes
2answers
650 views

CDF file posted in WordPress won't run

I just installed Mathematica 8.0.4.0, which has a CDF Deployment Wizard. This is supposed to make it easy to post a CDF file on a WordPress blog. I tried it, and it indeed was easy; the problem is ...
5
votes
1answer
538 views

Trouble with CDF on Mac OSX

My problem seems to be very strange. I've created a CDF file and am trying to upload it to a Google site, and I've been almost completely successful! My only problem is that I cannot correctly ...