Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

Opening and Running Files Using the Current Folder Browser

Opening Files and Importing Data Using the Current Folder Browser

  1. In the Current Folder browser, right-click the file you want to open or load.

  2. From the context menu, select an option for opening or importing the file:

    • Open — Uses the appropriate MATLAB tool for the file type. For example, loads a MAT-file into the Workspace browser.

    • Open in GUIDE — Opens a FIG-file in GUIDE instead of a figure window.

    • Open as Text — Uses the Editor.

    • Open Outside MATLAB — Uses the application or tool that the operating system associates with the file type.

      For example, .mat is the extension for MATLAB data files and Microsoft Access files. Whereas Open loads the file into the MATLAB workspace, Open Outside MATLAB opens the file into Microsoft Access. See Changing File Associations for the MATLAB Program from the Windows Environment.

    • Load — Uses the Import Wizard. For more information, click Help in the wizard.

See Also

Running M-File Scripts from the Current Folder Browser

For convenience, you can run M-file scripts (M-files that do not require input arguments) from the Current Folder browser:

  1. In the Current Folder browser, change the current folder to the folder containing the file to run.

  2. Right-click the file.

  3. From the context menu, select Run File.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS