Is It Possible To Enable The "Fit To Content" Formatting Option For Custom Blocks?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Andrew
el 10 de Abr. de 2024
Respondida: Dhruv
el 22 de Abr. de 2024
Simulink has a nice feature under the "Format" tab called "Fit To Content" that automatically resizes the block so that the mask fits within the mask. I'd like to be able to use this feature for the custom blocks that I create. Is this possible?
0 comentarios
Respuesta aceptada
Dhruv
el 22 de Abr. de 2024
Hi Andrew,
I understand that you are trying to use the 'Fit to Content' tool for your custom blocks. Currently, this option is available for only specific blocks. I myself tried using it with blocks such as the 'S-function' block, but found that the option to use 'Fit to Content' was disabled.
As a workaround, you can manually scale up the size of the block to accommodate the text field accordingly.
Hope this helps!
0 comentarios
Más respuestas (0)
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!