MATLAB: How to access the prompt location property in masks programmatically

simulink

I am looking for a way to set the Prompt Location property of a mask programmatically.
I could not find it in the following doc:

Best Answer

You can access the prompt location property in masks programmatically by the following command:
MO = get_param(gcb,'MaskObject')
MO.Parameters(1).DialogControl.PromptLocation = 'left'