18 lines
477 B
Matlab
18 lines
477 B
Matlab
classdef CommandDataClass < DataBaseClass
|
|
|
|
%% Public 'read-only' properties
|
|
properties (SetAccess = private)
|
|
FileNameAppendage = '_Commands.csv';
|
|
Code = [];
|
|
Message = [];
|
|
end
|
|
|
|
%% Public methods
|
|
methods (Access = public)
|
|
function obj = CommandDataClass(fileNamePrefix)
|
|
data = obj.ImportCSVmixed(fileNamePrefix, '%f %f %s');
|
|
obj.Code = data{2};
|
|
obj.Message = data{3};
|
|
end
|
|
end
|
|
end |