How to zoom the generated code in Embedded Coder App?

Hello all,
I would like to know if there is a possibility to increase the font size or zoom the code generated from a simulink model by an Embedded coder.
Thank you

 採用された回答

Kshittiz
Kshittiz 2023 年 7 月 24 日

0 投票

Hey,
To zoom the generated code in Embedded Coder, you can follow these steps:
  1. In the Embedded Coder app, navigate to the "Code Generation" tab.
  2. Under the "Code Generation" tab, click on the "Code perspective" button to switch to the code perspective view.
  3. Once you are in the code perspective view, you can use the standard zoom functionality of your operating system to zoom in or out :
  • On Windows, you can use the "Ctrl" key along with the "+" or "-" keys to zoom in or out.
  • On macOS, you can use the "Command" key along with the "+" or "-" keys to zoom in or out.
I hope this helps.
Thanks

その他の回答 (1 件)

Angelo Yeo
Angelo Yeo 2023 年 7 月 24 日

0 投票

I assume you are using R2023a as described in the "Release" panel. In R2023a, you can press Ctrl + and Ctrl - to zoom in or out font size in the code panel and code generation reports.

5 件のコメント

Harish
Harish 2023 年 7 月 24 日
Hi,
Thankyou for the answer. This was the first thing I actually tried. Unfortunately, it is't working.
Angelo Yeo
Angelo Yeo 2023 年 7 月 24 日
Which release are you using?
Harish
Harish 2023 年 7 月 24 日
編集済み: Harish 2023 年 7 月 24 日
I am using R2023a. I could zoom in the code generation report. Here the complete window is being zoomed instead of just the code.
Angelo Yeo
Angelo Yeo 2023 年 7 月 24 日
I see. That is an expected behavior. You cannot zoom in only the generated code in the code generation report. If you want to zoom in the generated code only, you need to use the code panel that you get by clicking "View Code" in the picture below.
Harish
Harish 2023 年 7 月 24 日
Thakyou for the answer. Just to add on this answer,is it possible to zoom the code here after clicking on "View Code"? If yes, I am unable to do that.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品

リリース

R2023a

質問済み:

2023 年 7 月 21 日

コメント済み:

2023 年 7 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by