JAXB serialization of MWarray types in java?

조회 수: 1 (최근 30일)
Peter
Peter 2015년 6월 19일
편집: Peter 2015년 6월 23일
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.

답변 (1개)

Gitesh Nandre
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:
  댓글 수: 1
Peter
Peter 2015년 6월 23일
We're looking for something cross platform compatible. We've used java.io.Serializable but that's not it.

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

카테고리

Help CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by