Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Export Dynamic Matrix to XLS

3 views
Skip to first unread message

Asrhael

unread,
Jan 3, 2010, 3:40:31 AM1/3/10
to
Hello, im using Mathematica v7.

I am developing an application that manipulates and produces a table
in excel. But then, by applying the Dynamic command, attempting to
export the table published previously only exported the command itself
(Dynamic[]).

There is any way to export the table "updated", without having to
upgrade the notebook via the option on the menu?

Thank you very much, happy holidays.
Francisco Ch=E1vez

David Reiss

unread,
Jan 4, 2010, 6:02:30 AM1/4/10
to
Make use of the function Setting to get the value of the Dynamic
object. Here is a simple example:

In[6]:= y=Dynamic[x]

Out[6]= 9

In[7]:= x=9

Out[7]= 9

In[8]:= FullForm[y]

Out[8]//FullForm= Dynamic[x]

In[9]:= FullForm[Setting[y]]

Out[9]//FullForm= 9


--David
http://scientificarts.com/worklife

John Fultz

unread,
Jan 5, 2010, 1:45:49 AM1/5/10
to
On Sun, 3 Jan 2010 03:44:04 -0500 (EST), Asrhael wrote:
> Hello, im using Mathematica v7.
>
> I am developing an application that manipulates and produces a table
> in excel. But then, by applying the Dynamic command, attempting to
> export the table published previously only exported the command itself
> (Dynamic[]).
>
> There is any way to export the table "updated", without having to
> upgrade the notebook via the option on the menu?
>
> Thank you very much, happy holidays.
> Francisco Ch=E1vez

On object wrapped in Dynamic evaluates to that object wrapped in Dynamic. It's
a bit like wrapping that object in Hold[]...the exporters won't really
understand the wrapper or know what to do with it. You need to pass Export[]
the data directly, not the data enmeshed in other structures like Dynamic or
Manipulate.

You should read both the "Introduction to Dynamic" and "Advanced Dynamic
Functionality" tutorial (referenced at the end of the documentation on Dynamic),
as well as my MathGroup post here...

http://forums.wolfram.com/mathgroup/archive/2009/Feb/msg00424.html

...if you want to more deeply grok exactly how Dynamic works and how it
interacts with the system.

Sincerely,

John Fultz
jfu...@wolfram.com
User Interface Group
Wolfram Research, Inc.

Francisco Javier Chávez Contreras

unread,
Jan 6, 2010, 6:00:50 AM1/6/10
to
You are impressive David!.

I sincerely thank you very much, as you say I applied the Setting[] command
successfully and exported dynamic data table successfully.

Regards,

*Francisco Ch=E1vez Contreras*

2010/1/4 David Reiss <dbr...@gmail.com>

> Make use of the function Setting to get the value of the Dynamic
> object. Here is a simple example:
>
> In[6]:= y=Dynamic[x]
>
> Out[6]= 9
>
> In[7]:= x=9
>
> Out[7]= 9
>
> In[8]:= FullForm[y]
>
> Out[8]//FullForm= Dynamic[x]
>
> In[9]:= FullForm[Setting[y]]
>
> Out[9]//FullForm= 9
>
>
> --David
> http://scientificarts.com/worklife
>
>
> On Jan 3, 3:40 am, Asrhael <asrh...@msn.com> wrote:

David Reiss

unread,
Jan 8, 2010, 4:13:00 AM1/8/10
to
Great! I am pleased that this worked as advertised!

Best regards,
David

On Jan 6, 6:00 am, Francisco Javier Ch=E1vez Contreras


<francisco.cha...@usach.cl> wrote:
> You are impressive David!.
>
> I sincerely thank you very much, as you say I applied the Setting[] command
> successfully and exported dynamic data table successfully.
>
> Regards,
>
> *Francisco Ch=E1vez Contreras*
>

> 2010/1/4 David Reiss <dbre...@gmail.com>


>
>
>
> > Make use of the function Setting to get the value of the Dynamic
> > object. Here is a simple example:
>
> > In[6]:= y=Dynamic[x]
>
> > Out[6]= 9
>
> > In[7]:= x=9
>
> > Out[7]= 9
>
> > In[8]:= FullForm[y]
>
> > Out[8]//FullForm= Dynamic[x]
>
> > In[9]:= FullForm[Setting[y]]
>
> > Out[9]//FullForm= 9
>
> > --David
> >http://scientificarts.com/worklife
>
> > On Jan 3, 3:40 am, Asrhael <asrh...@msn.com> wrote:

0 new messages