> 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/op8666/demo-project/create-a-matlab-simulink-model/configure-the-hardware-parameters.md).

# Configure the Hardware Parameters

* Launch **MATLAB**.
* **Change** the **working directory** to be the **project folder previously created** in **CCStudio**.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FsaBTK5p2O0dkWtIuYdHj%2Fimage.png?alt=media&amp;token=9566fcda-7a0a-4de3-a2f1-4069e041fefd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FfEB9MhVpDqNxNHeHru3m%2Fimage.png?alt=media&amp;token=618f5398-44ad-4df3-acb3-21f20b2225c1" alt=""><figcaption></figcaption></figure>

* In the **HARDWARE** menu, click on **Hardware Settings.**

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2Ftix6TUESFucFmpenHM0S%2Fimage.png?alt=media&amp;token=93cd43de-c190-4213-99c7-f19ae29df0f6" alt=""><figcaption></figcaption></figure>

* Select **Solver** in the left pane.
* Set these parameters to these values:
  * Stop time: **inf**
  * Solver Type: **Fixed Step**
  * Solver: **discrete (no continuous states)**
  * Fixed-step size: **0.001**

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FOvJ9ZOk0D4MBGO8OH9nP%2Fimage.png?alt=media&amp;token=236ffd32-7708-4802-a4b7-18bc422d3aac" alt=""><figcaption></figcaption></figure>

* Select **Data Import/Export** in the left pane.
* **Uncheck ALL boxes** in this panel.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FMHBkZopPFPYRVpVzMLjf%2Fimage.png?alt=media&amp;token=c4a6fcc5-0877-451a-9d34-f257cf7ed71c" alt=""><figcaption></figcaption></figure>

* Select **Hardware Implementation** in the left pane.
* Select the **Hardware Board**: **TI Delfino F2837xD**

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2F43bx9zbJbxkjmVdcrMH1%2Fimage.png?alt=media&amp;token=d56dff7b-8004-42a4-8cc6-da1a34c34e3f" alt=""><figcaption></figcaption></figure>

* **Expand** the **Hardware Board Settings** to view the TI Hardware details.
  * Change parameter values if necessary (advanced users).

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FA8j9nTztyCoSxc5k2uJ7%2Fimage.png?alt=media&amp;token=9a5fe34d-5c11-486d-9bfe-24a9e9f2f304" alt=""><figcaption></figcaption></figure>

* Select **Code Generation** in the left pane.
* In the **System target file** field, select **ert.tlc** and click **OK**.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FaexsEsTXmwRfvIjkzzvh%2Fimage.png?alt=media&amp;token=744f230e-ee66-4c7e-96d9-9ba7407ba42f" alt=""><figcaption></figcaption></figure>

* Check that the **Toolchain** setting is **Texas Instruments Code Composer Studio (C2000)**.
* Check that **Build configuration** to set to **Debug**.

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FANErvI0Mr4y8oWtjvyLg%2Fimage.png?alt=media&amp;token=0aa9b9fc-d12b-4924-a043-6455ae779fa2" alt=""><figcaption></figcaption></figure>

* Select **Code Generation - Optimization** in the left pane.
* **Uncheck** the setting **Use memeset to initialize floats and doubles to 0.0**

<figure><img src="https://1188700823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqSz7qPxQbRFCsCnF5Xtl%2Fuploads%2FVQwCpmKySkAgWH55jUPb%2Fimage.png?alt=media&amp;token=01ac68ad-c609-41bf-b3a4-aa7cf3b46c5e" alt=""><figcaption></figcaption></figure>

* Click **OK**.


---

# 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/op8666/demo-project/create-a-matlab-simulink-model/configure-the-hardware-parameters.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.
