Error only in versions after 2023b “Warning: Background transparency is not supported; using white instead.”
So far I have tried plotting and exporting the figure with versions 2024b, 2025b and MatlabOnline. Unfortunately, I am running into wall with generating/exporting figures with transparent background. For any type of plots, even just 2D plots:
[a, b] = deal(rand(5,1), rand(5,1))
plot(a,b)
In the past I would just click Edit > Copy Figure and paste into my word doc or anywhere. I checked theEdit > Copy Options… and set the Transparent background. Plots generated by these versions alway retain the background color white or black depending on the theme setting. The transparent option does not even show up if I go through File > Export Setup…>Export .
If I try to export in command in 2024b & 2025b I get the warning:
On Matlab Online I get even more warnings:
Warning: exportsetupdlg will be removed. Using uiexportdlg instead.
> In exportsetupdlg (line 27)
In matlab.graphics.internal.toolstrip.FigureToolstripActionFactory
In matlab.graphics.internal.toolstrip.FigureToolstripActionFactory
In matlab.graphics.internal.toolstrip/FigureToolstripActionFactory/executeAction
In matlab.graphics.internal.toolstrip.FigureToolstripManager.actionCallback
Warning: Background transparency is not supported; using black instead.
Warning: Background transparency is not supported; using black instead.
I have been using Matlab for a long time so I have not fiddled with any settings for years. I test ran plot scripts that I used with 2023b and previous versions successfully before but this issue persist with the new Matlab versions.
I was excited to see 2025 versions got dark theme but can’t even use for this minor but very inconvient issue. Please help!
Update: Just reinstalled 2023b, now getting the same error on 2023b too!So far I have tried plotting and exporting the figure with versions 2024b, 2025b and MatlabOnline. Unfortunately, I am running into wall with generating/exporting figures with transparent background. For any type of plots, even just 2D plots:
[a, b] = deal(rand(5,1), rand(5,1))
plot(a,b)
In the past I would just click Edit > Copy Figure and paste into my word doc or anywhere. I checked theEdit > Copy Options… and set the Transparent background. Plots generated by these versions alway retain the background color white or black depending on the theme setting. The transparent option does not even show up if I go through File > Export Setup…>Export .
If I try to export in command in 2024b & 2025b I get the warning:
On Matlab Online I get even more warnings:
Warning: exportsetupdlg will be removed. Using uiexportdlg instead.
> In exportsetupdlg (line 27)
In matlab.graphics.internal.toolstrip.FigureToolstripActionFactory
In matlab.graphics.internal.toolstrip.FigureToolstripActionFactory
In matlab.graphics.internal.toolstrip/FigureToolstripActionFactory/executeAction
In matlab.graphics.internal.toolstrip.FigureToolstripManager.actionCallback
Warning: Background transparency is not supported; using black instead.
Warning: Background transparency is not supported; using black instead.
I have been using Matlab for a long time so I have not fiddled with any settings for years. I test ran plot scripts that I used with 2023b and previous versions successfully before but this issue persist with the new Matlab versions.
I was excited to see 2025 versions got dark theme but can’t even use for this minor but very inconvient issue. Please help!
Update: Just reinstalled 2023b, now getting the same error on 2023b too! So far I have tried plotting and exporting the figure with versions 2024b, 2025b and MatlabOnline. Unfortunately, I am running into wall with generating/exporting figures with transparent background. For any type of plots, even just 2D plots:
[a, b] = deal(rand(5,1), rand(5,1))
plot(a,b)
In the past I would just click Edit > Copy Figure and paste into my word doc or anywhere. I checked theEdit > Copy Options… and set the Transparent background. Plots generated by these versions alway retain the background color white or black depending on the theme setting. The transparent option does not even show up if I go through File > Export Setup…>Export .
If I try to export in command in 2024b & 2025b I get the warning:
On Matlab Online I get even more warnings:
Warning: exportsetupdlg will be removed. Using uiexportdlg instead.
> In exportsetupdlg (line 27)
In matlab.graphics.internal.toolstrip.FigureToolstripActionFactory
In matlab.graphics.internal.toolstrip.FigureToolstripActionFactory
In matlab.graphics.internal.toolstrip/FigureToolstripActionFactory/executeAction
In matlab.graphics.internal.toolstrip.FigureToolstripManager.actionCallback
Warning: Background transparency is not supported; using black instead.
Warning: Background transparency is not supported; using black instead.
I have been using Matlab for a long time so I have not fiddled with any settings for years. I test ran plot scripts that I used with 2023b and previous versions successfully before but this issue persist with the new Matlab versions.
I was excited to see 2025 versions got dark theme but can’t even use for this minor but very inconvient issue. Please help!
Update: Just reinstalled 2023b, now getting the same error on 2023b too! background-transparency, 2024b, 2025b, warning MATLAB Answers — New Questions









