What Happened?
Currently, when you call the compiled C++ codes with unsupported options (like some source flags, for example), the code runs without these options and no message is reported. This means the C++ and MATLAB codes don't agree (as they are run with different options, unbeknown to the user). An audit of the unsupported options should be complete first, and then checks added to the save to disk functionality, with appropriate error messages.
How Can We Reproduce?
As an example, run MATLAB and C++ simulations with the option medium.alpha_mode = 'no_dispersion'. This isn't supported in the C++ code, so the answers will be different.
Operating System
Windows
Release Version
1.4 (Default)
MATLAB Version
2024b
What Happened?
Currently, when you call the compiled C++ codes with unsupported options (like some source flags, for example), the code runs without these options and no message is reported. This means the C++ and MATLAB codes don't agree (as they are run with different options, unbeknown to the user). An audit of the unsupported options should be complete first, and then checks added to the save to disk functionality, with appropriate error messages.
How Can We Reproduce?
As an example, run MATLAB and C++ simulations with the option
medium.alpha_mode = 'no_dispersion'. This isn't supported in the C++ code, so the answers will be different.Operating System
Windows
Release Version
1.4 (Default)
MATLAB Version
2024b