For tusx_sim_setup(), setting individual dimension lengths for optional name-value pair 'trimSize' while 'reorientToGrid' is set to true leads to an error within setLimits().
'reorientToGrid' can still be set to true if 'trimSize' is set with a single scalar (i.e. creates dimensions of equal length).
Leads to error: ... 'reorientToGrid', true, 'trimSize', [512 512 512]...
No error: ... 'reorientToGrid', true, 'trimSize', 512...
For tusx_sim_setup(), setting individual dimension lengths for optional name-value pair 'trimSize' while 'reorientToGrid' is set to true leads to an error within setLimits().
'reorientToGrid' can still be set to true if 'trimSize' is set with a single scalar (i.e. creates dimensions of equal length).
Leads to error:
... 'reorientToGrid', true, 'trimSize', [512 512 512]...
No error:... 'reorientToGrid', true, 'trimSize', 512...