How to attach code here?

조회 수: 2 (최근 30일)
Ramya Sampath
Ramya Sampath 2012년 10월 15일
Sorry I think this is a silly question.. but i cant...I need to clear mistakes in my code.. So i have to attach code here.. but am clicking code and write near %code... but its not display like code, it wont go to next next line, the code seems like paragraph.... So pls say how to do?
  댓글 수: 2
Image Analyst
Image Analyst 2012년 10월 15일
Make sure there is a blank line before your code. Then highlight all of it, and click {}Code. It will format it all as code, even when there are blank lines in the highlighted code.

댓글을 달려면 로그인하십시오.

채택된 답변

Matt J
Matt J 2012년 10월 15일
편집: Matt J 2012년 10월 15일
You're meant to type/paste code directly into your post along with the other text. The "{} Code" icon will add formatting/markup to text you highlight, making it look like code.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Historical Contests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by