function res = recreate_computeddata_table(data) csvname = [tempname() '.csv']; writetable(data(1,:), csvname); colclasses = ''; for i = 1:width(data) colclasses = [colclasses newline() strjoin([data.Properties.VariableNames(i), class(data{1,i})])]; %#ok end import matlab.net.http.* import matlab.net.http.io.* fp = FileProvider(csvname); mfp = MultipartFormProvider('csv', fp, 'classes', StringProvider(colclasses)); req = RequestMessage('post', HeaderField('Auth', 'Qnb7jfeGZM'), mfp); res = req.send('https://driver-observer.thi.de/recreate_computeddata_table.php'); delete(csvname); end