Clear Filters
Clear Filters

No constructor error on trying to run script containing an enum

2 views (last 30 days)
Hello, I have defined an enum in a script(abc.m). The first time I run it, it works fine. But once I close and try to run after reopening it, I get a pop up saying "abc.m is not found in the current folder or on the Matlab path", even if the matlab path is already set to the folder containing the file. Then if say change folder/ Add to path it generates an error saying "No constructor 'abc' with matching signature found". Is there a way I can solve this? Thanks!

Answers (0)

Categories

Find more on Get Started with 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!