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

回答 (1 件)

Walter Roberson
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.

この質問は閉じられています。

質問済み:

2017 年 11 月 26 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by