Message Boards Message Boards

Manipulates don't show their value in published notebook in WolframCloud

I have a notebook with a few manipulates. I made all the cells initialization cells. when I open the notebook in WolframCloud, it takes a while to compute everything (20 seconds maybe), but everything displays properly. When I publish the notebook, in the result, all the manipulate are wrong. the plots don't show the functions, and others show the function name rather than the result. What is going on?

Thank you, Luc

POSTED BY: Luc Barthelet
4 Replies

Weird. Today everything works... Maybe someone fixed something in the back end..

POSTED BY: Luc Barthelet

Here is the code:

LinearSegmentVertical[x_,load_]:=Block[{a,b}, If[x<0.5,2x*load,
First[ (a x + b) /. Solve[{a*0.5+b == load, a+b 1},{a,b}] ]  ]]; 

Manipulate[ Plot[ LinearSegmentVertical[x,load],{x,0,1}], {{load,0.3},0,1}]

the result in the browser...

What I expect to see from the desktop...

POSTED BY: Luc Barthelet

How are you publishing the notebook to Cloud?

You might want to use SaveDefinitions -> True option of the Manipulate function in your code.

POSTED BY: Damanjit Singh

Luc, i there some minimal toy example you can showcase, with public permissions (so we can see the errors) and source code (so we can see what actually meant to be published)?

POSTED BY: Sam Carrettie
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract