diff --git a/scripts/matlab-online/packageDynare.sh b/scripts/matlab-online/packageDynare.sh
index 1ae921dd2f4f564804f0968888f896f75fc790b6..314b7e0266b57d9ddf063eb5b64834f1cf41dc29 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-b60
 MATLABPATH=/opt/MATLAB/R2024b