主要内容

.NET组装集成

集成了编译的MATLAB®功能为.NET应用程序

WithMATLAB编译器SDK™, integrating compiled MATLAB functions into a .NET application involves using a combination of APIs that initializeMATLAB运行时, load the compiled MATLAB functions intoMATLAB运行时, and manage the data that passes between the .NET code and MATLAB.

The two data conversion APIs that marshal and format data between .NET and MATLAB areMwarray, which uses derived types that map to MATLAB data types, and the native .NET API, which uses native .NET types and supports .NET remoting. In addition, type-safe interfaces provide an alternate set of methods that work directly with native .NET data types.

要将MATLAB函数与.NET开发的服务器集成,请使用Microsoft的.NET远程API或Windows Communications Foundation框架®。这些API促进了分布式应用程序的开发,并具有用于通过网络部署活动数字并访问.NET远程功能的功能。

Functions

compiler.build.dotnetassembly Create .NET assembly for deployment outsideMATLAB
编译器 Options for building .NET assemblies
compiler.package.installer Create an installer for files generated byMATLABCompiler
compiler.package.InstallerOptions Options for creatingMATLABCompiler包装安装程序
FromnetworkDrive的EnableSutilsutils Set trust setting to load .NET assemblies from network drive
ntswrap Generate type-safe API

MwarrayClass Library Reference

Topics

要求和亮点

与.NET框架创建并集成

与.NET 5.0和.NET Core创建并集成

示例申请

数据转换

类型安全的API

.net远程

故障排除.NET组件