MATLAB Answers

How to change the base mask of a custom-made block?

5 views (last 30 days)
Frauke
Frauke on 20 Jun 2017
Edited: Girish babu P on 4 Oct 2019
I have coded my own pump block in the Thermal Liquid domain and would like to hae a drop down menu in the base mask, where you can choose between entering a function for the pump or table data. How do I access the base mask?

  0 Comments

Sign in to comment.

Answers (2)

Vishal Neelagiri
Vishal Neelagiri on 22 Jun 2017
You can refer to the following documentation links which explain how to create a base mask and also how to control it programatically:

  1 Comment

Frauke
Frauke on 23 Jun 2017
I saw the documentation (I also read the simscape language guide) and it is only telling me, how I can create a mask on top of the base mask or view the base mask.
I would like to create a base mask that is kind of part of the library. I want to change the appearance of the paramaters which I define in my custom made block. For example present them on tabs as in the foundation labrary.

Sign in to comment.


Girish babu P
Girish babu P on 4 Oct 2019
Edited: Girish babu P on 4 Oct 2019
  • To modify the Base mask for a custom made blocks
  • first , right click on the custom block--> Library Links--> Goto Libaray links--> unlcok the libaray --> we can edit the base masked blocks

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!