Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> Dynamic/incremental Link > ulink

ulink

unlink a dynamically linked shared object

Calling Sequence

ulink(x)
ulink()

Arguments

x

a ID returned by link

Description

see link

If you plan to use valgrind to profile your module, you must first set the environment variable PROFILE_SCILAB_DYNAMIC_LINK before starting scilab:

# under bash shell:
export PROFILE_SCILAB_DYNAMIC_LINK=1
export SCILAB_VALGRIND_OPT="--db-attach=no --show-below-main=yes  --log-fd=2 --log-file=scilab.txt --num-callers=50 -v --trace-redir=yes --read-var-info=yes --trace-children=yes --show-reachable=yes --smc-check=all --child-silent-after-fork=no --leak-check=full --track-origins=yes"
scilab -nwni -profile

This environment variable force Scilab not to release the loaded dynamic libraries. This will allow valgrind to perform its sum-up analysis.

See Also

<< Supported and compatible compilers Dynamic/incremental Link Atoms >>

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:
Wed Jan 26 16:23:48 CET 2011