> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch and save your data in MATLAB

You can upload local data into Domino or access large datasets stored in a database or data service.

## Work with data in Domino:

1. You can copy your data into Domino. If you are working with data on your local machine or in a shared server, you might want to [upload your data into Domino](/cloud/platform-capabilities/core-concepts/projects/manage-dfs-projects/manage-project-files/upload-files-to-domino).

2. You can query your data from Domino. If you have a large dataset stored in a database or data service, you might have to query the database or the API for the data service.

## Step 1: Copy data to Domino project

In this step, you’ll use the terminal to copy your data into the project. The starting file path in your workspace is `/mnt`. By default, this is considered the root of your Domino project. If you add or modify files in `/mnt`, you can save them back to your project when you stop or sync the workspace.

1. Copy and paste the following command to fetch data from the U.S. NOAA Climatology service.

   ```matlab theme={null}
   !curl -o tegel.csv https://www.ncei.noaa.gov/data/global-historical-climatology-network-daily/access/GME00121150.csv
   ```

2. Go to the **Current Folder** to see the downloaded file.

   <img src="https://mintcdn.com/dominodatalab-e871cec4/5Jz7THzuC_hdPldj/images/5.0/matlab-file-download.png?fit=max&auto=format&n=5Jz7THzuC_hdPldj&q=85&s=ce922c14a799df86f97ed69a391865a0" alt="The downloaded file" width="2774" height="674" data-path="images/5.0/matlab-file-download.png" />

<Note>
  The temperature data is in tenths of Celsius degrees. Learn more here: [README File for Daily Global Historical Climatology Network](https://www1.ncdc.noaa.gov/pub/data/ghcn/daily/readme.txt).
</Note>

## Step 2: Save data to Domino project

1. In the navigation bar, click the **File Changes** icon.

   <img src="https://mintcdn.com/dominodatalab-e871cec4/5Jz7THzuC_hdPldj/images/5.0/file-changes-sync.png?fit=max&auto=format&n=5Jz7THzuC_hdPldj&q=85&s=a3f0d31fb661283b44892840e1362f4b" alt="Sync file changes" width="1190" height="498" data-path="images/5.0/file-changes-sync.png" />

2. Click **Sync All Changes**.

## Step 3: Review your changes

1. Click **Domino**.

   <img src="https://mintcdn.com/dominodatalab-e871cec4/5Jz7THzuC_hdPldj/images/5.0/domino-icon.png?fit=max&auto=format&n=5Jz7THzuC_hdPldj&q=85&s=71475dfee1eb4d7e48a822386a05d658" alt="The Domino icon" width="1206" height="990" data-path="images/5.0/domino-icon.png" />

2. In the navigation bar, click **Code** to see the file that you downloaded in the previous steps. Notice that a new revision has been saved.

   <img src="https://mintcdn.com/dominodatalab-e871cec4/5Jz7THzuC_hdPldj/images/5.0/downloaded-file.png?fit=max&auto=format&n=5Jz7THzuC_hdPldj&q=85&s=c7a661f45bbf0112482c3ab1c7ecd42b" alt="New revision of the downloaded file" width="3394" height="970" data-path="images/5.0/downloaded-file.png" />

See the documentation for other methods to copy data into Domino ([curl](https://curl.se/) or [Wget](https://www.gnu.org/software/wget/)) and [query data from Domino](/cloud/platform-capabilities/core-concepts/data/data-source-connectors).
