From 049cec71eab5c0e7fa2061c827e7bf06929ca77b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?William=20L=C3=B6vfors?= <william.lovfors@liu.se>
Date: Mon, 3 May 2021 14:15:11 +0200
Subject: [PATCH] Added StructsFieldCat

---
 StructsFieldCat.m | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 StructsFieldCat.m

diff --git a/StructsFieldCat.m b/StructsFieldCat.m
new file mode 100644
index 0000000..69561b8
--- /dev/null
+++ b/StructsFieldCat.m
@@ -0,0 +1,12 @@
+function [s] = StructsFieldCat(structs, dim)
+%STRUCTSFIELDCAT Summary of this function goes here
+%   Detailed explanation goes here
+if nargin<2 || isempty(dim)
+    dim=1;
+end
+s = structs(1);
+for i = 2:length(structs)
+    s=StructFieldCat(s, structs(i), dim);
+end
+end
+
-- 
GitLab