when - when a function was introduced by MATLAB
Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week
The input to this function is a matlab/simulink function name, such as 'rand' as a string. The function checks the version in which the input function was introduced. This function also accepts a group as input functions to check. See the following examples:
Example 1:
>> when('rand')
## rand is a built-in function (Introduced before R2006a)
Example 2:
func_name = {'rand','plot','grid','findstr','weboptions'};
when(func_name)
## rand is a built-in function (Introduced before R2006a)
## plot is a built-in function (Introduced before R2006a)
## grid is a Matlab function or an ordinary m-file (Introduced before R2006a)
## findstr is a built-in function (Introduced before R2006a)
## weboptions is a Matlab function or an ordinary m-file (Introduced in R2014b)
Zitieren als
Reza Ahmadzadeh (2024). when - when a function was introduced by MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/54483-when-when-a-function-was-introduced-by-matlab), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- AI and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection > Nearest Neighbors >
Tags
Quellenangaben
Inspiriert: A slightly more robust version of when()
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.5.0.0 | Image updated |
||
1.4.0.0 | - upgraded towards working with https
|
||
1.3.0.0 | Another bug fixed! |
||
1.2.0.0 | passing no variable to the main function. |
||
1.1.0.0 | Add a screenshot.
|
||
1.0.0.0 |