can deployed application run the 'run' function?
7 次查看(过去 30 天)
显示 更早的评论
we'd like to build a matlab exam system. In this system, we run the script file and compare the output to score the script. The gui we run in matlab can realize this, but when we doploy this gui to a exe, we can not run the script file.Plz help,thanks
2 个评论
采纳的回答
Voss
2022-1-23
Unfortunately, run() is not supported in deployed applications.
4 个评论
Steven Lord
2024-5-9
From the documentation "MATLAB Runtime only works on MATLAB code that was encrypted when the deployable archive was built. Any function or process that dynamically generates new MATLAB code will not work against MATLAB Runtime."
So if you want your deployed application to run a script that was not present when it was compiled, that's not possible.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!