About 173,000 results
Open links in new tab
  1. load - MathWorks

    If you do not specify filename, the load function searches for a file named matlab.mat. If filename has no extension (that is, does not end with a period followed by text), load searches for a file whose name is filename with .mat appended to it.

  2. importdata - MathWorks

    Name and extension of the file to import, specified as a character vector or a string scalar. If importdata recognizes the file extension, it calls the MATLAB helper function designed to import the associated file format (such as load for MAT-files or xlsread for

  3. Save and Load Workspace Variables - MathWorks

    To load saved variables from a MAT-file into your workspace, double-click the MAT-file in the Current Folder browser. To load a subset of variables from a MAT-file on the Home tab, in the Variable section, click Import Data. Select the MAT-file you want to load and click Open. You also can drag the desired variables from the Current Folder ...

  4. How to load and import a .mat file? - MATLAB Answers - MathWorks

    Nov 29, 2021 · S = LOAD(FILENAME, '-mat', VARIABLES) forces LOAD to treat the file as a MAT-file, regardless of the extension. Specifying VARIABLES is optional. S = LOAD(FILENAME, '-ascii') forces LOAD to treat the file as an ASCII file, regardless of the extension. LOAD(...) loads without combining MAT-file variables into a structure array.

  5. How to load data from other directory? - MATLAB Answers

    Nov 26, 2015 · myfile.m refers to the myfile.m file in the current folder../myfolder refers to the myfolder folder in the current folder.../myfolder/myfile.m refers to the myfile.m file in the myfolder folder, where myfolder is at same level as the current folder. Each repetition of ../ at the beginning of the path moves up an additional folder level.

  6. uiopen - MathWorks

    File filter, specified as 'matlab', 'load','figure','simulink', or 'editor'. The files that MATLAB displays for each type value are as follows. The files that MATLAB displays for each type value are as follows.

  7. Supported File Formats for Import and Export - MathWorks

    MATLAB includes functions tailored to import specific file formats. Consider using format-specific functions when you want to import an entire file or only a portion of a file. Many of the format-specific functions provide options for selecting ranges or portions of data.

  8. how to import csv file in matlab - MATLAB Answers - MathWorks

    Apr 18, 2013 · readtable('myfile.csv'); this generates a warning -> ' Warning: Column headers from the file were modified to make them valid MATLAB identifiers before creating variable names for the table. The original column headers are saved in the VariableDescriptions property.

  9. load - MathWorks

    Name of file, specified as a character vector or string scalar. If you do not specify filename, the load function searches for a file named matlab.mat. If filename has no extension (that is, no text after a period), load looks for a file named filename.mat.

  10. Import Text Files - MathWorks

    Import lines of plain text in a text file into string arrays using readlines. For example, create a string array from the sample text file, badpoem.txt. Since the text file has four lines of plain text, the function creates a 4-by-1 string array.

Refresh