MATLAB: How to use Fixed-Point Designer on the Simulink model that contains library blocks

blocksdesignerfixed-pointlibrarysimulink

I have a Simulink model with double datatypes and inside my model I have library blocks. I want to use the Fixed-Point Tool to convert my model over to fixed-point datatypes. How can I do this without breaking the link to my library?

Best Answer

You need to create a block mask for each library subsystem. You can then promote the datatype parameter for blocks inside that subsystem to the library subsystem mask. See this example for how to promote a parameter to a mask: