No constructor error on trying to run script containing an enum

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 Loops and Conditional Statements in Help Center and File Exchange

Tags

Asked:

on 22 Feb 2013

Community Treasure Hunt

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

Start Hunting!