Add Customized Elements in Component Library in Matlab App Designer
15 views (last 30 days)
Show older comments
Aman Ullah Khan
on 19 Jul 2019
Commented: Sean de Wolski
on 13 Aug 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 Comments
Accepted Answer
Divya Yerraguntla
on 6 Aug 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:
More Answers (1)
Sean de Wolski
on 8 Aug 2019
2 Comments
Sean de Wolski
on 13 Aug 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)
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!