S-Function Builder builds only after restarting MATLAB

3 views (last 30 days)
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

Accepted Answer

Esther
Esther on 23 Nov 2015
It was a bug in R2015a - if your username is longer than 8 characters.
Did not encounter the issue in R2015b.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!