Post Go back to editing

condition based monitoring cbm0549: system object: cn0532 from sensor toolbox not work in Simulink

Category: Software
Product Number: cn0532
Software Version: sensor toolbox 21.1.1

I have installed the sensor toolbox in Matlab R2021a. The demo example cn0549.m from the Sensor Toolbox works fine. 

I failed to build a Simulink model to stream data to the scope using the system object block with cn0532 in the +adi directory. 


The error message was

MATLAB System block 'testiio/MATLAB System' error occurred when invoking 'getSampleTime' method of 'adi.CN0532'. The error was thrown from '
'C:\Users\mecch\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\Analog Devices, Inc. Sensor Toolbox(2)\+adi\+common\Rx.m' at line 21
'C:\Program Files\MATLAB\R2021a\toolbox\simulink\ui\studio\config\m\+SLStudio\ToolBars.p' at line 0
'C:\Program Files\MATLAB\R2021a\toolbox\simulink\ui\studio\config\m\+SLStudio\ToolBars.p' at line 0'.
Caused by:
Unrecognized method, property, or field 'SamplingRate' for class 'adi.CN0532'.
Component: Simulink | Category: Block error


Is there any example or reference to find the solution?

Best regards