Error Opening Matlab files. Error using uiopen (line 159)

9 views (last 30 days)
Hello All,
I use matlab online. Many of my files ran well but now I am getting an error whenever I try to open them
The specific error is:
Error using uiopen (line 159)
Attempt to execute SCRIPT edit as a function:
/MATLAB drive/edit.m
Is this error familiar to anyone?

Answers (1)

Aakash Mehta
Aakash Mehta on 1 Apr 2021
The error message indicates that you are attempting to call a script file as a function file.
It might be happening because you have created a script MATLAB file 'edit.m' with the same name as a function on the MATLAB path.
For more details, please refer to the following link.

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!