Importing data from desktop for developing meta model


I will appreciate guidance on how to import my excel data(variables/ responses) to UQLab for meta modelling using kriging . Data is in excel format containing columns for inputs variables (3 variables) and a column for corresponding response.


Hi @aokoro,

Have you checked MATLAB built-in functionalities to directly read MS Excel file and import the data to the workspace?

In the older MATLAB (< R2013b), there’s a function called xlsread, while newer ones come with readtable (\geq R2013b) and readmatrix (\geq R2019b). You can first try the older xlsread and see if that would do the job.

Be sure to check MATLAB documentation for the details of these functions (there are examples there as well).

Hope this helps.

Thanks for the guidance.