Add Customized Elements in Component Library in Matlab App Designer
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Aman Ullah Khan
el 19 de Jul. de 2019
Comentada: Sean de Wolski
el 13 de Ag. de 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 comentarios
Respuesta aceptada
Divya Yerraguntla
el 6 de Ag. de 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:
Más respuestas (1)
Sean de Wolski
el 8 de Ag. de 2019
2 comentarios
Sean de Wolski
el 13 de Ag. de 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)
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!