Code generation and class handle
2 ビュー (過去 30 日間)
古いコメントを表示
I am using Matlab Coder and I got the following error : "In code generation, an existing instance of a handle class handle can only be assigned to a local variable or function ouput"
I got this error because I wanted to store as a class property a handle on another class. I wanted to do so to be able to keep a reference on a class for future use which is very classical ...
Do you know a workaround ?
0 件のコメント
採用された回答
Arnab De
2012 年 9 月 6 日
Currently in MATLAB Coder, handle objects can be assigned to class properties only in the constructor of the class. This restriction will be removed in future releases.
0 件のコメント
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!