Thread Subject: mupad notebook engine synchronization

Subject: mupad notebook engine synchronization

From: Melissa

Date: 3 Sep, 2010 01:04:05

Message: 1 of 2

Hi all,

I have a mupad notebook that I want to access from matlab. I create a handle to the notebook:

nb=mupad('test_nb.mn');

I know I need to synchronize the mupad notebook with its engine before I can access any of the equations I have in there. All the documentation I read says to go into the notebook menu and choose 'evaluate all'. And it I do this, it works fine.

My question is: is there a way to automatically get the notebook to synch so that I can call a bunch of stuff from matlab without having to stop and do "evaluate all" from the notebook menu? or if not automatically, is there a function call or something that I can put in my matlab script to make the notebook synch with its engine?

thanks,
melissa

Subject: mupad notebook engine synchronization

From: Ben Hinkle

Date: 3 Sep, 2010 18:42:22

Message: 2 of 2

Unfortunately there is no MATLAB command yet which will force the MuPAD notebook to "evaluate all". We have logged the enhancement request in our tracking system.

-Ben

"Melissa " <nischan@ll.mit.edu> wrote in message <i5phi5$18c$1@fred.mathworks.com>...
> Hi all,
>
> I have a mupad notebook that I want to access from matlab. I create a handle to the notebook:
>
> nb=mupad('test_nb.mn');
>
> I know I need to synchronize the mupad notebook with its engine before I can access any of the equations I have in there. All the documentation I read says to go into the notebook menu and choose 'evaluate all'. And it I do this, it works fine.
>
> My question is: is there a way to automatically get the notebook to synch so that I can call a bunch of stuff from matlab without having to stop and do "evaluate all" from the notebook menu? or if not automatically, is there a function call or something that I can put in my matlab script to make the notebook synch with its engine?
>
> thanks,
> melissa

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com