Answered
Inquiry Regarding Minor Variations in MATLAB GPU Computation
It is difficult to comment without seeing the code but the most general thing I can think of saying goes as follows: A calculat...

9 months ago | 1

Answered
Difference between RMSE of Curve fitter and calculated RMSE in MS Excel
First, I wanted to confirm your manual calculation of RMSE using the formula you gave but using MATLAB instead of Excel. Here's ...

10 months ago | 2

| accepted

Answered
How do I programmatically switch to Dark Mode (Dark Theme) in R2025a?
This is supported from R2025a onwards. This is what you need to do >> s = settings; >> s.matlab.appearance.MATLABTheme.Persona...

10 months ago | 4

| accepted

Question


How do I programmatically switch to Dark Mode (Dark Theme) in R2025a?
I am running R2025a pre-release. What are the commands to switch to dark mode?

10 months ago | 2 answers | 4

2

answers

Answered
How do get all of my python libraries in matlab?
Your python environment looks strange to me. I've never seen pythonw.exe used in MATLAB Python environment. It's usually python...

11 months ago | 0

| accepted

Answered
Is there a student version of the Aerospace Toolbox?
There is no free student version of MATLAB but there is a version that is heavily discounted. Go to MATLAB for Students - MATLAB...

11 months ago | 1

| accepted

Answered
I'm trying to make a simple calculator for circuits. And I can not figure out how to take the answer and limit to only like two numbers after the decimal place.
This page on the documentation will help explain the details: Formatting Text TotalResistance = 186.66; fprintf("The total res...

11 months ago | 0

| accepted

Answered
GPU programming for Mac M1
I have an M2 Mac and I have just bought an M4 Mac for my wife. I love the hardware on these machines, its superb! I wrote the bl...

11 months ago | 3

| accepted

Answered
Adding Statistics and Machine Learning Toolbox to existing MATLAB
In 2024, the way I'd do this is with the mpm download command on a machine with an internet connection and then transfer the res...

11 months ago | 0

Answered
Working with big tall arrays in an HPC environment
Hi Sebastian I can't comment on the Tall Array situation right now but I'm zooming in on this comment: I am assigning 37 cores...

11 months ago | 0

Answered
Why does the validation loss first decrease and then increase after about 7 epochs while the training loss keeps decreasing?
I think you are right, this is an example of overfitting. There is no guarenteed way to fix it but there are several things you ...

11 months ago | 0

Answered
Vectorized code slower than loops
Another option, if you have the hardware, is to use a GPU. Here, you want to do as much vectorisation as you can. Using my des...

11 months ago | 1

Answered
Vectorized code slower than loops
I made a couple more modifications and came up with a double for-loop that is fastest. One thing that I'd like to point out her...

11 months ago | 1

Answered
How can I use the LAPACK implementations included in Apple Accelerate Framework with MATLAB R2024b?
You can switch the BLAS to Apple Accelerate as described in Life in the fast lane: Making MATLAB even faster on Apple Silicon wi...

11 months ago | 0

| accepted

Answered
Massive slowdown for Apple Silicon in computing SVD
Update:This has now been fixed as of R2025a Update 1 Your script on my M2 in R2025a Update 1: >> slowSVD Elapsed time is 0.00...

11 months ago | 2

| accepted

Answered
Modifying arrow length based on intersection with polygon
The polyxpoly function is what you need polygon_x = [-20 20 20 -20 -20]; polygon_y = [-50 -50 50 50 -50]; origin = [...

1 year ago | 2

| accepted

Answered
What's the actual difference between versions 'a' and 'b' of MATLAB, other than being 6 months apart?
This question comes up so often that I made a blog post about it What’s the difference between the A and B releases in MATLAB? »...

1 year ago | 4

Answered
Matlab Parallel Server vs Matlab + Parallel Computing Toolbox
Hi Anglea Parallel Computing Toolbox provides the parallel language (parfor, parfeval, spmd etc) and will allow you to run prog...

1 year ago | 0

| accepted

Answered
pandas in matlab using iloc for indexing
Indexing into Pandas data frames in this way is not supported. As of R2024a, you can convert the dataframe to a MATLAB table and...

1 year ago | 1

Answered
Matlab ODE function solving using Python Scipy library.
@Simon Mwakitabu If you are still interested in this, you can now call the SUNDIALS solver direct from MATLAB. Details at Faster...

1 year ago | 0

Answered
Using Sundials cvode solver
As of MATLAB R2024a, SUNDIALS is shipped with and supported directly in MATLAB. See my blog post for details Faster Ordinary D...

1 year ago | 0

Answered
SUNDIALS installation in MATLAB
As of R2024a, There is now SUNDIALS support in MATLAB via the ode interface. This incluldes "idas" Details on The MATLAB Blog: ...

1 year ago | 0

Answered
Will MATLAB Live editor ever support spellcheck?
I'm happy to tell you all that spellcheck is now supported as of R2024a. I discuss it in the MATLAB Blog here Two of my ‘White W...

1 year ago | 0

Answered
Support packages in Matlab online (Hyperspectral Imaging Library)
The link that you pointed to, Install Support Packages for MATLAB in MATLAB Online Server - MATLAB & Simulink - MathWorks United...

1 year ago | 0

| accepted

Answered
Can i call matlab from fortran?
There is a section in the documentation that covers this. You can get started at Call MATLAB from Fortran - MATLAB & Simulink -...

1 year ago | 0

Answered
Graycomatrix and nlfilter not Supported for Code Generation
To work out if code generation is supported or not for any given function, go to its documentation page and scroll to the bottom...

1 year ago | 0

Answered
Do I need to move my files and update my path to use git in Matlab?
Hi Doug The way to think about it is that source control begins in a root directory and everything else related to that project...

1 year ago | 0

| accepted

Answered
Error using pyversion, Too many input arguments.
Hi Mukesh The pyversion command is no longer recommended. See the doc at (Not recommended) Change default version of Python int...

1 year ago | 0

Answered
dlarray abstract syntax tree
Hi Michael Good question! I didn't know either so I asked around internally and the answer is 'Currently not'. I'd like to add ...

1 year ago | 1

Answered
[Matlab in python] Does matlab engine supports a .m file whose input is a function handle?
Unfortunately, the MATLAB Engine for python does not support passing Python functions to MATLAB. Running the following in Python...

2 years ago | 0

Load more