Automatically read a file based on extension

autoread(file, ...)

Arguments

file

Full path to be read

...

Other arguments to be passed to the particular loading function

Value

The object loaded by the file