Before you ask a question, search to see if the question already exists or has been answered.
You can use filters to refine your search.
You can filter by status (answered, answer accepted, or unanswered), category, product, or date asked.
You can also use tags or search directives. All questions are tagged with one or more keywords to help community members find questions and answers of interest.
When searching for an answer, select the best answer based on usefulness and votes, which help indicate quality.
How to ask a good question
Be descriptive, specific, and concise. Example: How can I use a plot to change the line color of a graph?
Focus on a single issue, only.
In the title, include error numbers, if applicable.
List steps you already tried.
Include sufficient code so others can understand the problem.
Add one- or two-word tags that describe your question. Use tags that are brief and easily understood.
Indicate which add-on products (toolboxes or blocksets) are relevant, if applicable.
How to create a helpful answer
When answering a question:
Read the complete question before you start to write an answer.
If you need clarification about a question, add a comment.
If you know an answer already exists, add a link to it in your answer.
Be kind and considerate. Answers that contain profanity, vulgarity, or use an offensive tone will be removed.
How to earn reputation
You earn reputation points when someone:
Accepts one of your answers = 4 points
Votes for your answer = 2 points
Votes for your question = 1 point
The higher your reputation score, the more privileges you earn—from being able to add tags to questions, up to deleting questions, answers, and comments.
Check My MATLAB Answers to view your reputation score and the privileges you’ve earned.
Frequently asked MATLAB questions
The most frequently asked questions about MATLAB and Simulink
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.