]> git.proxmox.com Git - ceph.git/blob - ceph/src/arrow/matlab/test/util/featherMEXRoundTrip.m
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / matlab / test / util / featherMEXRoundTrip.m
1 function [variablesOut, metadataOut] = featherMEXRoundTrip(filename, variablesIn, metadataIn)
2 % FEATHERMEXROUNDTRIP Helper function for round tripping variables
3 % and metadata structs to a Feather file.
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
20 featherwritemex(filename, variablesIn, metadataIn);
21 [variablesOut, metadataOut] = featherreadmex(filename);
22 end