Saving code as image

조회 수: 7 (최근 30일)
Sreejaun
Sreejaun 2024년 6월 30일
답변: Matlab Pro 2024년 6월 30일
I have coded a program in Matlab editor, but now i need to add it as an image in my word document. Pls tell me how to do it.

답변 (1개)

Matlab Pro
Matlab Pro 2024년 6월 30일
Well - just press the "Print Screen" button on your Keyboard (or use any kind of Snipping Tool)
- to capture the screen image (if the whole code fits your screen) and then copy it to the Word document
If it does not fit in your wholes creen
  1. Open Paint brush application
  2. "Divide" the "snipping"/Capturing of the code into few parts (as the # of times it fits your screen: )
  3. Snip/Capture what is currently seen on screen
  4. Paste it into PaintBrush(see "snipping code1.png")
  5. Scroll Matlab's Editor to the next part of the code that was not snipped yet
  6. Snip again
  7. Enlarge the Paint Brush image (File/ Properties) (See "snipping code2.png" + "(see "snipping code3.png")
  8. Pase the new part of the code and align it with the previose section (see "snipping code4.png" where the 2 snipping are emphesized)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by