I am having problem with input.
Show older comments
My code: s = input('Enter length of side');
Error shown: Attempt to execute SCRIPT input as a function: \\hs8.lboro.ac.uk\psyd3\MATLAB\input.m
Error in IsTriangle_With_Errors (line 5) s1 = input('Enter shortest side of Triangle:');
2 Comments
Dennis
on 5 Jul 2018
It seems like you wrote a script named input.m. Try to rename that.
Yash Deshpande
on 5 Jul 2018
Accepted Answer
More Answers (0)
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!