From 74c2bf6d8d56fead82b7b1dc9a31eeb5eaa0ab58 Mon Sep 17 00:00:00 2001 From: Apelete Seketeli Date: Thu, 5 Oct 2023 11:15:47 +0200 Subject: [PATCH] Remove read-only SamplingFrequency property Signed-off-by: Apelete Seketeli --- +adi/+AD4020/Rx.m | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/+adi/+AD4020/Rx.m b/+adi/+AD4020/Rx.m index e7d7fe6..0a904cc 100644 --- a/+adi/+AD4020/Rx.m +++ b/+adi/+AD4020/Rx.m @@ -30,12 +30,6 @@ VoltageOffset end - properties - % SamplingFrequency - % Sampling Frequency in Hertz. - SamplingFrequency = 0 - end - % Channel names properties (Nontunable, Hidden, Constant) channel_names = {'voltage0'} @@ -101,11 +95,7 @@ %% API Functions methods (Hidden, Access = protected) - - function setupInit(obj) - % Write sampling frequency attribute from device once connected. - - obj.SamplingFrequency = obj.getDeviceAttributeLongLong('sampling_frequency'); + function setupInit(~) end end end