MATLAB
Use MATLAB’s .py prefix to download data from Nominal into MATLAB.
This method will work in MATLAB versions >= 2019b. A future version of this integration will not require a Python dependency and work on earlier MATLAB versions.
Dataset download
- Download Python if it’s not already installed on your machine
- Install the Nominal Python library
- In your MATLAB shell, type pyenv to inspect your Python version
- Search for your
site-packages
folder. In MATLAB, add it to your Python system path:
Finally, download a Nominal dataset in your MATLAB environment:
Please see the Datasets page for other Dataset operations that are automatable with Python (like upload).
In older versions of MATLAB, the last line (table(df)
) may not work.
Instead, you will have to have to for
loop over the column names exposed by the reference to df
and build the MATLAB table manually in a for
loop.
When you’re finished, your MATLAB session may look like the following: