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