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

Change language to:
English - 日本語 - 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

Aide de Scilab >> Xcos > Fonctions utilitaires Scilab > standard_inputs

standard_inputs

Get the position of the input ports of a block in Xcos editor.

Syntax

[x,y,typ] = standard_inputs(block)

Arguments

block

xcos block.

x

x position of the port. When multiple ports are described, x is a float vector of x positions.

y

y position of the port. When multiple ports are described, y is a float vector of y positions.

typ

determine the type of ports. It can take the following values: -1 if this is a clock port; 1 if this is an explicit port; 2 if this is an implicit port. When multiple ports are described, typ is a vector.

Description

This Scilab function was used by the Scicos blocks interfacing functions to get the position (x, y) of each input port.

This function is not useful for Xcos block interfacing functions anymore. The Xcos interfacing functions are not called with job="getorigin" anymore.

Example

loadXcosLibs();
o1 = CSCOPE("define");
[x1,y1,typ1] = standard_inputs(o1)
o2 = Capacitor("define");
[x2,y2,typ2] = standard_inputs(o2)

See also

Report an issue
<< standard_define Fonctions utilitaires Scilab standard_origin >>

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:
Mon Jan 03 14:33:08 CET 2022