Can anybody please help me to run a global macro (e.g. Run Macro>> Materials>>Define Human Material Properties) from matlab? in CST help there is a command
RunMacro ( string macroname )
which in matlab will should be (from my idea)
cst = actxserver('CSTStudio.application');
mws = invoke(cst, 'NewMWS');
invoke(mws, 'RunMacro', 'macroname')
but matlab can not find the macro even though I put the path of the macro in the installation path of CST.