Clearing Java Objects
19 次查看(过去 30 天)
显示 更早的评论
My code uses Java objects that I created and provide to ML in a .jar file.
After my code terminates, I try to run "clear java" and I get a message back that some of my objects still exist and Java cannot be cleared:
Warning: Objects of Param/TableCellRenderer class exist - not clearing java Warning: Objects of Param/RowHeaderRenderer class exist - not clearing java
How can I clear these objects? The only way that I have found is to restart ML. Not fun when co-developing between ML and Java.
3 个评论
Kaustubha Govind
2011-6-27
Interesting problem. You might want to consider contacting Tech Support to see if they've seen this before.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Java from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!