Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export field of an array with N port, considering the excitation mode #11

Open
lisaab1 opened this issue Apr 13, 2023 · 1 comment
Open

Comments

@lisaab1
Copy link

lisaab1 commented Apr 13, 2023

Hello I am using the interface: https://it.mathworks.com/matlabcentral/fileexchange/72228-tcstinterface-cst-studio-suite-to-matlab-interface.

But I not able to export the files because there is also the information about the excitation mode in CST and the interface has not implement it inside.
Like this: 'Farfields\farfield (f=28.5) [1(1)]'

Thank you!
Lisa

@korvin011
Copy link
Owner

RegExpPattern variable can be changed to
RegExpPattern = ['.*\((?:f\s?=\s?)?', '((?:' NumberMatch ')|(?:broadband))', '\)\s*\[', '(\d+)(?:\(\d+\))?', '\]'];
It should solve the issue, I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants