Reputation: 3017
So simple question, I have a MATLAB class that I made names "Cat". However there already exists a stand-alone function called "Cat" elsewhere in the same directory. Is there a way to make MATLAB use the class "Cat" and not the function "Cat"?
I could start renaming everything, but I would rather not do that, so I am wondering if there is a workaround.
Thanks.
Upvotes: 1
Views: 80
Reputation: 36710
There is no practical workaround, which allows to use both Cat
Matlab uses the Cat
which is first on the path. Modifying this within execution will be very difficult to understand and debug.
Upvotes: 1