MATLAB: How to set up MATLAB Builder for COM to build COM objects that can generate zero-based output matrices

basedbuildercomcomtoolindexingMATLAB Builder for COMmatricesmatrixonezero

I would like to set up MATLAB Builder for COM to build COM objects for use with Visual Basic .NET that can generate zero-based output matrices. Currently, all COM objects generated by MATLAB Builder for COM output one-based matrices and I have to manually convert the matrices in Visual Basic from one-based to zero-based.

Best Answer

The ability to set up MATLAB Builder for COM to build COM objects that can generate zero-based output matrices is not available in MATLAB Builder for COM.
MATLAB itself is one-based and as such, it generates COM objects which are consistent with that.