Manage Files and Folders - MATLAB & Simulink - MathWorks Deutschland (2024)

Main Content

Manage Files and Folders

This table shows how to create, open, move, and rename files and folders on local and network drives. If you have MATLAB Connector installed on your system, you also can access files and folders in MATLAB® Drive™ from MATLAB.

ActionTools WorkflowFunction Alternative
Create a new folder

In the Current Folder browser, right-click in white space, and then select New > Folder.

MATLAB creates and selects a folder named New Folder in the current folder.

Use the mkdir function. For example, create a subfolder named newdir in a parent folder named parentFolder:

mkdir('parentFolder','newdir');
Move a file or folder

In the Current Folder browser, click and drag the item.

You cannot move a folder while it is on the search path.

Use the movefile function. For example, move the file named myfile.m in the current folder to the folder, d:/work:

movefile('myfile.m','d:/work');
Rename a file or folder

In the Current Folder browser, right-click the item and select Rename.

File names must start with a letter, and can contain letters, digits, or underscores.

Use the movefile function. For example, in the current folder, rename myfile.m to oldfile.m:

movefile('myfile.m','oldfile.m');
Open a file in MATLAB

On the Home tab, in the File section, click Open Manage Files and Folders- MATLAB & Simulink- MathWorks Deutschland (1), and then select a file to open.

You also can double-click the file in the Current Folder browser.

To open a file in the Editor as a text file, even if the file type is associated with another application or tool, in the File section, click Open > Open as Text.

Use the open function. The file opens in MATLAB or in an external application, depending on the file extension.

Open a file in another program

In the Current Folder browser, right-click the file and select Open Outside MATLAB. The file opens in the application or tool that the operating system associates with the file type.

Reopen a recently opened file

On the Home tab, in the File section, click Open Manage Files and Folders- MATLAB & Simulink- MathWorks Deutschland (2), and select a file from the Recent Files section. To reopen a recently opened project, select a project from the Recent Projects list.

none
Preview file contents without opening the file

In the Current Folder browser, right-click the file and select Show Details. The Details Panel expands.

Not supported for live scripts and functions.

none
Delete a file or folder

In the Current Folder browser, select the file or folder and press Delete.

By default, MATLAB deletes or recycles files and folders according to your operating system preferences. To permanently remove the selection when the system preference is set to recycle, press Shift+Delete.

On Linux® systems, you can request that MATLAB move deleted files to a temporary folder by setting the Deleting files preference. Access this preference on the Home tab, in the Environment section, by clicking Manage Files and Folders- MATLAB & Simulink- MathWorks Deutschland (3) Preferences. Select MATLAB > General.

To delete a file, use the delete function. For example, delete a file named myfile.m in the current folder:

delete('myfile.m');

By default, files are permanently removed. To move deleted files to a temporary folder instead, use the recycle function or set the Deleting files preference.

To delete a folder, use the rmdir function.

Note

You cannot recover folders deleted using rmdir.

View MATLAB Drive recent activity

In the Current Folder browser, right-click any MATLAB Drive file or folder and select MATLAB Drive > View Recent Activity....

none
Open MATLAB Drive online

In the Current Folder browser, right-click any MATLAB Drive file or folder and select MATLAB Drive > Go to MATLAB Drive Online....

none

To open the Current Folder browser if it is not visible, go to the Home tab, and in the Environment section, click Layout. Then, under Show, select Current Folder. Double-clicking a subfolder displays its contents, and makes that folder the current folder.

Manage Files and Folders in MATLAB Online

MATLAB Online™ provides access to MATLAB from a standard web browser. In MATLAB Online, you only have access to the files and folders in your MATLAB Drive, and some file actions are not supported.

For more information about how to access files in MATLAB Online, see Access Files in MATLAB Online.

See Also

edit | mkdir | open | movefile | rmdir | delete | recycle

Related Topics

  • Save and Back Up Code
  • Save and Load Workspace Variables
  • Errors When Updating Folders on Search Path
  • Access Files in MATLAB Online
  • Share Folders Using MATLAB Drive

MATLAB-Befehl

Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:

 

Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.

Manage Files and Folders- MATLAB & Simulink- MathWorks Deutschland (4)

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
  • 日本 (日本語)
  • 한국 (한국어)

Contact your local office

Manage Files and Folders
- MATLAB & Simulink
- MathWorks Deutschland (2024)
Top Articles
Biggie, assassiné il y a 24 ans : que devient sa fille T'yanna Wallace ?
Diaporama : Biggie, assassiné il y a 24 ans : que devient sa fille T'yanna Wallace ?
Where are the Best Boxing Gyms in the UK? - JD Sports
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Euro (EUR), aktuální kurzy měn
80 For Brady Showtimes Near Marcus Point Cinema
Body Rubs Austin Texas
Z-Track Injection | Definition and Patient Education
Triumph Speed Twin 2025 e Speed Twin RS, nelle concessionarie da gennaio 2025 - News - Moto.it
Localfedex.com
Melfme
Best Cheap Action Camera
Bhad Bhabie Shares Footage Of Her Child's Father Beating Her Up, Wants Him To 'Get Help'
Dark Souls 2 Soft Cap
Lesson 3 Homework Practice Measures Of Variation Answer Key
U.S. Nuclear Weapons Complex: Y-12 and Oak Ridge National Laboratory…
Cranberry sauce, canned, sweetened, 1 slice (1/2" thick, approx 8 slices per can) - Health Encyclopedia
Audrey Boustani Age
Used Wood Cook Stoves For Sale Craigslist
Hope Swinimer Net Worth
How to Store Boiled Sweets
Best Nail Salon Rome Ga
Char-Em Isd
WEB.DE Apps zum mailen auf dem SmartPhone, für Ihren Browser und Computer.
Weather Rotterdam - Detailed bulletin - Free 15-day Marine forecasts - METEO CONSULT MARINE
All Obituaries | Buie's Funeral Home | Raeford NC funeral home and cremation
Mikayla Campinos Laek: The Rising Star Of Social Media
Vegas7Games.com
How to Download and Play Ultra Panda on PC ?
Menus - Sea Level Oyster Bar - NBPT
27 Paul Rudd Memes to Get You Through the Week
SOGo Groupware - Rechenzentrum Universität Osnabrück
Core Relief Texas
Meggen Nut
10 Best Quotes From Venom (2018)
Progressbook Newark
Of An Age Showtimes Near Alamo Drafthouse Sloans Lake
Joe's Truck Accessories Summerville South Carolina
Mistress Elizabeth Nyc
Restored Republic December 9 2022
How are you feeling? Vocabulary & expressions to answer this common question!
Mvnt Merchant Services
Cal Poly 2027 College Confidential
Gary Lezak Annual Salary
B.C. lightkeepers' jobs in jeopardy as coast guard plans to automate 2 stations
Craigslist Pets Plattsburgh Ny
18006548818
Memberweb Bw
Random Animal Hybrid Generator Wheel
10 Types of Funeral Services, Ceremonies, and Events » US Urns Online
Fluffy Jacket Walmart
Page 5747 – Christianity Today
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 5959

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.