Building Standalone Applications with Limited Library Usage
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Hi I built an app in matlab. Now I want to deploy it for standalone application. Inside the app, I used some matlab built-in math functions like symbolic solve(), log() and so on. I want to add the library or toolbox that contains the definition of these functions without adding unnecessary run-time libraries to reduce the size of the app as much as possible. Where I can find it? and What is the name of that library? Thank you
0 个评论
回答(1 个)
Walter Roberson
2017-11-26
1 个投票
Nothing in the Symbolic Math library can be compiled or have C/C++ code generated.
If the form of the equation is known ahead of time, you need to pre-solve it with appropriate symbolic coefficients, and use matlabFunction with 'file' output to generate a .m function to find the solution(s) numerically; you would call upon that .m in your deployed app.
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!