About 6,410,000 results
Open links in new tab
  1. Import Text Files - MATLAB & Simulink - MathWorks

    Text files often contain a mix of numeric and text data as well as variable and row names. You can represent this data in MATLAB as tables, timetables, matrices, cell arrays, or string arrays. …

  2. 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, …

  3. 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 …

  4. Import Numeric Data from Text Files into Matrix - MATLAB

    This example shows how to import comma-separated numeric data from a text file. Create a sample file, read all the data in the file, and then read only a subset starting from a specified …

  5. Import Data from Text File to Table - MATLAB & Simulink

    Read Text File as Table. You can import tabular data from a text file into a table using the readtable function. For example, the sample file outages.csv contains comma-separated …

  6. Text Files - MATLAB & Simulink - MathWorks

    Read and write numeric and non-numeric data in delimited and formatted text files, including .csv and .txt files.

  7. How to use the load function to open and read a .txt file?

    Feb 15, 2020 · I have a macbook air and I made a .txt file using Word. I imported it into Matlab and now I want to load it using the load function but Matlab says "Error using load Unable to …

  8. How can I import multiple files into the MATLAB workspace?

    Sep 10, 2012 · If you place all of the files you would like to load into a single directory, you can use the "dir" function to capture the file names. Here is an example: files = dir( '*.txt' );

  9. fscanf - Read data from text file - MATLAB - MathWorks

    This MATLAB function reads data from an open text file into column vector A and interprets values in the file according to the format specified by formatSpec.

  10. readmatrix - Read matrix from file - MATLAB - MathWorks

    Current folder or folder on the MATLAB ® path: Specify the name of the file in filename. Example: 'myFile.txt' File in a folder. If the file is not in the current folder or in a folder on the MATLAB …