function v = dotnet_api() try v = System.Environment.Version.Major; catch v = -1; end end
Published with MATLAB® R2025a