From 6c099ab9ae4cf7403c4170b64cbc511aeeb590ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9F=83=E5=8D=9A=E6=8B=89=E9=85=B1?= Date: Mon, 15 Jan 2024 16:53:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DDataTypes.NDTable=E7=9A=84?= =?UTF-8?q?=E7=82=B9=E7=B4=A2=E5=BC=95=E4=B8=8D=E8=83=BD=E7=BA=A7=E8=81=94?= =?UTF-8?q?=E5=85=B6=E5=AE=83=E7=B4=A2=E5=BC=95=E8=B5=8B=E5=80=BC=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- +MATLAB/+DataTypes/NDTable.m | 4 +++- +MATLAB/Version.m | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/+MATLAB/+DataTypes/NDTable.m b/+MATLAB/+DataTypes/NDTable.m index fdc4dad..290dca1 100644 --- a/+MATLAB/+DataTypes/NDTable.m +++ b/+MATLAB/+DataTypes/NDTable.m @@ -319,7 +319,9 @@ if isscalar(indexOp) obj.Data(Indices{:})=varargin{1}; else - obj.Data(Indices{:}).(indexOp(2:end))=varargin{:}; + Temp=obj.Data(Indices{:}); + Temp.(indexOp(2:end))=varargin{:}; + obj.Data(Indices{:})=Temp; end end function n = parenListLength(obj,indexOp,Context) diff --git a/+MATLAB/Version.m b/+MATLAB/Version.m index 1942be9..b66f739 100644 --- a/+MATLAB/Version.m +++ b/+MATLAB/Version.m @@ -1,5 +1,5 @@ function V = Version -V.Me='v18.1.0'; +V.Me='v18.1.1'; V.MATLAB='R2023b'; persistent NewVersion try