Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Data Conversion Between .NET and MATLAB

Use the APIs for data conversion between .NET and MATLAB®

There are two data conversion API's that are available to marshal and format data between .NET and MATLAB. These are MWArray API and Native API, each suited for particular applications.

Functions

ntswrapGenerates type-safe API

Topics

Implement a Type-Safe Interface

An overview of .NET interfaces that supports native types through the API in either C# or Visual Basic®

Generate the Type-Safe API with an Assembly

How to generate a type safe API using the Library Compiler App and also from the command line

Create Managed Extensibility Framework (MEF) Plug-Ins

Extend .NET applications by developing plug-ins with MEF

Select How to Access an Assembly

An overview of data marshaling in an assembly using MWArray API and Native API

Data Conversion Classes and MATLAB Compiler SDK Interface

Summary information about MWArray classes

Data Conversion Between .NET and MATLAB

How to convert native .NET data types to types compatible with MATLAB

Rules for Data Conversion Between .NET and MATLAB

Details about the way that the MATLAB Compiler™ .NET target handles data

Object Passing by Reference

How to pass .NET objects to and from a MATLAB function

Real or Imaginary Components Within Complex Arrays

How to extract only the real or imaginary part of an array through implementation of component indexing

Type-Safe Interfaces: An Alternative to MWArray

How to use type-safe interfaces instead of MWArray types in a .NET application to allow .NET developers to work directly with familiar native data types

Advantages of Implementing a Type-Safe Interface

Motivations for using type-safe interfaces

How Type-Safe Interfaces Work

An overview of type-safe interface

Was this topic helpful?