MATLAB: When creating dataset ,I have a error ‘ All variables must have same number of rows’. Help me how to resolve this error

data importdataset

I am having a Dataset of input of size 23,193 and target variable of size 1,195 for training neural network .How to solve this error

Best Answer

For each Input column of dimension I there has to be a corresponding Output target column of dimension O
[ I N ] = size(input);
[ O N ]= size(target);
Hope this helps.
Thank you for formally accepting my answer
Greg