About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 26
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Kyle (1 other programs)
See full specifications

scripts default iconnumeric UI Control (Scripts) Publisher's description

Make a custom ui control that is an editbox that only allows numeric inputs.

Make a custom ui control that is an editbox that only allows numeric inputs.
Allow a uicontrol that is an edit box that only allows numeric inputs. There are different types of inputs (ie integers, non-negative, scalars). The top level command is numericEdit. There are also sub files that are helpful like customControl that can be used independently.

Requires matlab version that can utilize classdef.

% numericEdit
% h = numericEdit(numericType, AllowDecimal, AllowNegative, 'parameter,
% 'value', ...)
% Creates a uicontrol edit box that must be numeric.
% NOTE: fixing non numeric inputs relies on a timer object and is thus
% not incredibly reliable.
% Types of numeric are accessed by numericEdit. (various types)
% literally only characters "-", and 0-9. are allowed
% the result will be checked after enter is finished and attempt to
% convert input into a numeric, ie pi will result in 3.14159 even
% though pi explicity is not 0-9.
% Check the result and must be numeric with length=1
% AllowDecimal is a boolean to allow not integer data
% AllowNegative is a boolean to allow negative numbers
% Example
% numericEdit(numericEdit.ONLY_NUMERIC_CHARACTERS, true, true, 'width',10)
% See also customControl

System Requirements:

No special requirements.
Program Release Status: New Release
Program Install Support: Install and Uninstall

numeric UI Control (Scripts) Tags:

Click on a tag to find related softwares

Is numeric UI Control (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.