How to deploy simulink dashboard to app designer

조회 수: 6 (최근 30일)
skamajaya
skamajaya 2024년 7월 9일
댓글: skamajaya 2024년 7월 10일
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 ?

답변 (1개)

Shreshth
Shreshth 2024년 7월 10일
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
skamajaya
skamajaya 2024년 7월 10일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by