Error Deploying Simulink Model to Hardware(Arduino)

I am attempting to implement a Simulink model to an Arduino Uno. I am receiving the following error after the build procedure aborts:
Invalid option for regexpi: (r\d{4,4}[ab] prerelease).
I have searched through the internet and cannot find an answer. Any help would be greatly appreciated.
Thanks

3 Comments

Which MATLAB version are you using?
Is it possible that the model name has a space in it, or that your username has a space in it? Those were not handled well with older versions of Simulink.
Also please give the command
ver
and check to see if any toolbox is listed twice.
2016b. My model and username both contain no spaces. I have checked ver and no toolboxes are listed twice.
I think it might related to third-party some toolbox you installed. Previously I also encountered the same problem, and it was caused by the Sigma-Delta Toolbox I installed. The problem solved after I removed the toolbox. You can have a try.

Sign in to comment.

Answers (0)

Categories

Asked:

on 5 Nov 2016

Commented:

on 26 Nov 2016

Community Treasure Hunt

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

Start Hunting!