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 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 15 日
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 Center および File ExchangeHistorical Contests についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by