Robotran C Documentation
Public Attributes | List of all members
UserIoInfo Struct Reference

Contains information about UserIO. More...

#include <mbs_user_interface.h>

Public Attributes

int n_in
 number of user input port More...
 
int n_out
 number of user output port More...
 
int * size_in
 size_in[i] = size of i-th user input More...
 
int * size_out
 size_out[i] = size of i-th user output More...
 
double ** ptr_in
 ptr_in[i][0] = pointer to the 1st element of the i-th input must be copied More...
 
double ** ptr_out
 ptr_out[i][0] = pointer to the 1st element of the i-th output must be copied More...
 

Detailed Description

Contains information about UserIO.

This structure is intended to automate the treatment of UserIO, in particular for copying that from/to input/output port of Simulink S-function block.

Member Data Documentation

◆ n_in

int n_in

number of user input port

◆ n_out

int n_out

number of user output port

◆ ptr_in

double** ptr_in

ptr_in[i][0] = pointer to the 1st element of the i-th input must be copied

◆ ptr_out

double** ptr_out

ptr_out[i][0] = pointer to the 1st element of the i-th output must be copied

◆ size_in

int* size_in

size_in[i] = size of i-th user input

◆ size_out

int* size_out

size_out[i] = size of i-th user output


The documentation for this struct was generated from the following file: