No constructor error on trying to run script containing an enum

2 次查看(过去 30 天)
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!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by