Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - Français


getdeprecated

Get names of deprecated functions and replacement function names.

Syntax

deprecated = getdeprecated();
[deprecated, replaced_by] = getdeprecated();

Arguments

deprecated

String vector of deprecated functions.

replaced_by

String vector of the same size as deprecated containing the replacement functions.

Description

getdeprecated returns a vector of deprecated function names and a vector of replacement function names. When a function is deprecated without replacement, an empty string is returned in replaced_by output for this function.

Examples

[deprecated, replaced_by] = getdeprecated();
replaced_by(find(replaced_by == "")) = "nothing !";
for i = 1:size(deprecated, "*")
    mprintf("%s is deprecated and will be replaced by %s.\n", deprecated(i), replaced_by(i))
end
Report an issue
<< fscanfMat Entrées/Sorties [fichiers] getmd5 >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 24 11:15:59 CEST 2024