IPV4 address Validation

A function which Validates given IPV4address.

You are now following this Submission

A valid IPV4 address is having a format xxx.xxx.xxx.xxx where xxx is having range from 0 to 255. In order to evaluate whether a IP address is Valid or not pass a string to this function containing the IP address you want to Validate . This function returns a value 1 if success else 0 . If any other matlab data types apart from string type are passed to this function then also it returns a value 0. Hope this function will be useful .

Cite As

Shameemraj Nadaf (2026). IPV4 address Validation (https://www.mathworks.com/matlabcentral/fileexchange/24432-ipv4-address-validation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Previously described as just IP address validation but its actually IPV4 address validation

1.0.0.0