Filter löschen
Filter löschen

How to attach code here?

1 Ansicht (letzte 30 Tage)
Ramya Sampath
Ramya Sampath am 15 Okt. 2012
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 Kommentare
Image Analyst
Image Analyst am 15 Okt. 2012
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Matt J
Matt J am 15 Okt. 2012
Bearbeitet: Matt J am 15 Okt. 2012
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.

Weitere Antworten (0)

Kategorien

Mehr zu Historical Contests finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by