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 function also. I tried it using DynamicModule and With. But none is working. How should I give that user defined function so that it can be deployed into CDF.
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
|
|||
|
Here is a small example. I saved it to CDF and it works as is in the CDF. It has small functions in the Notice that this is not much different from putting all your functions in the
|
|||
|
|

Initializationoption. See this QA: mathematica.stackexchange.com/questions/9476/…. – kale Aug 30 '12 at 12:49