This website works better with JavaScript.
Home
Explore
Help
Sign In
wouter
/
Matlab-Prologix-scripts
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix forcenum.
publish
Mickey Derks
8 years ago
parent
ff4f827f23
commit
fbb0e7f597
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
OOequipment/Equipment.m
+ 1
- 1
OOequipment/Equipment.m
View File
@@ -214,7 +214,7 @@ classdef Equipment < handle
function num = forceNum(input)
%FORCENUM Throws an error if the input is not numeric.
if ~isnum
eric
(input)
if ~isnum(input)
error('Input should be a (single) number.');
end
num = input;
Write
Preview
Loading…
Cancel
Save