MATLAB R2025b Compiler mcc Parameters
Mostrar comentarios más antiguos
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.
Respuestas (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 comentarios
Brian
el 10 de Mzo. de 2026
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
el 10 de Mzo. de 2026
dpb
el 10 de Mzo. de 2026
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
el 10 de Mzo. de 2026
Image Analyst
el 11 de Mzo. de 2026
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
el 11 de Mzo. de 2026
dpb
el 13 de Mzo. de 2026
I think the only definitive answer to this question is to ask Mathworks as an official support request at <Product Support Page>.
Categorías
Más información sobre Instrument Control Toolbox Supported Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!