Hello,
I am currently working on a project that requires me to run a large number of simulations with different input variables. The setup works, and to try to speed up the simulations I want to run them in parallel with accelerator modes. The normal "accelerator" mode works fine, but I wanted to try Rapid Accelerator as well. For this, I have installed MinGW-64 through the official support package:
but when I try to compile my model I get the following error
"STD exception 'struct mwboost::wrapexcept<class mwboost::bad_lexical_cast>': 'bad lexical cast: source type value could not be interpreted as target' was caught."
This seems to happen no matter what model I try to compile, even example ones such as
openExample('sldemo_bounce')
I have tried performing a standalone install of MinGW-64 and added the path to the MW_MINGW64_LOC environment variable but the error persists, even though running
correctly configures MEX to use MinGW64
Can anyone provide some help? I found similar issues stating that "," should be replaced with "." in XML files, but I'm not using any XML files in my project and considering that an example project yielded that error as well I assume the issue is somwhere else.
For reference, I am using R2024b