- Go to "Icon & Ports tab"
- Go the section "Icon Drawing Commands”.
- Enter the required text as input to "disp" function (example:disp(5))
- Give a right click on context menu option
- Go to format, select Font style
Change Constant Block's Value's Font
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to change a constant block's values' font. Specifically, the value as shown inside the block.
댓글 수: 0
채택된 답변
Raghunathraju
2023년 3월 29일
Hi Richard,
You can’t change the font of the value in Constant block, instead you can try the following:
Make a mask for a given constant block using the CTRL-M keyboard shortcut or by giving a right click on the block and then select Mask -> Create Mask.
You should now be able to change the block format like you can with other blocks.
댓글 수: 3
Raghunathraju
2023년 4월 3일
Hi Richard
The feature you were asking about is not supported in the current version .Instead you can follow the steps mentioned to mask the block for changing the font , but you will not be able to change the font of the value in the block directly as you were able to do in R2016b.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!