diff --git a/scripts/matlab-online/packageDynare.sh b/scripts/matlab-online/packageDynare.sh
index 71eeb31f3c03bfa2f70b7baf5d0fe80ea6c0bc6b..9e9bc1e78b0a5eaa5657a33140de4b0536a9f7ad 100755
--- a/scripts/matlab-online/packageDynare.sh
+++ b/scripts/matlab-online/packageDynare.sh
@@ -2,7 +2,7 @@
 set -exo pipefail
 
 # Creates a dynare-X.Y.mltbx in the current repository, using the settings below.
-# Needs to be run from Ubuntu 22.04 LTS, with the needed packages installed.
+# Needs to be run from Ubuntu 24.04 LTS, with the needed packages installed.
 
 X13ASVER=1-1-b61
 MATLABPATH=/opt/MATLAB/R2024b