Savepath in Matlab not working

Our lab recently updated to Matlab2023 from 2017 and we are trying to get our experiment running properly. I was able to set up PTB and run the experiment, however, Matlab wont let me save the path and therefore have to redownload psychtoolbox every time matlab is re-opened.
When I right-click my folder ‘Psychtoolbox’, there is an option to ‘remove from path’
but >>which Psychtoolbox returns ‘not found’

Any idea what’s going on here?

assuming this is on windows, perhaps you need to run matlab as
administrator so that you can save the path once.
Even if you cannot make it work, you only have to run
SetupPsychtoolbox, not redownload it.