|
|
|
@@ -3,15 +3,16 @@ classdef Oscilloscope < Equipment |
|
|
|
% Detailed explanation goes here |
|
|
|
|
|
|
|
properties |
|
|
|
ch1 |
|
|
|
ch2 |
|
|
|
end |
|
|
|
|
|
|
|
methods |
|
|
|
function obj = Oscilloscope(inputArg1,inputArg2) |
|
|
|
function obj = Oscilloscope(ipAddress,port,nchannels) |
|
|
|
%OSCILLOSCOPE Construct an instance of this class |
|
|
|
% Detailed explanation goes here |
|
|
|
obj.Property1 = inputArg1 + inputArg2; |
|
|
|
obj@Equipment(ipAddress,port,-1); |
|
|
|
for i = 1:nchannels |
|
|
|
obj.(['ch',num2str(i)]) = Channel(inputArg1,inputArg2); |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
function outputArg = method1(obj,inputArg) |
|
|
|
@@ -22,3 +23,7 @@ classdef Oscilloscope < Equipment |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|