unable to define local function because it has the same name as the file

2 views (last 30 days)
How is this error even possible, seriously ?
I got the following error: unable to define local function 'myfname' because it has the same name as the file
And here is what the console is showing me:
Error: File: myfname.m Line: 4 Column: 15 Function with duplicate name "myfname" cannot be defined.
Seriously what is happening here ?

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!