Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
matlab simulink supported data types
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all...how can I test datatype of a matlab function? ...for example ,I want to know the datatype of the function adaptfilt.lms because I have an error about specifying the datatype of the called function to matlab function block.
댓글 수: 0
답변 (1개)
Walter Roberson
2012년 2월 11일
class() will show you the data type for its argument.
adaptfilt.lms returns a "FIR LMS object" according to the documentation. The datatype involved will not be one of the fundamental arithmetic data types such as "double", and it will not be a cell array or a struct: it will be an Object Oriented Programming (OOP) object.
I do not know if you are permitted to pass such objects to a MATLAB Function Block (that is, this is outside my experience.)
댓글 수: 1
Kaustubha Govind
2012년 2월 13일
+1
You can only use the adaptfilt.lms function in your MATLAB Function block, but not use it as input/output.
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!