CST MWS Studio and CSTResultReader.dll
Hello. I did a lot of research about this without finding any solution.
If anyone has any similar experience on accessing results using the CSTResultReader.dll I'll be glad to use his help.
I'm running simulations on a log-periodic antenna so I'm insterested in exporting the broadband characteristics into MATLAB.
This is happening automatically for, lets say 2000 iterations.
While I have successfully accessed 1D Results (SWR, Zin, S11 for ex.), I have trouble on Farfields.
When I try to access farfield results, my script finds the treepath string of the simulated results (Farfields\farfield (broadband) [1]) successfully
but the following Farfield functions (CST_GetFarfieldResultSize , CST_GetFarfieldResultField ) return the error 5:
"The requested result does not correspond to the result stored in the given result tree item name." not allowing me access.
My script seems fine as i copied most of it from the example given in ResultReader folder (Demo_Farfields.m).
Any help is appreciated, thank you.
I made it work with an older CST version (2011). Doesn't work in 2015.