In my GUI I´m loading data and storing them into variables X and y. The a value is entered by user.It looks like that:
[FILENAME,PATHNAME]=uigetfile('*.txt') loaddata=load(FILENAME) if (a==1) X = loaddata(:,1) y = loaddata(:,2) end if (a==2) X = loaddata(:,1:2) y = loaddata(:,3) end ...
But I would like to add an error message in case that user load the wrong data set if he set the value a is equal for example to 1. Do you guys have any idea ? TY for help
No products are associated with this question.