MATLAB Central Discussions - Join the conversation!
Hauptinhalt

Ergebnisse für


Watch live as Brandon Armstrong and Cris LaPierre import, visualize, and compute statistics without writing code in MATLAB.
The first challenge when starting a new project is importing and exploring the data to determine what it contains. This is especially true if your files contain a mix of numeric, text, and categorical data.
MATLAB has many new tools to simplify this process. Using app-based workflows enable you to spend more time investigating and exploring your data and less time troubleshooting code. Importantly, the code required to repeat your analysis is auto-generated so you can apply the same steps to new files and have others reproduce your work.
Date: 8/25 at 11am EDT - View in your timezone
In MATLAB Answers, oftentimes we see good comments that provide solutions in a question thread. Those comments should really be answers. On the other hand, there are some answers that do not offer solutions. Those answers should actually be comments. The answer/comment issue makes it harder for readers of a question thread to quickly identify useful information. To tackle this issue, the community team just released the MOVE feature!
What can be moved?
Answers and comments can now be moved in 4 ways within the same question thread:
  1. Change an answer to a comment
  2. Change an answer with comments to a group of comments
  3. Change a comment to an answer
  4. Move a comment
Who can move answers and comments?
New privileges have been awarded to contributors with 2000 reputation points or more. Privileged contributors will see move icons added in the list of actions available for answers and comments.
After an answer or comment is moved, an indication of the move will be displayed with the content.
As always, please let us know your thoughts by leaving a reply below.
Never, I don't typically share code
46%
Never, even when my code is shared
14%
Occasionally
15%
Sometimes
8%
More often than not
5%
Always or almost always
12%
8896 Stimmen
Leave your MATLAB computer at home
35%
Bring computer but don't use MATLAB
18%
Bring computer and use MATLAB
11%
Bring phone and use MATLAB online
3%
Use MATLAB on someone else's comput
1%
Vacation? What's that?
32%
18554 Stimmen
Join us on a upcoming live to learn about how the deep learning frameworks in MATLAB and Simulink can be used with TensorFlow and PyTorch to provide enhanced capabilities for building and training your Machine Learning model.
Watch this preview to learn more. https://youtu.be/ZPQgcFPCFZM
MATLAB (& Mathworks toolboxes) only
50%
Simulink only
2%
Both MATLAB & Simulink
22%
MATLAB & third party toolboxes
6%
Simulink & third party toolboxes
1%
Both ML & SL & 3rd party toolboxes
19%
1043 Stimmen
Yes, if they have what I want.
41%
No, probably not.
59%
1437 Stimmen
T-shirt
33%
Cap/hat
11%
Backpack, bag, satchel
19%
Logo sticker
14%
Mouse pad
12%
Other (tool, toy, Rubik's, etc.)
12%
1592 Stimmen
Join us live on May 26 at 11am for another Livestream Event on YouTube.
We welcome Brian Buechel and Nikola Trica as this week's guests. They will analyze experimental data to quantify the ride quality of a car suspension in MATLAB. They'll work with signals recorded from a car suspension, analyze the data, and visualize the results. At the end, we'll have a shareable report containing code and formatted text that clearly communicates our findings.
Watch the event live or the recording on YouTube. We welcome your questions during the event and let us know what other topics that you are interested in seeing.
More advertising or sympos. exhibit
3%
More media mentions (news segments)
3%
Adjust pricing
59%
Sponsor research & publications
11%
Boost university involvement
21%
Something else (list in comments)
4%
1076 Stimmen
When discussing Q&As in MATLAB Answers, we oftentimes need to reference a function in MATLAB Documentation. The process is quite tedious. You need to search the function in Documentation and copy & paste it into Answers. Now, you can simply use the ‘@doc:’ in Answers’ editor to easily reference a function in Documentation.
How does it work?
1) Simply type ‘@’ and you will see the option to add a Doc link. You can also directly type ‘@doc:’.
2) Start typing the function name. You will see a list of choices on the menu.
3)Select the function and a hyperlink to that function's doc page will be automatically inserted.
Give it a try and we hope you like it! Leave a comment if you have any questions or suggestions.
I'd definitely attend/participate.
27%
I would probably attend.
23%
I might or might not attend.
21%
I would not be interested.
29%
1271 Stimmen
Chen Lin
Chen Lin
Letzte Aktivitätam 28 Apr. 2022

Today, I'm spotlighting Bruno Luong, our newest MVP. Next, let's 'talk about Bruno'!
When we look at Bruno's stats chart below, we'll notice Bruno achieved this major milestone just in 3 years! This is amazing, right? Actually, we are still underestimating Bruno's contribution to the larger MATLAB/Simulink user community by just looking at his reputation points.
Before he started his active contribution to Answers in 2019, Bruno had been a top contributor to the newsgroup for MATLAB & Simulink products – comp.soft-sys-matlab. Sounds a bit old school? Leave a comment if you have participated or are still participating in the newsgroup. I remember back in 2016 when I first chatted with Bruno, he already had about 500 posts in the newsgroup!
Besides helping users with their questions, Bruno has also been contributing high-quality files to File Exchange. Check out the two prestigious badges below. They are showing the highest recognition from both the MathWorks team and millions of community users.
Congratulations, Bruno. We really appreciate your outstanding and long-time contributions to the MATLAB/Simulink user community!



20 minutes makes a difference

I struggled to learn MATLAB at first. A colleague at my university gave me about 20 minutes of his time to show me some basic features, how to reference the documentation, and how to debug code. That was enough for me to start using MATLAB independently. After a few semesters of developing analyses and visualizations, I started answering questions in the forum when I had time. I became addicted to volunteering and learning from the breadth of analytical problems the forum exposed me to.



Have you ever solved a problem using a MathWorks product?

If your answer is YES, you may be the right person to help someone looking for guidance to solve a similar problem. Some answers in the MATLAB Central community forum maintain 1000s of views per month and some files on the File Exchange have 1000s of downloads. Volunteering a moment of your time to answer a question or to share content to the File Exchange may benefit countless individuals in the near and distant future and you will likely learn a lot by contributing too!

  • 3616 questions were asked last month in the forum and in that time, 747 volunteers answered at least one question!
  • 62% of those volunteers were first-time contributors!
  • 335 volunteer contributors shared content in the File Exchange last month!
  • 1: the number of contributions it takes to make a difference.

This week is National Volunteer Week in the USA (April 17-23). Challenge yourself and your colleagues by committing to help a stranger break barriers in their path to learning MATLAB.



How to volunteer and contribute to the MATLAB Central Community

Here are two easy ways to accept the volunteer challenge.

Contribute to the MATLAB Answers Forum

  1. Go to the MATLAB Answers repository. This page shows all unanswered questions starting with the most recent question. Use the filters on the left to see answered questions or questions belonging to a specific category. Alternatively, search for questions using keywords in the search field or visit the landing page.
  2. Open a few questions that interest you based on the question titles and tags.
  3. Decide how you'd like to contribute. Sometimes a question needs refinement or requires a bit of work to address. Decide whether to leave a comment that guides the user in the right direction, answer the question, or skip to the next question. The decision tree below is how some experienced contributors approach these decisions.

Pro tips

  • Newer questions have more traffic and are often answered within an hour or minutes.
  • Multiple answers often add valuable alternative perspectives and solutions.
  • Sometimes answers aren't accepted or the asker disappears. Be not discouraged. Your answer holds much value.



Contribute to the File Exchange

  1. Choose a function, script, demo, or toolbox you created that may be helpful to the community.
  2. Go to the MathWorks File Exchange. Search for submissions that are similar to your idea and decide whether your idea adds value.
  3. Prepare your code for open-source sharing. The best submissions include brief documentation that explains the purpose of the code, inputs, expected outputs and limitations.
  4. Use the "Publish your code" button from the link above. This will guide you through the submission process.



Make a difference

No matter what level you are at as a MATLAB developer, you have skills that others around you could benefit from learning. Take the challenge and become a giant.

Let us know about your experience with MATLAB Central volunteers or your experience becoming a MATLAB Central volunteer in the comments below!

MATLAB EXPO is open to everyone:
Industry Tracks:
  • AI in Engineering
  • Modeling and Simulation
  • Implementation and DevOps
  • Algorithm Development and Deployment
  • 5G, Wireless, and Radar
  • Autonomous Systems and Robotics
  • Electrification, Motor Control, and Power Systems
  • Preparing Future Engineers
Special Event: Save the Earth: Accelerate Climate Science and Electrify Everything
The climate crisis is here. Engineers and scientists are engaged to help. Engineers innovate rapidly to decarbonize energy production, electrify everything, and design sustainable products. Scientists accelerate their research to inform climate adaptation and enhance understanding through advances in cloud computing and artificial intelligence. And educators train the next generation to take these advances even further. In this talk by Dr. Tanya Morton, you will learn how scientists and engineers use MATLAB® and Simulink® to tackle this great challenge—to save the earth and build a clean, electrified future!
Don't waste time searching-just ask
6%
A few minutes or 1-2 searches
21%
A few hours, most Qs aren't unique
40%
Days-asking for help is last resort
14%
Infinite. I'll never ask a question
20%
23801 Stimmen
None
30%
Less than what tasks demand
40%
Sufficient for what tasks demand
20%
More than sufficient
5%
Too much
4%
384 Stimmen
Learn new skill (e.g.Deep Learning)
68%
Complete a Cody Challenge Group
3%
Upload a new File Exchange program
3%
Take online/in-person MATLAB course
11%
Answer an "Answers" forum question
15%
1220 Stimmen

.

MATLAB R2022a provides app developers more control over user navigation through app components using the keyboard's Tab key.

Part 1. The new focus function: programmatically set keyboard focus to a UI component

Part 2. Modify focus order of components

Today we'll review Part 2. See yesterday's Community Highlight for Part 1.

-------------------------------------------------------------------------------------------------

Well-designed apps have an obvious flow through interactive fields and, as we learned yesterday, using the Tab key to move the focus to the next UI component is faster and more efficient than using a mouse. Here we'll learn how to read and set the tab order of UI components in an app.

Understanding tab and stacking order

By default, tab order in MATLAB apps is controlled by the stacking order in the Component Browser. Initially, the stacking order within the component browswer is based on the sequence in which the objects were added to the container object within the app. MATLAB R2020b gave us control to edit the stacking order by selecting a component and using either the Reorder tool from the Canvas toolstrip or by right-clicking the component and selecting Reorder from the context menu [1]. Tab order flows from bottom to top through the Component Browswer hierarchy for objects that are focusable. Sending a component backward within the stack sets its tab order to earlier relative to other components.

Setting tab focus order in R2022a

Three additional tab order features were added in MATLAB R2022a that make it easier to control app navigation with the Tab key.

1. Sort and Filter by Tab Order : Instead of using the Reorder tool which lists components in reverse tab-order and includes components that are not focusable, filter the list by focusable components and sort them by tab-order using the View dropdown menu within the Component Browser (label 1 in image below). From here, you can drag and drop components to set their tab (and stacking) order.

2. Auto Tab Order : To automatically sort focusable components within your app so that the tab order is from left-to-right and then top-to-bottom, in App Designer, from Design View, select the Canvas tab > Tab Order button > Apply Auto Tab Order (label 2 in image below). Alternatively, you can apply auto tab order to components within a container such as a uipanel or uitab by right-clicking on the container within the Component Browser and selecting Apply Auto Tab Order.

3. Visualize Tab Order : You no longer have to read and interpret the handle names in the component browser to understand the current tab order of UI components. Instead, view an animation of tab order within App Designer. From Design View, select the Canvas tab > Tab Order button > Visualize Tab Order (label 3 in image below).

.

Contextual focus control: the power of combining focus() with setting tab order

Yesterday's Community Highlight showed how to programmatically set UI component focus using the focus(c) function. This, combined with control of tab order, allows app developers to implement contextual focus control. For example, when a radio button is selected in the GIF below, the corresponding UI Tab is selected programmatically and the keyboard focus is set to the first component within the UI Tab thus allowing the user to smoothly continue keyboard navigation. This is achieved by a callback function that responds to changes in the Button Group that sets the SelectedTab property of the TabGroup and uses the new focus() function. For details, see the attached focusAndTabOrderDemo.mlapp.

-------------------------------------------------------------------------------------------------

Stay tuned

Follow Community Highlights to get notifications for new content.

Let us know what interests you in the new MATLAB R2022a release in the comment section below.

See also

Footnotes

[1] R202b release notes: change the stacking order of UI components

This Community Highlight is attached as a live script.

All of the time
5%
Most of the time
45%
Less than half the time
34%
Never
12%
It doesn't matter
3%
806 Stimmen
Go to top of page