EV3 - Calling a function

I'm running into an error where when I call a function from my main EV3 code I get a 'Undefined variable "brick" or class "brick.StopMotor".' error. Is it not possible to call a function in the same script when working with an EV3 robot?

Answers (0)

Asked:

on 1 Dec 2019

Edited:

on 1 Dec 2019

Community Treasure Hunt

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

Start Hunting!