Scilab Function

mgetstr - read a character string

### Sequence d'appel

  `str=mgetstr([n,fd])`

### Parametres

- `n` :a positive scalar: The number of character to read.
- `fd` : scalar. The `fd` parameter returned by the function `mopen`. -1 stands for last opened file. Default value is -1.
- `str` : a character string

### Description

mgetstr function allows to read a character string in a binary file. If EOF is reached before read completion only the properly read values will be returned.

### Voir aussi

`mclose` `meof` `mfprintf` `fprintfMat` `mfscanf` `fscanfMat` `mget` `mgetstr` `mopen` `mprintf` `mput` `mputstr` `mscanf` `mseek` `mtell`