Compiler ignores MCC options
Dear,
Since I updated to r2025a, I’m encountering issues with the compiler.build.standaloneWindowsApplication method.
In the buildOpts struct I parse to this function, I specify `AdditionalFiles`, but they are not included in the build (nor in the compiled package).
I did some debugging on the builder, and both builder.MccInfo.MccInput as builder.MccInfo.MccCommandString show the Additional files correctly, but once premcc, mcc and postmcc are called, the files are never added to the `FilesToBeDeployed` array (except the icon, splashscreen, and executable).
It seems to be that MCC is ignoring the input commands it receives. With r2024b, this issue did not exist, and the AdditionalFiles were added succesfully at each compile.
How can I fix this?
Best Regards,
JelleDear,
Since I updated to r2025a, I’m encountering issues with the compiler.build.standaloneWindowsApplication method.
In the buildOpts struct I parse to this function, I specify `AdditionalFiles`, but they are not included in the build (nor in the compiled package).
I did some debugging on the builder, and both builder.MccInfo.MccInput as builder.MccInfo.MccCommandString show the Additional files correctly, but once premcc, mcc and postmcc are called, the files are never added to the `FilesToBeDeployed` array (except the icon, splashscreen, and executable).
It seems to be that MCC is ignoring the input commands it receives. With r2024b, this issue did not exist, and the AdditionalFiles were added succesfully at each compile.
How can I fix this?
Best Regards,
Jelle Dear,
Since I updated to r2025a, I’m encountering issues with the compiler.build.standaloneWindowsApplication method.
In the buildOpts struct I parse to this function, I specify `AdditionalFiles`, but they are not included in the build (nor in the compiled package).
I did some debugging on the builder, and both builder.MccInfo.MccInput as builder.MccInfo.MccCommandString show the Additional files correctly, but once premcc, mcc and postmcc are called, the files are never added to the `FilesToBeDeployed` array (except the icon, splashscreen, and executable).
It seems to be that MCC is ignoring the input commands it receives. With r2024b, this issue did not exist, and the AdditionalFiles were added succesfully at each compile.
How can I fix this?
Best Regards,
Jelle compiler, r2025a MATLAB Answers — New Questions