www.gusucode.com > trading工具箱matlab源码程序 > trading/trading/table2fix.m
function fixMessage = table2fix(fixTable) %TABLE2FIX MATLAB table with FIX tags to FIX string. % FIXMESSAGE = TABLE2FIX(FIXTABLE) converts the MATLAB table, FIXTABLE, % with fieldnames that are FIX tags to the FIX message string, SFIX. % FIXMESSAGE is a cell array of FIX message strings. % % See also fix2struct, fix2table, struct2fix. % Copyright 2016 The MathWorks, Inc. % Convert table to structure and call struct2fix fixStruct = table2struct(fixTable,'ToScalar',true); fixMessage = struct2fix(fixStruct);