Documentation

  • All Products
  • MATLAB Compiler SDK
    • Getting Started
    • Troubleshooting
    • Functions and Other Reference
    • Release Notes
    • PDF Documentation
  • .NET Assembly Integration
  • .NET Assembly Basics
  • Native .NET Data Types
  • WebFigures
  • Distributed Applications

.NET Assembly Basics

Integrate .NET assemblies into applications

Integrating compiled MATLAB® functions into a .NET application is similar to using any standard .NET assembly. The main difference is that the generated interfaces require that data be passed as MWArray objects.

C# API Documentation

MWArray Overview

Functions

enableTSUtilsfromNetworkDrive Sets the trust setting to load .NET assemblies from network drive

Examples and How To

  • Integrate a .NET Assembly Into a C# Application
  • Simple Plot (C#)
  • Phone Book (C#)
  • Optimization (C#)
  • Use Multiple Assemblies in Single Application
  • Create Plot Example (Visual Basic)
  • Phone Book (Visual Basic)
  • Optimization (Visual Basic)
  • Block Console Display When Creating Figures
  • Call COM Objects in Visual C++ Programs

Concepts

  • MATLAB Runtime Path Settings for Development and Testing
  • Component and Class Naming Conventions
  • Data Conversion
  • Object Passing by Reference
  • Real or Imaginary Components Within Complex Arrays
  • Jagged Array Processing
  • Block Console Display When Creating Figures
  • Error Handling
  • Freeing Resources Explicitly
  • Impersonation Implementation Using ASP.NET
Was this topic helpful?
MATLAB Compiler SDK Documentation
  • Getting Started
  • Troubleshooting
  • Functions and Other Reference
  • Release Notes
  • PDF Documentation
Other Documentation
  • MATLAB
  • MATLAB Compiler
  • MATLAB Production Server
  • All Products
Support
  • MATLAB Answers
  • Installation Help
  • Bug Reports
  • Product Requirements
  • Software Downloads

© 1994-2015 The MathWorks, Inc.

  • Terms of Use
  • Patents
  • Trademarks
  • Acknowledgments