I want to use the input function to read in the name of a workspace file and then use that file, e.g.
datafilename = input('input the name of the training data table','s');
Mdl = fitrsvm(datafilename,'somevariablename');
where datafilename is the name of a table in the workspace (and somevariablename is a column header in that table). But I am unsuccessful in all my attempts to do this. Can anyone give me some help on this?