Hi, I wrote a simple code but I can't get output of the function because of this error. Name of the file is "main.m".
And it also says that this is a local function. Should I/how can I make it main function? The code is:
function [any, tri, sqr, rect] = main(number_of_sticks)
any=(tri==1 || sqr==1 || rect==1);