Please support hot reload with Visual Studio 2022
Visual Studio 2022 was released in November and includes hot reload support for C/C++ development. It would be great if MATLAB and Simulink S-Functions building this code using the MEX tool could use hot reload to let developers get through multiple edit/build cycles faster. Right now, to change one line of code in a mex binary after finding a bug in a Simulink S-Function, you have to stop Simulink, clear mex, make the change, run mex to build the mexw64 binary, then "update model" in Simulink to cause the mex binaries to be reloaded into the MATLAB process space, and then run your Simulink model.Visual Studio 2022 was released in November and includes hot reload support for C/C++ development. It would be great if MATLAB and Simulink S-Functions building this code using the MEX tool could use hot reload to let developers get through multiple edit/build cycles faster. Right now, to change one line of code in a mex binary after finding a bug in a Simulink S-Function, you have to stop Simulink, clear mex, make the change, run mex to build the mexw64 binary, then "update model" in Simulink to cause the mex binaries to be reloaded into the MATLAB process space, and then run your Simulink model. Visual Studio 2022 was released in November and includes hot reload support for C/C++ development. It would be great if MATLAB and Simulink S-Functions building this code using the MEX tool could use hot reload to let developers get through multiple edit/build cycles faster. Right now, to change one line of code in a mex binary after finding a bug in a Simulink S-Function, you have to stop Simulink, clear mex, make the change, run mex to build the mexw64 binary, then "update model" in Simulink to cause the mex binaries to be reloaded into the MATLAB process space, and then run your Simulink model. visual studio mex s-function simulink MATLAB Answers — New Questions