Use MATLAB Structures in .NET
The MathWorks.MATLAB.Types.MATLABStruct
class enables you to:
Create a
MATLABStruct
object in .NET and pass it to MATLAB®.Convert a MATLAB
struct
object toMATLABStruct
and convert a MATLABstruct
array toMATLABStruct[,,...]
.
For an example showing how to interact with MATLAB structs from a C# application, open StructExample.cs
. You can build and run this code as described
in Test Your .NET Development Environment.
See Also
MathWorks.MATLAB.Types.MATLABStruct