Requirements Checker

版本 1.1.8 (2.9 KB) 作者: Tommaso Belluzzo
A script for detecting dependancies and minimum required version of other Matlab scripts.
59.0 次下载
更新时间 2020/3/8

查看许可证

# 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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2018a
兼容 R2014b 到 R2018b 的版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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