MATLAB R2025b Compiler mcc Parameters
古いコメントを表示
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.
回答 (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 件のコメント
Brian
2026 年 3 月 10 日 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
2026 年 3 月 10 日 19:55
dpb
2026 年 3 月 10 日 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
2026 年 3 月 10 日 20:50
Image Analyst
2026 年 3 月 11 日 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
2026 年 3 月 11 日 15:00
dpb
2026 年 3 月 13 日 15:25
I think the only definitive answer to this question is to ask Mathworks as an official support request at <Product Support Page>.
カテゴリ
ヘルプ センター および File Exchange で Instrument Control Toolbox Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!