general question on format text and notification

Hi All
I have two questions
1- how to copy a code directly here on the text and format it that it 'd be readable , when I do it's like :
clc clear clear all load('input.txt') %load input load ('taget.txt')
2- i do not get notification when someone comments on an answer of my question

 Risposta accettata

Jan
Jan il 11 Feb 2015
I really appreciate, that you ask about the formatting! Thousands of users do not care about this and their questions are not readable. You will find hundreds of threads in which the formatting is explained. In addition there are tutorials about this. Use the search function to find them.

3 Commenti

farzad, here's a very nice tutorial for all the formatting options: http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup. Uses animated gifs to show you exactly what to do.
That's very nice Image Analyst
thank you Simon , this is a great website , so useful, that might be just a small drawback, that might have solution in future , for who wants and doesnt want notifications
"...Thousands of users do not care about this..."
I think it's no so much they don't care as they simply don't take the time and (imo rightly) expect a coding forum when they type or paste code for the input tool to not screw up the formatting they already had.
I've pointed out I don't know how many times that the default of using a word-wrapping, line-ignoring text prose tool for a coding forum is simply wrongheaded approach and is the underlying culprit, not the infrequent, casual or first-time user.

Accedi per commentare.

Più risposte (2)

dpb
dpb il 10 Feb 2015
Modificato: dpb il 11 Feb 2015
1) A) Highlight the code and press the {}Code button, or
B) insert 2 blank spaces at beginning of line.
If you do A) you'll observe it does B).
2) Dunno about that, I don't want notifications so never looked at options...
  1. In MATLAB editor, type control-a, control-i to fix your code's indenting. Then copy it, and paste into the question box here. Highlight your code and click the {}Code icon and it should look correct in the preview window below your edit field.
  2. When you submit the question, at the bottom of the form there is a checkbox that says "Email me when answers are added to this question". Just don't uncheck it and you should be notified.

2 Commenti

that does work only for answer notifications not for comments
I can't help you then - that's a Mathworks issue.

Accedi per commentare.

Categorie

Scopri di più su Historical Contests in Centro assistenza e File Exchange

Richiesto:

il 10 Feb 2015

Commentato:

dpb
il 11 Feb 2015

Community Treasure Hunt

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

Start Hunting!

Translated by