ヘルプページで見つかった例を実行.
example_run() example_run(moduleNames) example_run(moduleNames, functionNames) example_run(moduleNames, functionNames, language) example_run(moduleNames, functionNames, language, testrunOptions, testrunExportToFile)
a string or a vector of strings: references of the modules to test. Each reference can be either of
The root directory of each targeted module must have a
./help
subdirectory containing the XML source files of
help pages where examples to test are provided, gathered by languages as
in the source package of any standard module.
Example of the template toolbox_skeleton module:
unix_w("dir /b /s """ + WSCI + "/contrib/toolbox_skeleton/help""") | ![]() | ![]() |
文字列または文字列ベクトル: テストする関数の名前. 指定されないアバイ, モジュールの全てのヘルプページがテストされます.
文字列: テストするヘルプページの言語. デフォルト値は "en_US"です.
test_runの第3引数として使用.
test_runの第4引数として使用.
この巻数は,ヘルプページで指定した例を展開し, test_runにより実行します.
![]() | When testing examples of any external module, it is mandatory to autoload the module
at Scilab startup. This can be achieved either by setting the ATOMS module as
autoloaded, or by loading the module through the user's startup file. |
Version | Description |
5.4.0 | 関数example_runが導入されました. |