OpenDDS is an open source C++ implementation of the Object Management Group (OMG) Data Distribution Service (DDS). OpenDDS also supports Java bindings through JNI.
I used a s-function to implement an OpenDDS application in Simulink. This application can read and write data as expected, but matlab will crash when the s-function runs again.
Matlab crashs when execute this _narrow function:
bustwoInputs_reader_i = bustwo::inputsDataReader::_narrow(bustwoInputs_reader);
A part of stack trace is as follws:
The large offsets such as getMetaStruct<DDS::PublicationMatchedStatus>+04362850 are a hint that debug information was not used to make the stack trace. It's going to be difficult to offer any help without it.
I used a s-function to implement an OpenDDS application in Simulink. This application can read and write data as expected, but matlab will crash when the s-function runs again. Matlab crashs when execute this _narrow function:
bustwoInputs_reader_i = bustwo::inputsDataReader::_narrow(bustwoInputs_reader);
A part of stack trace is as follws:How can I solve this issue?