Error using datasample (line 142): Sample size K must be 0 when sampling from empty data.

Hi,
I am new to Matlab and running my code through a package called LoadProGen and keep getting the following error (screenshot attached). Please may you assist on how to solve this error?

Answers (0)

Asked:

on 29 Jun 2021

Commented:

on 10 Nov 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!