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

30 views (last 30 days)
Marcia McMillan
Marcia McMillan on 7 Apr 2020
Answered: Aakash Mehta on 1 Apr 2021
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.

Tags

Products

Community Treasure Hunt

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

Start Hunting!