> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/rt-lab/get-started/download-and-install-rt-lab.md).

# Download & Install RT-LAB

{% stepper %}
{% step %}

## Review the [Workstation Requirements](https://www.opal-rt.com/docs/rt-lab/overview/workstation-requirements.md)

Before installing RT-LAB, ensure your workstation meets all system requirements. Confirm that the required version of MATLAB and any necessary toolboxes are installed.
{% endstep %}

{% step %}

## Download RT-LAB

1. Go to [OPAL-RT Download Center](https://www.opal-rt.com/download-center/).
2. Register and follow the on-screen instructions.
3. Click **RT-LAB** and download the latest version.
4. A compressed ZIP file will be downloaded.
   {% endstep %}

{% step %}

## Install RT-LAB

1. Close all instances of MATLAB before starting the RT-LAB installation.
2. Decompress the downloaded ZIP file.
3. Double-click **MegaInstaller** to launch the installation.
4. Follow the on-screen instructions to complete the installation.
   1. The MegaInstaller allows you to install RT-LAB and related software (ARTEMiS, RT-EVENTS, RT-XSG, eFPGASIM, Schematic Editor, MMC). You may install all products or select only the ones you need.
5. Keep **Configure the** **Windows Firewall** checked and click **Install**.
   1. If you choose not to allow automatic firewall configuration or use a third-party firewall, configure it manually as described in the [Configure Firewall](https://www.opal-rt.com/docs/rt-lab/get-started/download-and-install-rt-lab/configure-firewall.md) section.
6. Once the installation finishes, click **Finish**.

{% hint style="info" %}
The installer will create or modify:

* `<MATLAB_ROOT>\toolbox\local\startup.m`
* `<MATLAB_ROOT>\toolbox\local\setup_rtlab.m`
* `<MATLAB_ROOT>\toolbox\local\finish.m`

It will also add the following paths to MATLAB:

* `<RT-LAB installation dir>\common\bin`
* `<RT-LAB installation dir>\Simulink\rtw\c\common`
* `<RT-LAB installation dir>\Simulink\libr[xxxxx]`
* `<RT-LAB installation dir>\Simulink\m`
* `<RT-LAB installation dir>\common\bin\x32`

`xxxxx` corresponds to the MATLAB version (e.g., R2021A for MATLAB 9.10).
{% endhint %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/rt-lab/get-started/download-and-install-rt-lab.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
