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 Comments

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.

Sign in to comment.

 Accepted Answer

6 Comments

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:

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!