Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский -
Scilabヘルプ >> API Scilab > legacy > Scilab Gateway API > Rhs (deprecated)

Rhs (deprecated)

A C gateway function which provides the number of input arguments present in the calling Scilab function This function is obsolete.

Syntax

nb_params Rhs

Arguments

nb_params

the number of input arguments present in the calling Scilab function

Description

A C gateway function which provides the number of input arguments present in the calling Scilab function. You must include stack-c.h to benefit from this function.

Note: Rhs means Right Hand Side.

WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use API Scilab (the new Scilab API).

Examples

In this example, the C interface function can take several input arguments and prints in the Scilab console the integer corresponding to the number of input arguments detected in the calling Scilab function.

#include <stack-c.h>
#include <sciprint.h>

int sci_myrhs(char * fname)
{
  sciprint("The number of input parameters is %d\n", Rhs);

  return 0;
}

See Also

  • getNbInputArgument — Scilab関数コール時に入力引数の数を調べるCゲートウェイ関数
  • getNbOutputArgument — Scilab関数コール時に出力引数の数を調べるCゲートウェイ関数
  • sciprint — ユーザに標準メッセージを出力するCゲートウェイ関数 (C printf関数と同じプロファイル)
  • Lhs — A C gateway function which provides the number of input arguments present in the calling Scilab function This function is obsolete.
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:35:45 CEST 2016