Here's a MATLAB code snippet that shows how to generate a BibTeX entry from a DOI using the CrossRef API:
main.m355 chars15 lines
Make sure you have the JSONlab toolbox installed to run this code, as it is used to parse the JSON response from the API. You can find the JSONlab toolbox on MATLAB File Exchange.
Please note that this code requires an internet connection to access the CrossRef API and retrieve the BibTeX information.
gistlibby LogSnag