nigelrogasch / MAGIC

Magnetic stimulator interface controller toolbox
23 stars 9 forks source link

Nick edits #5

Closed nicolasmcnair closed 5 years ago

nicolasmcnair commented 5 years ago

This change removes checking whether the supplied port name exists (and is open) - instead it should return an error when trying to open it. This is to avoid using the instrhwinfo (requires Instrument Control Toolbox) and seriallist (MATLAB v2017a+ only) functions.

It also adds a check for whether strings exist (MATLAB 2016a+ only) before checking whether the supplied port name is a valid string

nigelrogasch commented 5 years ago

Looks great - thanks Nick.