]> git.proxmox.com Git - ceph.git/blame - ceph/src/arrow/matlab/src/+mlarrow/+util/createVariableStruct.m
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / matlab / src / +mlarrow / +util / createVariableStruct.m
CommitLineData
1d09f67e
TL
1function variable = createVariableStruct(type, data, valid, name)
2% CREATEVARIABLESTRUCT Helper function for creating Feather MEX variable
3% struct.
4
5% Licensed to the Apache Software Foundation (ASF) under one or more
6% contributor license agreements. See the NOTICE file distributed with
7% this work for additional information regarding copyright ownership.
8% The ASF licenses this file to you under the Apache License, Version
9% 2.0 (the "License"); you may not use this file except in compliance
10% with the License. You may obtain a copy of the License at
11%
12% http://www.apache.org/licenses/LICENSE-2.0
13%
14% Unless required by applicable law or agreed to in writing, software
15% distributed under the License is distributed on an "AS IS" BASIS,
16% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17% implied. See the License for the specific language governing
18% permissions and limitations under the License.
19
20variable = struct('Type', type, ...
21 'Data', data, ...
22 'Valid', valid, ...
23 'Name', name);
24end