Can I use MATLAB Coder on .mlapp files?

3 次查看(过去 30 天)
Michael
Michael 2018-10-17
编辑: Adam 2018-10-17
I have used the MATLAB App Designer to put together a GUI that works. I have seen that you can use MATLAB Compiler to create an executable from the App, but I don't have that toolbox so that's not a viable option for me. I am wondering whether I can generate C++ code for this App using MATLAB Coder. I've never used the toolbox before but it appears that MATLAB Coder can generate C++ code for MATLAB classes and functions and it's my understanding that that's what's under the hood for a .mlapp file, but I'm not seeing a workflow that gets me from a working .mlapp file to generated C++ code. Is there one?
  1 个评论
Adam
Adam 2018-10-17
编辑:Adam 2018-10-17
I very much doubt it. A .mlapp file is fundamentally a UI with the underlying code and you can't turn a UI into C++ code via Coder, whatever source it comes from.
Classes are supported via Coder, but the ui components inside it will not be.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by