how can i use events() in matlab coder.

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

답변 (2개)

Jan
Jan 2013년 7월 17일

0 개 추천

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.

댓글 수: 1

mayank
mayank 2013년 7월 17일
have you ever used events() function in mstlab. Also do you know where to find the code of files. I searched for file and it only contains comments.

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

카테고리

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

제품

질문:

2013년 7월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by