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

Answers (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.

This question is closed.

Asked:

on 26 Nov 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!