On C&CZ managed Ubuntu hosts, the “module” command is available. This makes it easy to use specific versions of available software.
To view which modules are available, use:
module avail
and to use Matlab-R2023a:
module add Matlab-R2023a`
For more info, see the Environment Modules website.