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

16 次查看(过去 30 天)
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!

回答(1 个)

Sandra Zlabinger
Sandra Zlabinger 2018-12-17
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

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by