Contenu principal

En savoir plus sur Microsoft .NET

Exemples et concepts pour vous aider à rapidement en savoir plus sur l’utilisation de .NET dans MATLAB®

L’interface vers .NET permet d’introduire des assemblys .NET dans l’environnement MATLAB, de construire des objets à partir des classes contenues dans ces assemblys et d’appeler des méthodes sur ces objets.

MATLAB supporte le chargement de ces assemblies .NET :

  • .NET y compris .NET Core (Microsoft® Windows®, macOS et Linux®)

  • .NET Framework (Windows uniquement)

Pour de plus amples informations, veuillez consulter System Requirements for Using MATLAB Interface to .NET. Pour plus d’informations sur les versions .NET compatibles avec MATLAB, consultez MATLAB Interfaces to Other Languages (Interfaces MATLAB vers d’autres langages).

Pour déterminer si votre système dispose d’une version supportée, utilisez la fonction NET.isNETSupported.

Fonctions

NET.addAssemblyMake .NET assembly visible to MATLAB
NET.isNETSupportedCheck for supported version of Microsoft .NET
NET.interfaceViewExplicit interface view of .NET object (depuis R2023b)
NETSummary of functions in MATLAB .NET interface
enableNETfromNetworkDrive(To be removed) Enable access to .NET commands from network drive

Classes

NET.AssemblyMembers of .NET assembly

Objets

NET.NetExceptionCapture error information for .NET exception

Rubriques

Résolution des problèmes

Troubleshooting Security Policy Settings from Network Drives

For MATLAB releases R2012b or earlier, call the enableNETfromNetworkDrive function to create a MATLAB security policy entry.

Limitations to .NET Support

.NET features not supported in MATLAB.

Limitations to Support of .NET Arrays

.NET features not supported in MATLAB.

Limitations to Support of .NET Methods

.NET features not supported in MATLAB.

Limitations to Support of .NET Events

.NET features not supported in MATLAB.

Limitations to Support of .NET Delegates

.NET features not supported in MATLAB.

Limitations to Support of .NET Enumerations

.NET features not supported in MATLAB.