フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

matlab simulink supported data types

1 回表示 (過去 30 日間)
Ahmed Tawfeeq
Ahmed Tawfeeq 2012 年 2 月 11 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (1 件)

Walter Roberson
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
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!

Translated by