Compatibility fix: strsplit and strjoin were introduced in MATLAB R2013a

Provide alternative implementations, taken from Dynare.
parent 628b0356
Pipeline #1870 passed with stage
in 1 minute and 33 seconds