Check if Data Reading falls within range Limits

조회 수: 4 (최근 30일)
Wee Shan Chong Yap
Wee Shan Chong Yap 2017년 7월 20일
답변: Walter Roberson 2017년 7월 20일
Check if Data Reading falls within range Limits..
I have 2 set of products USB and LAN-operated needed to be tested if the data reading having any outliers.
Error Issue of using the code below:
(i) fix REGEXP expression- should I change the expression, any modification should I made?
(ii) it says rangeLimits are not used- how to combine use of verifying rangeLimits for model (of all files combined), data display on graph
-----------------------------------------------------------------------------------
if (~isempty(REGEXP(fi, 'U2049'))) ;
configFileName = 'configLAN.ini';
rangeLimits = [ [-30,-4]; [-14,6];[-4,18];[8,21] ]; %NORML
else
configFileName = 'configUSB.ini';
rangeLimits = [ [-30,-2]; [-14,11];[-4,22];[8,26] ]; %NORML
end

채택된 답변

Walter Roberson
Walter Roberson 2017년 7월 20일
Instead of regexp there,
if strfind(fi, 'U2049')
I am not sure what you are asking for your second question, but I suspect the answer is http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F

추가 답변 (0개)

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by