Check if Data Reading falls within range Limits

3 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 20 Jul 2017
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

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!