How to deploy simulink dashboard to app designer

3 views (last 30 days)
I use a lot of customizable block for the simulation demo like vertical gauge, slider, etc.
now i want to create standalone app, which i believe i need to create a new GUI using app designer.
However, there is no customizable vertical gauge on App designer's library component.
Is there any way to "copy+paste" simulink dashboard to App designer ?

Answers (1)

Shreshth
Shreshth on 10 Jul 2024
Hello skamajaya,
For the purpose of using vertical gauge in the GUI you are trying to build you can use the command g.orientation to use the vertical gauge too.
You also have the option of customizing the properties of this linear gauge.
Please refer to this documentation by MathWorks to learn about the fucntions require to control gauge properties.
Hope it helps,
Thanks
  1 Comment
skamajaya
skamajaya on 10 Jul 2024
Thanks for your answer,
after regarding the documentation you proivided, i conclude that linear gauge on app designer has inferior functuonality than the simulink cuztomizable gauge dashboard.
below is the functionalities that is not supported by app designer but can be found in simulink dashboard:
  • value bar
  • backround image
  • foreground image
creating a "value bar" like in app designer is difficult things to do using a plot. Additionally, i am not sure that we can overlay another linear gauge for the "needle".
for my application, i need to have linear gauge showing something like this:
  • a value bar indicating the RPM of a motor
  • a dynamic threshold line indicating the maximum of RPM
in simulink dashboar, i can implement them by using two customizable gauge: one for indicating value bar, the scale, backrgound. Another one just showing threshold "needle"; i put on top the first one.
so not alone that we cannot copy paste something we already develop, there is no easy way to reproduce the same functionality in the app designer.

Sign in to comment.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!