Scilab 6.1.0
- Aide de Scilab
- Xcos
- Fonctions utilitaires Scilab
- block_parameter_error
- buildouttb
- getModelicaPath
- importXcosDiagram
- loadScicos
- loadXcosLibs
- %MODELICA_USER_LIBS
- scicos_debug
- scicos_getvalue
- scicos_log
- scicosDiagramToScilab
- standard_define
- standard_inputs
- standard_origin
- standard_outputs
- var2vec
- vec2var
- xcosAddToolsMenu
- xcosDiagramToScilab
- xcosPal
- xcosPalAdd
- xcosPalAddBlock
- xcosPalDelete
- xcosPalExport
- xcosPalGenerateAllIcons
- xcosPalMove
- xcosUpdateBlock
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
scicos_log
Logger utility for scicos
Syntax
log=scicos_log(log); log=scicos_log(log, msg); refCounters=scicos_log("refCounters");
Arguments
- log
String, logger value. The supported log modifiers are : "FATAL", "ERROR", "WARNING", "INFO", "DEBUG", "TRACE"
- msg
String, the message to log.
- refCounters
a double vector, with a [uid, kind, reference counter] line per object.
Description
This function implements a logger for scicos
operation. This function lets the user choose the right level of information to print while loading a model, compiling and simulating it.
It is also used to produce statistics or global analysis for specific flags. For exemple, passing "refCounters"
will return uid, kind and reference count of all objects.
Examples
scicos_log("TRACE"), scicos_log("TRACE", "this is a trace message");
loadXcosLibs(); scicos_log("refCounters") b = scicos_block(); scicos_log("refCounters")
See also
- scicos_debug — Set the level of the Scicos debugging
- scicos_block — Define a block structure
- loadXcosLibs — Loads all native Xcos blocks interfaces functions
Report an issue | ||
<< scicos_getvalue | Fonctions utilitaires Scilab | scicosDiagramToScilab >> |