Arduino Run on Target Hardware + Stateflow

5 ビュー (過去 30 日間)
Sebastian Holmqvist
Sebastian Holmqvist 2012 年 9 月 11 日
Hi!
I'm trying to setup Arduino through Simulink on R2012a and use Stateflow. But when I try to deploy (Run on Target) it complains about Generating code from Stateflow blocks requires a valid Simulink Coder license.
Any ideas? I'm on Student License.
  1 件のコメント
Adrian Dronca
Adrian Dronca 2012 年 9 月 11 日
Well you don't have the license for code generation :)
You can type in command line license('inuse') to see what licenses you are using.

サインインしてコメントする。

採用された回答

MathWorks Classroom Resources Team
MathWorks Classroom Resources Team 2012 年 9 月 11 日
This is a bug in R2012a release. Please use the solution given in the bug report # 830298. Here is the link to the report.
  1 件のコメント
Sebastian Holmqvist
Sebastian Holmqvist 2012 年 9 月 13 日
This fixed it! Thanks!

サインインしてコメントする。

その他の回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 9 月 11 日
Does "Run on target" work on a model without any Stateflow blocks? If yes, it appears that to be able to use Stateflow with "Run on target" you need to get an additional Simulink Coder license.

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by