Class definition @ directory error
Ältere Kommentare anzeigen
Hello,
I am writing a script wherein a new class 'polynomial' is defined. When I run the script, I get the following error:
Error: File: polynomial.m Line: 49 Column: 10
A class definition must be in an "@" directory.
Upon typing which('polynomial'), I get the following output:
/home/..../multipoly/@polynomial/polynomial.m
Clearly, polynomial.m is in a directory called @polynomial, but I'm still getting the error. I'm quite confused by this. I am running 64bit R2012a on Ubuntu 12.04.
Any help would be appreciated. Thanks.
Adi
2 Kommentare
Walter Roberson
am 11 Aug. 2013
Is multipoly your routine? Or is it (for example) inside Simulink ?
Adi gahlawat
am 11 Aug. 2013
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Search Path finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!