general question on format text and notification
1 view (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Jan
on 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 Comments
dpb
on 11 Feb 2015
"...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.
More Answers (2)
Image Analyst
on 10 Feb 2015
- 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.
- 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 Comments
See Also
Categories
Find more on Historical Contests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!