{"id":2678,"date":"2024-09-13T12:25:54","date_gmt":"2024-09-13T16:25:54","guid":{"rendered":"https:\/\/blogs.mathworks.com\/matlab\/?p=2678"},"modified":"2024-09-13T12:26:33","modified_gmt":"2024-09-13T16:26:33","slug":"the-latest-version-of-matlab-r2024b-has-just-been-released","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/matlab\/2024\/09\/13\/the-latest-version-of-matlab-r2024b-has-just-been-released\/","title":{"rendered":"The latest version of MATLAB: R2024b has just been released"},"content":{"rendered":"<div class = rtcContent><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Representing the culmination of millions of person-hours of work conducted by thousands of engineers around the world, the latest release of MATLAB is always something of a celebration here at MathWorks. R2024b is no exception with thousands of new features, updates, improvements and bug fixes across all of our products. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>While the <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/release-notes.html\"><span>full release notes<\/span><\/a><span> tell you the full, unabridged story, this blog post takes you on a tour of some of my personal highlights.<\/span><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Structural changes<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>First version of the MATLAB package manager (mpm)<\/span><span> The <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/matlab-package-manager.html\"><span>The MATLAB package manager<\/span><\/a><span> helps with distributing and installing MATLAB code. With this initial release, you can:<\/span><\/div><ul  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>Define a collection of MATLAB code as a package, with dependencies on other packages<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>Create a repository of MATLAB packages on a shared file system<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>Programmatically install packages and their dependencies<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>Programmatically manage the installed collection of packages<\/span><\/li><\/ul><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>We think this release is enough to get many users started with package management for their MATLAB code, but there are a few key limitations we plan to address over the next handful of releases:<\/span><\/div><ul  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>We don't yet support a public package repository (e.g. the File Exchange) or private repositories with tools like Artifactory. <\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>We haven't yet fully integrated packages with MATLAB Projects or toolbox (MLTBX) files. <\/span><\/li><\/ul><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I invite you to <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/matlab-package-manager.html\"><span>explore the documentation for now<\/span><\/a><span> and expect a more in-depth article here in the near future. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>(Beta) Plain text live scripts<\/span><span> - Ever since live scripts were introduced in 2016, they used <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/matlab\/matlab_prog\/live-script-file-format.html\"><span>the .mlx file format<\/span><\/a><span> which is a binary format. This is great for representing mixed text, images, code, output etc but it does have some issues. The biggest drawback of this design choice is that they don't work well with version control systems such as git. You also can't read them outside of MATLAB using text editors such as Visual Studio Code (even with <\/span><a href = \"https:\/\/blogs.mathworks.com\/matlab\/2023\/04\/26\/do-you-use-visual-studio-code-matlab-is-now-there-too\/\"><span>the MATLAB extension<\/span><\/a><span>). All that changes now that live scripts can also be saved in a plain text, markdown-like format. This is a beta release and you'll need to install and use the <\/span><a href = \"https:\/\/uk.mathworks.com\/matlabcentral\/fileexchange\/119593-new-desktop-for-matlab-beta\"><span>new desktop beta to access this functionality<\/span><\/a><span>. I'll be doing a deep dive into all of this later this year. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Farewell to the Help Browser<\/span><span> - Before 2024b, when you opened the documentation from MATLAB, it opened in the MATLAB help browser. Now, it <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/release-notes.html#mw_177e61c9-9126-40ff-805f-f07152043be4\"><span>opens using your system browser<\/span><\/a><span>. This simplifies the update process and allows us to serve high quality doc on the latest platform. We thank the MATLAB Help Browser for its many years of service and hope it enjoys its retirement years. This is the latest of a sequence of structural changes to how documentation is installed and accessed in MATLAB. Expect a deeper dive soon.<\/span><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Accessibility<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>(Beta) Improved screen reader support -<\/span><span> Last year I introduced you to the <\/span><a href = \"https:\/\/uk.mathworks.com\/matlabcentral\/fileexchange\/119593-new-desktop-for-matlab-beta\"><span>beta version of the new MATLAB Desktop<\/span><\/a><span>. Back then, my focus was on dark mode support but, as you might expect from the future of the MATLAB desktop, there is a lot more to it than that. Along with the updates to live scripts discussed above there are a range of other improvements, among which is improved support for screen readers. This has received some great feedback from early testers. If you haven't tried the new MATLAB desktop beta (or even if you have!), now is the time as it has seen many improvements recently.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Data sonification -<\/span><span> Many statisticians and data scientists will implore you to visualize your data before you start to analyze it. For some people. however, visualization is not an option. This is where the new <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/ref\/sonify.html\"><span style=' font-family: monospace;'>sonify<\/span><\/a><span> function comes in, allowing you to hear your data instead.<\/span><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>ODE developments continue<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Support for solving ordinary differential equations (ODEs) in MATLAB is going through something of a renaissance at the moment. R2023b <\/span><a href = \"https:\/\/blogs.mathworks.com\/matlab\/2023\/10\/03\/the-new-solution-framework-for-ordinary-differential-equations-odes-in-matlab-r2023b\/\"><span>introduced an entirely new and modern way of setting up and solving ODEs in MATLAB<\/span><\/a><span>. This was built upon in R2024a to provide <\/span><a href = \"https:\/\/blogs.mathworks.com\/matlab\/2024\/04\/17\/faster-ordinary-differential-equations-odes-solvers-and-sensitivity-analysis-of-parameters-introducing-sundials-support-in-matlab\/\"><span>support for the computation of parameter sensitives and new solvers were introduced<\/span><\/a><span> based on the popular <\/span><a href = \"https:\/\/computing.llnl.gov\/projects\/sundials\" target=\"_blank\"><span>SUNDIALS solver suite<\/span><\/a><span> from Lawrence Livermore Labs. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>In R2024b the new interface has seen several incremental updates. You can now <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/release-notes.html#mw_fe9f0f0c-5831-4e91-be30-0eff31b15462\"><span>specify an ODE as implict<\/span><\/a><span>  in the new interface and there is also an option to <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/release-notes.html#mw_33370d90-de93-4297-a545-a29ae363ba5d\"><span>activate a stiffness detection heuristic<\/span><\/a><span>. We've also provided options to set the <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/release-notes.html#mw_3e658974-b158-4600-a330-9599f7f5a92c\"><span>minimum step size for several ODE solvers<\/span><\/a><span> via the SolverOptions property of the ode object. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Last but not least is the new <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/ref\/solveode.html\"><span>Live Task for the interactive solution of systems of ordinary differential equations<\/span><\/a><span>. Live tasks are graphical user interfaces (GUIs) that allow you to explore the mathematics in a point-and-click fashion with the added bonus that you can generate the code that does the same analysis after you've finished. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/09\/r2024bRelease_ver3_1.gif\" width = \"767\" height = \"461\" alt = \"Untitled Project.gif\" style = \"vertical-align: baseline; width: 767px; height: 461px;\"><\/img><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Close enough for all practical purposes<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>The favorite new mathematical function of several MathWorkers is the simple looking <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/matlab\/ref\/isapprox.html\"><span style=' font-family: monospace;'>isapprox<\/span><\/a><span>. Floating point math is more complicated than many people realize and so even something as 'simple' as the question 'are these two numbers equal' can have a complex answer. We end up asking a different question 'Are these two numbers approximately equal?' but what, exactly, do we mean by that? It's surprisingly easy to get this wrong. <\/span><span style=' font-family: monospace;'>isapprox<\/span><span> helps ensure you get it right. <\/span><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>More plots in base MATLAB<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>The MATLAB Graphics and App Building blog will have more details on what's new in this area but I wanted to highlight two new plots in base MATLAB. <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/ref\/violinplot.html\"><span style=' font-family: monospace;'>violinplot<\/span><\/a><span> and <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/ref\/compassplot.html\"><span style=' font-family: monospace;'>compassplot<\/span><\/a><span style=' font-family: monospace;'>.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/09\/r2024bRelease_ver3_2.png\" width = \"381\" height = \"318\" alt = \"\" style = \"vertical-align: baseline; width: 381px; height: 318px;\"><\/img><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/09\/r2024bRelease_ver3_3.png\" width = \"405\" height = \"313\" alt = \"\" style = \"vertical-align: baseline; width: 405px; height: 313px;\"><\/img><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Raspberry Pi 5 support in MATLAB<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>No, I don't mean running MATLAB directly on Raspberry Pi! The support I'm referring has three components<\/span><\/div><ul  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>The ability to communicate with a Raspberry Pi remotely from a computer running MATLAB to acquire data from sensors and imaging devices to process later in MATLAB. This even works via your web browser in MATLAB Online.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>The ability of MATLAB Coder to generate C code from your MATLAB code and deploy that onto Raspberry Pi hardware.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>Communication with other hardware through the GPIO, serial, I2C, and SPI pins of the raspberry pi.<\/span><\/li><\/ul><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>This is all provided by the <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/matlab\/raspberrypiio.html\"><span>MATLAB Support Package for Raspberry Pi Hardware<\/span><\/a><span> which has been around for a long time now. The news here is that support has been extended for the Raspberry Pi 5 that was released last year. A great excuse for me to get one.<\/span><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>The Segment Anything Model (SAM) comes to the MATLAB Image Labeler app<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>This update comes from <\/span><a href = \"https:\/\/uk.mathworks.com\/products\/computer-vision.html\"><span>Computer Vision Toolbox<\/span><\/a><span> and relates to the popular <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/vision\/ref\/imagelabeler-app.html\"><span>Image Labeler app<\/span><\/a><span> that helps you quickly generate ground-truth labels for data in a collection of images. This is useful for those who need to train their own machine learning models based on their own data.  <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>The Image Labeler app now has support for the <\/span><a href = \"https:\/\/arxiv.org\/abs\/2304.02643\" target=\"_blank\"><span>Segment Anything Model<\/span><\/a><span>, a state-of-the-art image segmentation model that uses deep learning neural networks to accurately and automatically segment objects within images without requiring training. More details at <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/vision\/ug\/automatically-segment-and-label-ground-truth-semantic-segmentation.html\"><span>Automatically Label Ground Truth Using Segment Anything Model<\/span><\/a><span>.<\/span><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/09\/r2024bRelease_ver3_4.gif\" width = \"785\" height = \"422\" alt = \"full-sam-segmentation.gif\" style = \"vertical-align: baseline; width: 785px; height: 422px;\"><\/img><span> <\/span><\/h2><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Medical image segmentation in MATLAB with the Medical Segment Anything (MedSAM) Model<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Continuing the theme of image segmentation, an important topic for many of our users, we have <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/medical-imaging\/release-notes.html#mw_fbfd4462-d828-4f98-a8e3-292d5b371e35\"><span>this update<\/span><\/a><span> in <\/span><a href = \"https:\/\/uk.mathworks.com\/products\/medical-imaging.html\"><span>Medical Imaging Toolbox<\/span><\/a><span> which allows you to interactively segment objects in medical images using deep learning.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2024\/09\/r2024bRelease_ver3_5.gif\" width = \"597\" height = \"440\" alt = \"24b_rn_medsam_gif.gif\" style = \"vertical-align: baseline; width: 597px; height: 440px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>This functionality makes use of the extremely new <\/span><a href = \"https:\/\/doi.org\/10.1038\/s41467-024-44824-z\" target=\"_blank\"><span>MedSAM model<\/span><\/a><span> which extends the applicability of <\/span><a href = \"https:\/\/arxiv.org\/abs\/2304.02643\" target=\"_blank\"><span>SAM<\/span><\/a><span> to the medical domain, enabling accurate and efficient segmentation of medical images. While SAM is trained on the <\/span><a href = \"https:\/\/ai.meta.com\/datasets\/segment-anything\/\" target=\"_blank\"><span>SA-1B Dataset<\/span><\/a><span>, MedSAM is trained on a large-scale medical image data set with over 1.5 million image-mask pairs, covering several imaging modalities and cancer types. Check out <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/medical-imaging\/ug\/get-started-with-medical-segment-anything-model-for-medical-image-segmentation.html\"><span>Get Started with Medical Segment Anything Model for Medical Image Segmentation<\/span><\/a><span> for more details.<\/span><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>MATLAB dictionaries go multi-lingual: Python, C\/C++ and .NET<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>In one of the earliest posts on The MATLAB Blog, I <\/span><a href = \"https:\/\/blogs.mathworks.com\/matlab\/2022\/09\/15\/an-introduction-to-dictionaries-associative-arrays-in-matlab\/\"><span>introduced you all to the new <\/span><span style=' font-family: monospace;'>dictionary<\/span><span> datatype in MATLAB<\/span><\/a><span>. There has been a lot of work on this since then on multiple fronts, from performance to additional ease of use improvements. I promise I'll bring you fully to date at some point but for now I wanted to highlight the multi-lingual support we have for MATLAB dictionaries. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>One of the major new improvements in <\/span><a href = \"https:\/\/uk.mathworks.com\/products\/matlab-coder.html\"><span>MATLAB Coder<\/span><\/a><span> for R2024b is that fact that it now supports C\/C++<\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/coder\/release-notes.html#mw_cfd63411-e77e-483a-af1b-423c9cb62f51\"><span> code generation for MATLAB functions that use dictionaries<\/span><\/a><span>.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Over in the Python world we have improved support for the <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/release-notes.html#mw_8cb466e1-f370-4072-9cd1-f24293792b4f\"><span>interoperability between Python and MATLAB dictionaries in R2024b<\/span><\/a><span> while <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/matlab\/ref\/net.createdictionary.html\"><span>support for .NET Dictionaries<\/span><\/a><span> has been around since R2023a!<\/span><\/div><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>New deep learning examples<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>The field of deep learning moves extremely quickly and one of the ways that I keep up is to read and work through the hundreds of MATLAB Deep learning examples in the documentation.  Each one is effectively a complete article that brings you to speed in a specific area. R2024b brings you a bunch of new and updated ones<\/span><\/div><ul  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/simulate-calorie-burn-using-neural-network-in-simulink.html\"><span>Simulate Calorie Burn Using Neural Network in Simulink<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/reproduce-gpu-network-training.html\"><span>Reproduce Network Training on a GPU<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/profile-deep-learning-code-to-improve-performance.html\"><span>Profile Your Deep Learning Code to Improve Performance<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/build-simple-app-for-deep-learning-using-app-designer.html\"><span>Build Simple App For Deep Learning Inference Using App Designer<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/solve-pde-using-fourier-neural-operator.html\"><span>Solve PDE Using Fourier Neural Operator<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/analyze-and-compress-1d-convolutional-neural-network.html\"><span>Analyze and Compress 1-D Convolutional Neural Network<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/out-of-distribution-detection-for-bert-document-classifier.html\"><span>Out-of-Distribution Detection for BERT Document Classifier<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/reduce-memory-footprint-of-deep-neural-networks.html\"><span>Reduce Memory Footprint of Deep Neural Networks<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/train-network-on-cloud-center.html\"><span>Train Network on Amazon Web Services Using MathWorks Cloud Center<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/experiment-manager-on-cloud-center.html\"><span>Use Experiment Manager in the Cloud with MathWorks Cloud Center<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/export-quantized-network-to-simulink.html\"><span>Export Quantized Networks to Simulink and Generate Code<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/define-requirements-for-battery-state-of-charge-estimation.html\"><span>Define Requirements for Battery State of Charge Estimation<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/prepare-data-for-battery-state-of-charge-estimation.html\"><span>Prepare Data for Battery State of Charge Estimation Using Deep Learning<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/train-network-for-battery-state-of-charge-estimation.html\"><span>Train Deep Learning Network for Battery State of Charge Estimation<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/compress-network-for-battery-state-of-charge-estimation.html\"><span>Compress Deep Learning Network for Battery State of Charge Estimation<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/test-network-for-battery-state-of-charge-estimation.html\"><span>Test Deep Learning Network for Battery State of Charge Estimation<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/integrate-ai-network-into-simulink-for-battery-state-of-charge-estimation.html\"><span>Integrate AI Model into Simulink for Battery State of Charge Estimation<\/span><\/a><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/deeplearning\/ug\/deploy-model-for-battery-state-of-charge-estimation.html\"><span>Generate Code for Battery State of Charge Estimation Using Deep Learning<\/span><\/a><\/li><\/ul><h2  style = 'margin: 20px 10px 5px 4px; padding: 0px; line-height: 20px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>What did I miss? What's your favorite new feature?<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>By one internal measure, there are over 1900 updates across all products in this new release, only a tiny fraction of which I've discussed here. Feel free to explore <\/span><a href = \"https:\/\/uk.mathworks.com\/help\/releases\/R2024b\/matlab\/release-notes.html\"><span>the full release notes<\/span><\/a><span> and let me know what you're most excited about in R2024b<\/span><\/div>\n<\/div><script type=\"text\/javascript\">var css = ''; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/matlab\/files\/2024\/09\/r2024bRelease_ver3_4.gif\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><p>Representing the culmination of millions of person-hours of work conducted by thousands of engineers around the world, the latest release of MATLAB is always something of a celebration here at... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/matlab\/2024\/09\/13\/the-latest-version-of-matlab-r2024b-has-just-been-released\/\">read more >><\/a><\/p>","protected":false},"author":176,"featured_media":2714,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20,101,1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/posts\/2678"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/users\/176"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/comments?post=2678"}],"version-history":[{"count":3,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/posts\/2678\/revisions"}],"predecessor-version":[{"id":2723,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/posts\/2678\/revisions\/2723"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/media\/2714"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/media?parent=2678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/categories?post=2678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/tags?post=2678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}