Загрузка страницы

MATLAB - fgetl and fgets for reading a line of text

MATLAB - To read from a file in MATLAB, first open the file with fopen.
If fopen returns a -1, there was an error opening the file.

fgetl - read in a line at a time from the MATLAB file, does not keep the newline character
fgets - read in a line at a time from the MATLABE file, KEEP the newline character.

If you want to read data in as a data type other than a string, you can use
fscanf - read from a file, you can include format specifiers like %d (integers), %f (floating point numbers), %c (characters), %s (strings)

Видео MATLAB - fgetl and fgets for reading a line of text канала Painless Programming
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
26 марта 2017 г. 22:21:41
00:07:23
Яндекс.Метрика