UWB-Algorithm/UWBAnimationShow/ximu_matlab_library/CommandDataClass.m

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