Simulink-style Custom Gauges in App Designer/Matlab
7 次查看(过去 30 天)
显示 更早的评论
Hello,
I recently came across this neat tutorial on how to make a set of custom UI gauges in Simulink. I was hoping to find the same or expanded capability in Matlab itself and/or the app designer. Is it possible to build a gauge in Simulink and then import it into Matlab as a UI element?
The key components that are useful here, compared to the uigauge
- Custom gauge background from SVG file
- Custom gauge needle from SVG file
- Custom gauge colorbar position
I am not very familiar with Simulink, so I don't know if it is possible to incorporate a simulink-built set of UI controls into a standard Matlab called function.
Another reason I am interested in doing this from Matlab is that the gauge could then be constructed programmatically by selecting gauge backgrounds and needles based on parameters.
Finally, I think something similar must be possible after looking at the flight instuments in the aerospace toolbox. I was hoping to use those as a springboard, but they are unfortunately p-coded. I think they must use something similar, since the various tools look like they are constructed from custom vector graphic needles, backgrounds, and linear gauges.
So, if I wanted to build custom gauges with similar functionality to the flight instruments, inside Matlab or the App Designer, is there a good resource to start with? My Google-fu keeps sending me back to the same 5 tutorials on simulink or the aerospace toolbox.
Cheers y'all.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!