dotnetenv
- :
env =dotnetenv()¶ - :
env =dotnetenv(name, value, …)¶ Report or configure the default .NET runtime environment (MATLAB
dotnetenvparity).Query form returns a scalar struct with fields matching the MATLAB
DotNETEnvironmentsurface used by call sites that inspectRuntime,Version,Status, andHome:Runtime—"core"(preferred hostfxr path, nexus#12993)Version— empty until a CLR host is linkedStatus—"notloaded"whileNET.isNETSupportedis falseHome— empty until a host reports a runtime homeFrameworks— empty cell until a host enumerates frameworks
Name-value keys accepted for the set form (subset of R2026a):
"Runtime"("core"or"framework") and"Version"(character row / string scalar). Settings are remembered for the session, but changing them does not load a CLR until the host in nexus#12993 lands;NET.isNETSupportedstays false and mutators underNET.*keep their clear error path.