Skip to content

matlab.engine.typedinterface.generateCSharp

matlab · scripts/+matlab/+engine/+typedinterface/generateCSharp.m

: matlab.engine.typedinterface.generateCSharp ()
: matlab.engine.typedinterface.generateCSharp (options)
: matlab.engine.typedinterface.generateCSharp (name, value, …)

Generate a typed C# interface for MATLAB namespaces, classes, and functions (MATLAB R2026a matlab.engine.typedinterface.generateCSharp parity).## Until the Nexus Engine for .NET client lands (nexus#12996) and a CLR host is available for round-trip checks (nexus#12993), this entry point exists but always errors with a clear unsupported message. It never silently writes empty or placeholder C# sources.

Accepted call shapes (validated before the unsupported error):

  • zero arguments
  • a single struct / options object
  • name-value pairs with character / string names

Documented name keys recognised for validation (values are not used until generation is implemented): OutputFolder. ##