Reads an existing .mat annotation file and writes its data into the SQLite
database. The class list (class2use_manual) and classlist indices are
read directly from the .mat file to ensure a faithful import. ROIs with NaN
indices (not yet reviewed) are stored with is_manual = 0.
Examples
if (FALSE) { # \dontrun{
import_mat_to_db(
mat_path = "/data/manual/D20230101T120000_IFCB134.mat",
db_path = get_db_path("/data/manual"),
sample_name = "D20230101T120000_IFCB134"
)
} # }