Explorar el Código

Update variable name after copy.

publish
Mickey Derks hace 8 años
padre
commit
9b65577e8d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      OOequipment/FunctionGenerator.m

+ 1
- 1
OOequipment/FunctionGenerator.m Ver fichero

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

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



Cargando…
Cancelar
Guardar