types = { ...
@double; ...
@single; ...
@int8; ...
@int16; ...
@int32; ...
@int64; ...
@uint8; ...
@uint16; ...
@uint32; ...
@uint64; ...
};
fprintf("| %-6s | %s | \n", "Type", " OK ");
fprintf("|-%-6s-|-%s-| \n", "------", "----");
for i = 1:numel(types)
try
toml.encode(struct('key', types{i}(1)));
fprintf("| %-6s | %s | \n", func2str(types{i}), "Pass");
catch
fprintf("| %-6s | %s |\n", func2str(types{i}), "Fail");
end
end
The integer data types other than
int64are not supported for encodingRunning