diff --git a/matlab/src/matlab/+arrow/+type/+traits/ListTraits.m b/matlab/src/matlab/+arrow/+type/+traits/ListTraits.m index b67c0218b9f08..5404e0716c84a 100644 --- a/matlab/src/matlab/+arrow/+type/+traits/ListTraits.m +++ b/matlab/src/matlab/+arrow/+type/+traits/ListTraits.m @@ -19,11 +19,13 @@ ArrayConstructor = @arrow.array.ListArray ArrayClassName = "arrow.array.ListArray" ArrayProxyClassName = "arrow.array.proxy.ListArray" - ArrayStaticConstructor = missing + ArrayStaticConstructor = @arrow.array.ListArray.fromMATLAB TypeConstructor = @arrow.type.ListType TypeClassName = "arrow.type.ListType" TypeProxyClassName = "arrow.type.proxy.ListType" - MatlabConstructor = @arrow.array.ListArray.fromMATLAB + % The cell function works differently than other + % "type construction functions" in MATLAB. + MatlabConstructor = missing MatlabClassName = "cell" end diff --git a/matlab/test/arrow/type/traits/tListTraits.m b/matlab/test/arrow/type/traits/tListTraits.m index f2020735ce647..2559d256d47f8 100644 --- a/matlab/test/arrow/type/traits/tListTraits.m +++ b/matlab/test/arrow/type/traits/tListTraits.m @@ -20,11 +20,13 @@ ArrayConstructor = @arrow.array.ListArray ArrayClassName = "arrow.array.ListArray" ArrayProxyClassName = "arrow.array.proxy.ListArray" - ArrayStaticConstructor = missing + ArrayStaticConstructor = @arrow.array.ListArray.fromMATLAB TypeConstructor = @arrow.type.ListType TypeClassName = "arrow.type.ListType" TypeProxyClassName = "arrow.type.proxy.ListType" - MatlabConstructor = @arrow.array.ListArray.fromMATLAB + % The cell function works differently than other + % "type construction functions" in MATLAB. + MatlabConstructor = missing MatlabClassName = "cell" end