Make use of the Windows security enhanced funcitons such as _wfopen_s instead of _wfopen for Windows. This request has occurred because a client was finding that Windows defender was blocking the use of readRealMatrix in MSL 4.1 (i,e, scalar(Modelica.Utilities.Streams.readRealMatrix("inputs.mat", "h_gas_to_carcass", 1, 1)))
The new behaviour by Windows Defender is likely due to fopen changing to _wfopen (Found by Ulf at DS). I don't see why this is a thing and seems like inconsistent behaviour in Windows Defender, however the security enhanced functions functions should be used.
Make use of the Windows security enhanced funcitons such as _wfopen_s instead of _wfopen for Windows. This request has occurred because a client was finding that Windows defender was blocking the use of readRealMatrix in MSL 4.1 (i,e, scalar(Modelica.Utilities.Streams.readRealMatrix("inputs.mat", "h_gas_to_carcass", 1, 1)))
The new behaviour by Windows Defender is likely due to fopen changing to _wfopen (Found by Ulf at DS). I don't see why this is a thing and seems like inconsistent behaviour in Windows Defender, however the security enhanced functions functions should be used.