About 5,170,000 results
Open links in new tab
  1. fscanf - Read data from text file - MATLAB - MathWorks

    A = fscanf(fileID,formatSpec) reads data from an open text file into column vector A and interprets values in the file according to the format specified by formatSpec. The fscanf function …

  2. how to read data from a .mat file - MATLAB Answers - MathWorks

    Apr 1, 2015 · When you wish to access your data, you first need to get it out of the structure, just like you would get something out of the box before you can use it. To access data in a …

  3. fileread - Read contents of file as text - MATLAB - MathWorks

    text = fileread(filename) returns contents of the file filename as a character vector.

  4. importdata - Load data from file - MATLAB - MathWorks

    Data from the file, returned as a matrix, multidimensional array, or scalar structure array, depending on the characteristics of the file. Based on the file format of the input file, …

  5. load - Load variables from file into workspace - MATLAB

    load(filename) loads data from filename into the MATLAB ® workspace. If filename is a MAT-file, then load(filename) loads variables from the file; if filename is an ASCII file, then …

  6. Import Text Files - MATLAB & Simulink - MathWorks

    Import tabular data from a text file into a table using the readtable function with the file name. For example, create a table from the sample file airlinesmall.csv.

  7. h5read - Read data from HDF5 dataset - MATLAB - MathWorks

    Read data from a dataset, where the data is sampled at a specified spacing between the dataset indices along each dimension. First, display the metadata for a dataset /g4/lon from the HDF5 …

  8. fgets - Read line from file, keeping newline characters - MATLAB

    Read a single line from a file, first excluding newline characters, and then including them. Use the following file. To read the first line from the file badpoem.txt, use fopen to open the file. Then …

  9. fopen - Open file or obtain information about open files - MATLAB

    This MATLAB function opens the file, filename, for binary read access, and returns an integer file identifier equal to or greater than 3.

  10. readlines - Read lines of file as string array - MATLAB - MathWorks

    S = readlines(filename,Name,Value) creates a string array from a file with additional options specified by one or more name-value pair arguments. For example, 'EmptyLineRule','skip' …

Refresh