IntEnumType
古いコメントを表示
I see this error when trying to create an enumerated data type.
??? Error using ==> IntEnumType>IntEnumType.IntEnumType at 61 Not enough input arguments.
My script is called Color.m which is in a properly configured directory:
classdef(Enumeration) Color < Simulink.IntEnumType enumeration RED(1), GREEN(2), end end
I'm running MATLAB with Simulink ver R2010a.
I made sure to add the working directory to my matlab environment via addpath and save functions which executed fine. I'm starting to think that this is a bug.
3 件のコメント
Siddharth Shankar
2011 年 1 月 31 日
1. What did you enter at the MATLAB command prompt to see this error?
2. What is the output of:
which -all Simulink.IntEnumType
Daniel
2011 年 2 月 1 日
Daniel
2011 年 2 月 1 日
回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!