Hello, I'm making a device driver for an Arduino board using the S-Function Builder.
I notice that the first time, it is able to build successfully.
I then proceed to deploy to hardware to view the results in the Arduino.
Subsequent attempts (after hitting the deploy to hardware button at least once) to re-build the S-Function Builder will hang at "Compiling myfunction.c" stage. Only after I restart MATLAB will it re-build successfully.
This means that my workflow when using the S-Function builder includes multiple restarts of MATLAB because of this issue.
Does anyone else face this issue? Would this be a bug in MATLAB? MATLAB release: R2015a