MATLAB: VolumeViewer ScaleFactors not working in R2018b

MATLABvolumeviewer

I can display a volume (V) using
volumeViewer (V)
but I have problem display the volume using scalefactorr
scaleFactors = [1 1 1]
volumeViewer (V,'ScaleFactors', scaleFactors)
Error using volumeViewer
Too many input arguments.

Best Answer

ScaleFactor was not present in R2018b: https://www.mathworks.com/help/releases/R2018b/images/ref/volumeviewer-app.html?searchHighlight=volumeviewer. It was introduced in R2019a. So an upgrade will to be the only option to use this feature.