diff --git a/ConcatenateTableColums.m b/ConcatenateTableColums.m new file mode 100644 index 0000000000000000000000000000000000000000..55500c597a2ed2a6772f58e8f016f6311a073520 --- /dev/null +++ b/ConcatenateTableColums.m @@ -0,0 +1,14 @@ + +function [t]=ConcatenateTableColums(t1,t2) +% FUNCTION [t]=CONCATENATETABLECOLUMNS(t1,t2) +%The fuction takes two tables, and combines them columnwise. +% Adds shared variables from t2 to t1. In practice, all columns in t2 which is also t1 is added. +% Any column not in t1 will be ignored. +t=t1; +for i = 1:length(t1.Properties.VariableNames) + var=t.Properties.VariableNames{i}; + if any(ismember(t2.Properties.VariableNames,var)) + t.(var)=[t1.(var) t2.(var)]; + end +end +end \ No newline at end of file diff --git a/SBPOP PACKAGE/SBPD/tools/mexmodelhandling/auxiliary/CVODEMEX/lib/CVODEmex25.lib b/SBPOP PACKAGE/SBPD/tools/mexmodelhandling/auxiliary/CVODEMEX/lib/CVODEmex25.lib index 4447e1044db74c2d7ee693ca73feb6f3eefcdde0..f5bff8e0b7b0d1f2cc8e54ae072755ee72f612b9 100644 Binary files a/SBPOP PACKAGE/SBPD/tools/mexmodelhandling/auxiliary/CVODEMEX/lib/CVODEmex25.lib and b/SBPOP PACKAGE/SBPD/tools/mexmodelhandling/auxiliary/CVODEMEX/lib/CVODEmex25.lib differ