JAXB serialization of MWarray types in java?
1 次查看(过去 30 天)
显示 更早的评论
We're looking to expose MATLAB models as a web service and it in our situation using JAXB serialization of MWarray has some advantages. Anyone done this or know if it's supported? Nothing in the MATLAB compiler SDK documentation on it. To be clear, we're looking for something cross platform compatible and not just any old serialization. java.io.Serializable is not the answer.
0 个评论
回答(1 个)
Gitesh Nandre
2015-6-22
com.mathworks.extern.java.MWArray implements java.io.Serializableizable, so serialization of it should not be a problem. However, it has some native components. To check which fields are serializable from MWArray class, refer to the following MATLAB documentation:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Java Package Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!