how can i use events() in matlab coder.
2 ビュー (過去 30 日間)
古いコメントを表示
If i tried running matlab coder it is showing This structure does not have a field 'events'; new fields cannot be added when structure has been read or used.
this function works well in matlab. but i want to use it in matlab coder
0 件のコメント
回答 (2 件)
Jan
2013 年 7 月 17 日
Yes, you observe the fact, that code accepted by the coder has some limitations. I think, the error message means, that you add a new field to an existing struct. While this is valid in Matlab, it looks like it is not allowed for the Coder. Then create the struct with the new field initially.
Ryan Livingston
2013 年 7 月 18 日
Events are not supported for code generation. You can see the list of limitations here:
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!