When I am trying to create a table using the following code:
sz = [4 3];
varTypes = ["double","datetime","string"];
varNames = ["Temperature","Time","Station"];
temps = table('Size',sz,'VariableTypes',varTypes,'VariableNames',varNames)
I get:
Error using table (line 254) Specify variable types as a cell array of character
vectors, indicating the type of each variable to be created.
Please help me to find what I am missing here. I am using MATLAB R2018a.