Requirements Checker

A script for detecting dependancies and minimum required version of other Matlab scripts.
60 Descargas
Actualizado 8 mar 2020

Ver licencia

# INTRODUCTION #

This script is a simple utility for detecting dependancies and minimum required version of Matlab scripts. It's very handy when it comes to publishing scripts on code sharing platforms and/or preserving the backward compatibility of releases.

# USAGE #

The "check_requirements" function accepts a single input argument, which must be the valid path to a Matlab script or a directory containing one or more Matlab scripts at any level of depth. The structure of the function result depends upon the "type" input argument:

1) ALL: a structure with two fields, "Deps" and "VerInfo", whose values are described below.
2) DEP: a cell array of strings that represent the name of the dependancies.
3) VER: if "extv" is false, a string representing the minimum version, otherwise an n-by-3 table listing all the called functions and their respective minimum version (if available).

# EXAMPLES #

1) Global requirements check on all the scripts within a specified folder:
res = check_requirements('C:\Scripts\');

2) Requirements check on a specific script:
res = check_requirements('C:\Scripts\my_script.m');

# NOTES #

The "check_requirements" function uses a best-effort methodology. This means that it tries to gather as much information as possible but it cannot guarantee a 100% accurate result.

Citar como

Tommaso Belluzzo (2024). Requirements Checker (https://www.mathworks.com/matlabcentral/fileexchange/69294-requirements-checker), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2018a
Compatible con cualquier versión desde R2014b hasta R2018b
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Programming en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.8

Minor fixes and improvements.

1.1.7

Minor fixes and improvements.

1.1.6

Changed image.

1.1.5

Minor fixes and improvements.

1.1.4

Updated details concerning compatibility & requirements.

1.1.3

Updated details concerning compatibility & requirements.

1.1.2

Minor fixes and improvements.

1.1.1

Project website.

1.1.0

Target release.

1.0.9

Improved tags.

1.0.8

Improved tags.

1.0.7

Improved tags.

1.0.6

Improved description.

1.0.5

Improved description.

1.0.4

Improved description.

1.0.3

Screenshot added.

1.0.2

Minor fixes and improvements.

1.0.1

Added details concerning compatibility & requirements.

1.0.0