Standalone application from lsqlin

1 次查看(过去 30 天)
Is it possible to generate a C-Code or a standalone program with matlab which solves an overdetermined problem like Ax=b. A has the form 30x20 and 30x1. I solved the problem in matlab with lsqlin but now I want to use this without matlab. Does anyone has an idea if and how this could be possible?
Thanks all.

回答(1 个)

Abhinav Gurram
Abhinav Gurram 2017-5-22
You can use MATLAB Compiler to create a standalone application from your MATLAB Script. If you are planning to create a shared library, dll, or a .Net Assembly, you might want to consider MATLAB Compiler SDK which provides the functionality to build these from your MATLAB source code.
From the support for MATLAB toolboxes page for the MATLAB Compiler product listed here, it does look like the 'lsqlin' function is supported for building standalone applications.
You can review the example listed at the following link on how to create a standalone application from MATLAB and build yours accordingly: Create a standalone application from MATLAB

类别

Help CenterFile Exchange 中查找有关 Oil, Gas & Petrochemical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by