How to ouput .NET object instead of "MWStructArray" in MATLAB Compiler SDK?
Ältere Kommentare anzeigen
I am trying to create a standalone executable using MATLAB Compiler SDK, where I want to marshal MATLAB structs in C# using .NET structs and classes. I am using the following example as a reference:
I have the following questions:
1) My MATLAB function outputs a "MWStructArray", while I would expect a .NET "Student" object like in the example. How can I return a .NET "Student" object directly from the MATLAB function call?
2) Is there a way to directly unmarshal the "MWStructArray" or "MWCellArray" without having to convert field by field?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Deploy to .NET Applications Using MWArray API finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!