diff --git a/matlab/estimation/get_posterior_folder_name.m b/matlab/estimation/get_posterior_folder_name.m
index 25b86f1c8b6375b691dfff125cbee03b0752aafd..fc0fd0b8e463d03b60347dc27fc6f5b1a95112d6 100644
--- a/matlab/estimation/get_posterior_folder_name.m
+++ b/matlab/estimation/get_posterior_folder_name.m
@@ -36,6 +36,8 @@ else
         folder_name='hssmc';
     elseif isdime(options_)
         folder_name='dime';
+    elseif isonline(options_)
+        folder_name='online';
     else
         error('get_posterior_folder_name:: case should not happen. Please contact the developers')
     end