Hi Garett,
The error "Reference to non-existent field 'CNBlock'" when using "mdfimport" in MATLAB 2020b likely results from changes in the MDF file structure or compatibility issues with the newer MATLAB version.
Since the author is no longer maintaining "mdfimport" on the File Exchange, I recommend switching to MATLAB's built-in MDF functionality available in the Vehicle Network Toolbox. This approach is more reliable and compatible with recent MATLAB versions and modern MDF formats. You can use the "mdf" function for this purpose. More details can be found here:
Note that the "mdf" function will be deprecated and removed in future releases. Instead, use the new "mdfRead" function:
Hope this helps!