App designer and runtime compiler problem for creating exe file
显示 更早的评论
Hi,
I created an app with app designer and with Matlab 2021a version.
I also download Matlab Runtime (version 2021a).
When I try to package app, I check the "Runtime included in the app" as follows:

Then, I click package button and select "Specify Location" for choosing Run Time compiler files.

But when I choose the path for Runtime compiler (zip file) and click OK, this error appeared for me:

采纳的回答
更多回答(1 个)
Steven Lord
2023-3-9
1 个投票
I created an app with app designer and with Matlab 2021a version.
I also download Matlab Runtime (version 2021a).
If you downloaded the MATLAB Runtime from this page it appears you'll get the runtime for Update 8 of release R2021a. Are you using Update 8 of release R2021a to create the standalone application? I'm not 100% certain they need to match but I suspect that may be the cause of the error you received.
The fact that the documentation page for compiler.runtime.download (suggested by @Eric Delgado) specifically calls out "version and update level" supports my suspicion that they need to match.
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!