How do i connect matlab ui with simulink

3 views (last 30 days)
Karthik Holla
Karthik Holla on 22 Mar 2019
Answered: Naga on 28 Jan 2025
i created matlab gui and the simulink model i want it to be combine how can i do those think

Answers (1)

Naga
Naga on 28 Jan 2025
Hello Karthik,
In order to use MATLAB UI with Simulink you can use the MATLAB function "bind". This function will help to connect app components to simulation signals and variables. Additionally, you can also use the MATLAB function "Binding". Refer to the following documentation for more information: Create Apps to Control Simulations
Please refer to the following documentation that demonstrates connecting UI components to model elements by creating bindings and by writing callbacks to set model parameters: Control a Simulink Simulation with App Designer
Please note that these are available from MATLAB Version R2024a.

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!