Browse Source

Update variable name after copy.

publish
Mickey Derks 8 years ago
parent
commit
9b65577e8d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      OOequipment/FunctionGenerator.m

+ 1
- 1
OOequipment/FunctionGenerator.m View File

@@ -94,7 +94,7 @@ classdef FunctionGenerator < Equipment
function l = getLoad(lin) function l = getLoad(lin)
l = regexp(num2str(lin), '([12]|50|in|mi|ma)', 'match', 'once', 'ignorecase'); l = regexp(num2str(lin), '([12]|50|in|mi|ma)', 'match', 'once', 'ignorecase');


if isempty(u)
if isempty(l)
error(strcat('Invalid load: ', lin)); error(strcat('Invalid load: ', lin));
end end




Loading…
Cancel
Save