In case anyone comes across this thread, I was able to solve my issue by regenerating my preferences. Here are the steps that were sent to me by MathWorks support. Hope it can help someone in the future!
Another troubleshooting step you can try is regenerating your preferences. To do this first locate the MATLAB Preference directory. This can be found by going to the following location:
Or by running the following command in the MATLAB Command Window:
In this directory there should be a “matlab.prf” file. Make sure MATLAB is closed and rename the directory from R2021a to R2021a_old. Then create a new empty folder with the name “R2021a”.
Then restart MATLAB and it will create the preferences file in the new folder. If this does not work you can always revert back to your old preferences by deleting the new folder and renaming “R2021a_old” back to “R2021a”.