The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: DDE interface problem with excel 2007 - 64 bit system
Replies: 3   Last Post: Jan 17, 2013 8:12 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Olivier Ripoll

Posts: 1
Registered: 9/25/09
Re: DDE interface problem with excel 2007 - 64 bit system
Posted: Sep 25, 2009 9:31 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Tom Sweetland" <> wrote in message <guk7qt$5na$>...
> I just upgraded to windows vista 64 and excel 2007. I am running matlab 2007b.
> I can run this script once or twice, but ultimately it refuses to execute the ddeinit line correctly. I have to exit matlab and restart for it to work again and this isn't always consistent - sometimes i have to restart the entire computer.
> I haven't had any similar problems running xp 32 with excel 2007 and matlab2007b in the past.

Sorry to resurrect that thread, but I've had this very same issue with 2008 and 2009, trying to connect between Matlab and Zemax using the MZDDE toolbox: Matlab 32 bits always works, and Matlab 64 bits works the first time and then cannot "ddeinit" any more (the channel become invalid). It needs to be restarted to work again.

I'm kind of glad to see that someone can reproduce with excel, as Zemax is not a very common piece of software. I also note that a similar bug was reporter in June with 2008b ("1-8K73AV"). The real problem is that mathworks refuses to fix the bug because DDE is obsolete. But to communicate with many professional software in my field, there is only DDE. COM is just not implemented (great "compatibility" thinking from Mathworks).

So if someone had an idea on some voodoo to workaroudn the bug. My only workaround is to install the 32 and 64 bits versions, and use th 32bits when I need DDE.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.