dyn_ramsey_static.m: abort of steady state file signals error code

(cherry picked from commit 2004641a)
9 jobs for 4.6 in 346 minutes and 44 seconds (queued for 3 seconds)
Status Name Job ID Coverage
  Build
passed build_binaries #16336

00:10:56

passed build_doc #16337

00:01:57

 
  Test And Pkg
passed pkg_macOS #16340
macOS

00:13:00

passed pkg_source #16338

00:01:35

passed pkg_windows #16339

00:31:09

passed test_dynare++ #16344

00:11:39

passed test_matlab #16341

00:54:12

passed test_octave #16343

04:49:41

passed test_old_matlab #16342

01:12:02