I'm not being able to open or save scripts

1 view (last 30 days)
Micah Schnarr
Micah Schnarr on 17 Jan 2019
Answered: Steven Lord on 17 Jan 2019
I am getting an error code (I've attached a picture) whenever I try to open or save a script. I've been trying to learn global variables, and now I can't do anything. Help?

Answers (1)

Steven Lord
Steven Lord on 17 Jan 2019
Your function length.m is taking precedent over the built-in length function. Functions that expect to call the built-in function are instead calling your function and it doesn't perform the same way the built-in length function does. You should rename your function.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!