"Expected u to be a scalar" Error

3 Comments

Somehow the output of the flame sensor is not a scalar
Did you solve it?
Walter Roberson
Walter Roberson on 10 Aug 2023
Edited: Walter Roberson on 10 Aug 2023
I just noticed that the thermal sensor is compared to a value, and combined on a bus with a boolean, producing a bus with two booleans, and that bus is being sent to arduino digital output. But arduino digital output is expecting a scalar not a bus.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2020b

Asked:

on 29 Dec 2020

Edited:

on 10 Aug 2023

Community Treasure Hunt

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

Start Hunting!