Packaging apps that are dependent on custom toolboxes.
8 次查看(过去 30 天)
显示 更早的评论
I'm trying to wrap up an App in a package and it includes options that are dependant on a couple of custom toolboxes I have written.
When it analyses the app the packaging dialog appears to suck in all the functions from the custom toolboxes. This means that the app ends up being larger than necessary and is fixed in it's version. If I then update my custom toolbox then the packaged App will not see or get and bug fix or feature update as it has it's own older version of the function embedded within it. I don't want to be re-releasing the App everytime I update the custom toolbox.
The App packaging dialog has a section for identifying dependent toolboxes but this appears to be limited to Mathworks defined toolboxes.
Is there a way to package an App so that it does not include all the custom toolbox functions and just flags this custom toolbox as a dependancy?
0 个评论
回答(1 个)
Steven Lord
2022-12-15
Are you trying to deploy this app using MATLAB Compiler but want it to call MATLAB code from your custom toolbox without including that toolbox code in the MCR? That's not going to work.
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."
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!