The problems of EES (Engineering Equation Solver) interacting with Matlab by using Dynamic Data Exchange (DDE). 'The first argument 'channel' is not valid.'

16 visualizzazioni (ultimi 30 giorni)
I would like to use the optimization toolbox of Matlab to optimize the results obtained by EES. The Dynamic Data Exchange is used. But, after a number of loops, suddenly the channel becomes invalid. 'The first argument 'channel' is not valid.' Problem is: To Interact with Matlab, DDE is required. Is there an explanation/solution for this problem?
I searched on the Internet, the technicians from Matlab give an answer as follows. 'For all MATLAB versions > R2007b, all development work for the Dynamic Data Exchange(DDE) server and client was stopped. Mathworks instead, provides a MATLAB interface to the COM technology.'
Could you help me solve this problem? I will be so thankful!

Risposte (1)

Sandra Zlabinger
Sandra Zlabinger il 17 Dic 2018
Hi,
I stumbled upon your post while doing some research on the EES Matlab interface. This post might help you: https://de.mathworks.com/matlabcentral/answers/95427-why-do-i-receive-the-error-the-first-argument-channel-is-not-valid-when-using-the-function-ddere

Categorie

Scopri di più su App Building in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by