I recently upgraded to R2024b. This code compiles to .mex or C/C++ without issues using R2018a on a 32gB machine.
However, with R2024b, compiling to C/C++ runs out of memory on a 65gB machine then crashes.
I use the Matlab Coder App to compile to C++, and this code compiles to .mex successfullly using R2024b, but crashes on compile to C/C++
Here's the Test Bench:
Packet = OFDMRxR1(v1,v2,v3,P1);
BitRate = 1153.00
Packet = □□□□Kabcdefghijklmnopqrstuvwxyz01234567899876543210zyxwvutsrqponmlkjihgfedcbabAB□□□
Program Termination: Successful
CODEGEN requires a MATLAB Coder license.
Code generation failed: To view the report, open('codegen/mex/OFDMRxR1/html/report.mldatx')