Hello Community,
i am trying to use some Functions that use System.Diagnostics.Process (e.g. sim3d.Engine.engine, Vehicle Dynamics Blockset). This used to work on my Notebook and Desktop. However since i updated one PC to the newest Windows Version 1903, functions with System.Diagnostics.Process dont work on this machine anymore. I assume it has something to do with the .Net Framework. I tried a clean re-install of windows 10, but the problem persists. I compered both .Net Installations (regedit) and they seem to be identical.
This is the actual function i want to use:
>> sim3d.Engine.engineError using sim3d.Engine/setup %this should be red (error)
Invalid default value for property 'engine' in class 'sim3d.Engine': %this should be red
No method 'Start' with matching signature found for class 'System.Diagnostics.Process'. %this should be redError in sim3d.Engine %this should be red
And this is the general approach to run System.Diagnostics.Process
A = NET.isNETSupportednotepad = System.Diagnostics.Process();notepad.StartInfo.FileName = "notepad.exe";notepad.StartInfo.UseShellExecute = false;notepad.StartInfo.CreateNoWindow = true;notepad.Start;
The result:
A = 1No method 'Start' with matching signature found for class 'System.Diagnostics.Process'. %this should be red (error)The actual function i want to use: %this should be red
So what exact Version of the .Net-Framework is required for Matlab? Maybe the Problem is the relativly new Framework 4.8? Or could it be that the path /variable to the .Net directory is messed up? Im out of ideas.
Thanks, Mathias
Best Answer