소스 검색

Fix forcenum.

publish
Mickey Derks 8 년 전
부모
커밋
fbb0e7f597
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      OOequipment/Equipment.m

+ 1
- 1
OOequipment/Equipment.m 파일 보기

@@ -214,7 +214,7 @@ classdef Equipment < handle
function num = forceNum(input)
%FORCENUM Throws an error if the input is not numeric.
if ~isnumeric(input)
if ~isnum(input)
error('Input should be a (single) number.');
end
num = input;


불러오는 중...
취소
저장