Add Customized Elements in Component Library in Matlab App Designer
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Aman Ullah Khan
le 19 Juil 2019
Commenté : Sean de Wolski
le 13 Août 2019
Is it possible to add customized symbols in the Component Library of Matlab App Designer.
I need to design an application that describes a manufacturing process. For this application I need to add user defined symbols as listed below to the Comonent Library
- Products (inputs/outputs) --> Spherical Shape
- Process operators --> Rectangular Shape
- Resources --> Rectangle Shape with Soft Edges
- Energies --> Hexagon Shape
- Information --> Diamond Shape
- Connector --> Arrow Shape
These symbols i.e. products (inputs/outputs), process operators, resources, eneriges and information have different shapes as described above. The symbols have to be r defined once with attributes and then can be combined via drag and drop from Component Library to display the manufacturing process. There are rules on how to connect the symbols to eachother. These rules define how the Symbols can be connected to each other and I guess thes rules have to described in the code.
So my question is can I use Matlab App Designer for this Application ? Is it the right tool for me to start off with to design this Application that depicts a manufacturing process.
I highly appreciate your time and your co-operation.
Thanks and Best Regards.
0 commentaires
Réponse acceptée
Divya Yerraguntla
le 6 Août 2019
Hi,
This can be done by creating a custom ActiveX control, or by downloading and using an existing one. You can insert an ActiveX control through the GUIDE interface (left pane, button at the bottom right), or by using the 'actxcontrol' command:
https://www.mathworks.com/help/matlab/ref/actxcontrol.html. Each of these controls will have their own custom properties and events.
You could also try using Simulink to create customized blocks. Have a look at this link:
Plus de réponses (1)
Sean de Wolski
le 8 Août 2019
2 commentaires
Sean de Wolski
le 13 Août 2019
You're welcome!
Also, feel free to reach out to your MathWorks contact if you'd like to WebEx with someone regarding your specific challenge (i.e. getting XML->SimEvents)
Voir également
Catégories
En savoir plus sur Classical Control Design dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!