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 Commenti

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.

Accedi per commentare.

 Risposta accettata

Sean de Wolski
Sean de Wolski il 2 Ott 2013

6 Commenti

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:

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Coder in Centro assistenza e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by