This function makes use of the bibclean tool and the windows power shell to create a text file which lists the entries of the bibtex file sorted by field name.
I used this to ceck author names, page numbers and ranges, and jounal names.
The listed compatibility 2016B is due to the use of the function 'contains.m', if u use lower matlab, you can also try to edit the code.
bibclean available here
please have a look into the .cmd file before using this matlab file
Sorry for the ugly code, you are free to use and edit this code ;-)
additional note: if u write your bib file properly anyways u dont need bibclean or the cmd file or the windows power shell (i think is might also be interesting for LINUX or iOS users). in my case i used bibclean to have proper spacing (before and after the '=') and for readability, that's why I let bibclean align the entries to the '='. i think it's also important to use a ',' (comma) after each field entry, also after the last field before the closing curly bracket
exemplary code available in the function description
Tags: latex, bibtex, bibliography, bibclean
Jonas (2022). testBibUniqueness (https://www.mathworks.com/matlabcentral/fileexchange/76998-testbibuniqueness), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!