How simos421/cst-matlab-api works
Project type and purpose
• This is an open-source MATLAB API/library that automates CST Microwave Studio model creation, simulation setup, execution, and result extraction from within MATLAB.
• The README confirms it provides functions to define geometry, materials, solvers, and post-process simulation outputs via MATLAB scripts.
File structure
• Top-level directories and roles:
• Examples/: ready-to-run scripts illustrating end-to-end workflows
• Home/: “housekeeping” scripts (project creation, saving, quitting, unit definitions)
• Materials/: wrappers to define common dielectric/conductive materials in CST
• Simulation/: functions establishing solver types (frequency/domain, time-domain) and excitations/ports/monitors
• PostProcessing/: functions to export or load S-parameters, far-field results, touchstone files
• No front-end or server; it’s a modular MATLAB codebase invoking CST’s COM API under the hood.
• README and .m filenames indicate a wrapper architecture: each .m calls a CST COM method.
README for additional insights
• Emphasizes step-by-step usage in Examples/MicrostripExample.m
Elements
• Clear labels: “MATLAB Host,” “CST COM Interface,” each module folder as a subsystem
• From Example → Home → Materials → Modeling → Simulation → CST Engine
• From CST Engine → PostProcessing → Output