MATLAB R2025b Compiler mcc Parameters
Show older comments
MATLAB R2025 (I'm using b) has dramatically changed the Compiler format and I'm having trouble finding equivalent functionality to previous versions. Previously, in "Settings" there would be a field for "Additional parameters passed to mcc". I had found that the following was required for applications that used Instrument Control Support Packages (e.g., Keysight):
-a C:\ProgramData\MATLAB\SupportPackages\R2024b\toolbox\instrument\supportpackages\keysight
I cannot find a similar functionality in the R2025 Compiler GUI. Am I missing something somewhere? Do I for some reason no longer need to include this? Just trying to make sure that my applications will continue to run after migrating to R2025b.
Answers (1)
The <Additional Files> switch is still available to the mcc compiler; for some totally unfathomable reason, <this Mathworks Staff link> says it was left out of the GUI inteface by design. How in the world could have come to that decision is truly mind boggling.
First thing would be to just try to compile as is; it'll let you know if it can't find something needed on linking. I'd suspect that will be the case without the additional library unless there's somewhere else a checkbox about the needed external library.
8 Comments
Brian
on 10 Mar 2026 at 19:20
Submit this to Mathwor ks as an official support ticket item at <Product Support Page>. It seems there ought to be something addressed in the IC TB doc on the subject.
Brian
on 10 Mar 2026 at 19:55
dpb
on 10 Mar 2026 at 20:21
No argument whatsoever on the fact the reworked interface and requirement for projects has been a major regression, at least initially. If one doesn't formally complain and get these issues and suggested improvements, however, the chances of specific issues getting picked up and in the official bug/enhancement database(s) are minimal; even if a Mathworks staffer sees this, it's not guranteed they will go the extra mile.
Brian
on 10 Mar 2026 at 20:50
Image Analyst
on 11 Mar 2026 at 12:53
Applets inside MATLAB that have their own little GUI have never been allowed to be included in a standalone executable. For example, your compiled program cannot call any of the applets on the Apps tab of the tool ribbon.d
I use the -a option in a script I have that compiles my programs and does a few other things, but it has to be something that can be included.
Brian
on 11 Mar 2026 at 15:00
dpb
29 minutes ago
I think the only definitive answer to this question is to ask Mathworks as an official support request at <Product Support Page>.
Categories
Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!