Matlab compatibility fixes
Matlab compatibility fixes

Summary:
Changes suggested by Giso for matlab compatibility. See T53#13041.
Closes T53.

Test Plan:
Have tested dialog in Octave. Works.

Have tested diolog in Matlab. Works.

Reviewers: giso, hendrikk

Reviewed By: hendrikk

Maniphest Tasks: T53

Differential Revision: https://dev.openmha.org/D501

HoerTech-gGmbH/openMHA,HoerTech-gGmbH/openMHA,HoerTech-gGmbH/openMHA,HoerTech-gGmbH/openMHA,HoerTech-gGmbH/openMHA,HoerTech-gGmbH/openMHA,HoerTech-gGmbH/openMHA,HoerTech-gGmbH/openMHA