MATLAB Answers


This question is closed. Reopen it to edit or answer.

Multiple errors when using MATLAB function block

1 view (last 30 days)
Gavin Allen
Gavin Allen on 24 Feb 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
I am trying to control a 7 segment display using MATLAB and Simulink with the add on packages that allow them to be used with an Aruduino. My code should be correct but when I try to build and upload I get a tone of errors. I am using 2019b. Please Help!

Answers (1)

Shunichi Kusano
Shunichi Kusano on 24 Feb 2020
Hi Gavin,
I see red wavy lines in your script:
x ~y % maybe this will be x & ~y
This is an error source. First, please fix these, then we will observe what happens next.





Community Treasure Hunt

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

Start Hunting!