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

Azzi Abdelmalek
Azzi Abdelmalek 2013년 10월 2일
It's not useful to post a code as an image.
Rinachi Garg
Rinachi Garg 2013년 10월 2일
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.

댓글을 달려면 로그인하십시오.

 채택된 답변

Sean de Wolski
Sean de Wolski 2013년 10월 2일

1 개 추천

댓글 수: 6

Rinachi Garg
Rinachi Garg 2013년 10월 3일
I cannot access this. Is there any other link?
Sean de Wolski
Sean de Wolski 2013년 10월 3일
From the MATLAB desktop,
  • doc
  • Click on MATLAB Coder
  • Language supported for Code Generation
Rinachi Garg
Rinachi Garg 2013년 10월 3일
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?
Sean de Wolski
Sean de Wolski 2013년 10월 4일
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.
Chetan Rawal
Chetan Rawal 2015년 6월 26일
The following link comparing and distinguishing MATLAB Coder and MATLAB Compiler SDK is also relevant and might be useful:

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

질문:

2013년 10월 2일

댓글:

2015년 6월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by