Clear Filters
Clear Filters

How can I create an App Designer app to control, tune and visualize my real-time application running on a Speedgoat computer?

92 views (last 30 days)
I am interested in developing a custom GUI using App Designer to control, tune, and visualize my Simulink Real-Time (SLRT) application running on my Speedgoat target computer. How can I create a custom app for my Speedgoat?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Jul 2024 at 0:00
Edited: MathWorks Support Team on 10 Jul 2024 at 20:50
Here is a summary of tools, resources, and tips for creating a Simulink Real-Time (SLRT) app:

Upgrade MATLAB to a newer release

Expanding App Designer support for SLRT is an active area of development and we recommend using the most recent MATLAB release if possible. For details on new features and recent changes, refer to the SLRT Release Notes.
In addition to this, App Designer underwent significant refactoring in MATLAB release R2022b. So we recommend upgrading to R2022b or beyond for improved overall performance and responsiveness of the app.
 

Use SLRT App Generator

In the release R2022a, we introduced Simulink Real-Time App Generator. It enables you to automatically generate an App Designer app from a model. You can then open the generated MLAPP file in App Designer for additional changes. The App Generator can save you a lot of time compared to designing the App from scratch.
 

App Designer Basics for SLRT

To design your app from scratch, or further customize your SLRT App Generator generated app, the following tutorials are a great place to get started:
Use the following objects and functions in the app code and callbacks:

Use SLRT UI Components

In newer releases, the Component Library in App Designer includes a set of dedicated Simulink Real-Time components that support common operations that interface to a real-time application. For more information, see Create App Designer Instrument Panels by Using Simulink Real-Time Components .
The following screenshot shows all SLRT UI components that are available as of R2024a:

Create a Standalone SLRT App

If you have a MATLAB Compiler license, you can compile your App Designer GUI as a standalone executable to run it on a computer without a MATLAB installation/license. For more information, see:Can I use MATLAB Compiler to create a standalone app for controlling a Simulink Real-Time application in R2020b and later?

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!