MATLAB executable code generator error

How do I resolve the following error? I am setting the color stacked horizontal bar graph using this.
Thanks a lot for your help.

2 个评论

It's not useful to post a code as an image.
Basically, I have to set the color of bar graph. And since it is a stacked graph I am defining it as a column vector. And MATLAB coder allows only row vector call arrays. If I use row array to resolve this, then simulation gives an error to plot the graph.

请先登录,再进行评论。

 采纳的回答

6 个评论

I cannot access this. Is there any other link?
From the MATLAB desktop,
  • doc
  • Click on MATLAB Coder
  • Language supported for Code Generation
Thanks for the help. I created executable for SIMULINK model. How do I include it in GUI .m file? I can generate GUI executable from MATLAB coder right?
Yes, you would use MATLAB Compiler to do this rather than MATLAB Coder.
No, you cannot use MATLAB Coder to generate a standalone from a MATLAB GUI. You can however use MATLAB Compiler to achieve that. See How can I create a deployable standalone executable from a MATLAB application that calls a Simulink model? for more information.
The following link comparing and distinguishing MATLAB Coder and MATLAB Compiler SDK is also relevant and might be useful:

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Coder 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by