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

CST vs. MatLab

261 views
Skip to first unread message

Stefano

unread,
May 4, 2011, 10:36:05 PM5/4/11
to
Hi,

I'm trying to optimize a optical with CST Studio Microwave and in order to do this I would like to use a GA and topological optimisation. Both are iterative processes and Matlab has an awesome GA library, so I would like to set down my algorithms in Matlab and let the simulation running in CST (which has a VBA macro editor included), but I can't figure it out how to let Matlab command CST.

There is a well done library (CSTResultReader.dll) to let MatLab extract the files from the simulation once the simulation has already done but I will need to run some thousands of simulation so I would like to automate the process.
What I couldn't figure it out is how run a macro in CST from Matlab.
My intent is building a structure in CST (I did a macro in CST for that), run the simulation in CST, extract the data to Matlab and process it in Matlab. Everything possibly by passing some variables (mainly string) from Matlab to CST.

Can someone help? I've seen the command "invoke" but I couldn't understand which kind of arguments it needs.

Thanks a lot!

-ste-

P.s. This is my first post... Hi to everybody!

Steven_Lord

unread,
May 5, 2011, 10:47:50 AM5/5/11
to

"Stefano " <stev...@berkeley.edu> wrote in message
news:ipt2el$dcv$1...@fred.mathworks.com...

You'd probably want to contact the makers of CST to ask them about how to
control CST from other languages. If it has a COM interface then you should
be able to control it using the COM support in MATLAB:

http://www.mathworks.com/help/techdoc/matlab_external/brd4at8.html

If not they may have other suggestions on how to do this. If they're not
familiar with MATLAB, point them to this documentation page which show some
of the main techniques that MATLAB can use to interface with other
applications.

http://www.mathworks.com/help/techdoc/matlab_external/bp_kqh7.html

> P.s. This is my first post... Hi to everybody!

Welcome to CSSM.

--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

frank...@gmail.com

unread,
Oct 9, 2013, 12:12:48 AM10/9/13
to
Hey, I'm doing the similar thing, can we share some information and discuss further? I also want to automate the process of CST using MATLAB, but not succeeded yet. You may email me to
frankliuao at gmail.com

Many thanks,
Ao

Konstantin Frolov

unread,
Mar 24, 2015, 3:05:48 AM3/24/15
to
I have an article in which the question is raised. If the problem is urgent, please contact me rnj2000 at me.com

Nikit Gadag

unread,
Apr 20, 2017, 4:47:10 AM4/20/17
to
Hello sir/madam
i have a similar work for my master thesis.
is it possible to share the article with me?


"Konstantin Frolov" wrote in message <mer2c6$h03$1...@newscl01ah.mathworks.com>...

Nikit gadag

unread,
Apr 20, 2017, 8:20:04 AM4/20/17
to
Hello Sir / Madam
I have a similar task for my thesis work.
0 new messages