How to cite MATLAB??

378 visualizaciones (últimos 30 días)
Zuzanna Fernandez
Zuzanna Fernandez el 22 de Mzo. de 2021
Respondida: Sulaymon Eshkabilov el 9 de Jun. de 2022
I am writing a report for a lab and my TA commented that I need to cite MATLAB. For reference, the sentence was "The microcontroller is connected to a computer with MATLAB installed....." I have looked at a few other posts but they are outdated and unclear. I want to know how to cite different verisons as well so I can do this as new versions come out. Please help!!
  1 comentario
Rik
Rik el 22 de Mzo. de 2021
Most citation managers will allow you to import a .bib file. If I need to actually cite Matlab (not just mention the release, company, country), I use the code below to generate the bibliography entry. This is based on the information that Cris linked.
This will also include the update number if applicable.
v=version;
rel=ver;rel=rel(1).Release;
rel=strrep(strrep(rel,'(',''),')','');
if numel(rel)==6
year=rel(2:5);
else
year=ver('MATLAB');year=year.Date(8:end);
end
idx=strfind(v,'Update');
if ~isempty(idx)
idx=idx(end)+numel('Update ');
rel=sprintf('%s_u%s',rel,v(idx:end));
end
bib_file_name=sprintf('matlab_cite_key_%s.bib',rel);
lines=cell(6,1);
lines{1}=sprintf('@manual{MATLAB:%s,',rel);
lines{2}=' address = {Natick, Massachusetts},';
lines{3}=' organization = {The Mathworks, Inc.},';
lines{4}=sprintf(' title = {{MATLAB version %s}},',v);
lines{5}=sprintf(' year = {%s},',year);
lines{6}='}';
fid=fopen(bib_file_name,'wt');fprintf(fid,'%s\n',lines{:});fclose(fid);
@manual{MATLAB:R2021a, address = {Natick, Massachusetts}, organization = {The Mathworks, Inc.}, title = {{MATLAB version 9.10.0.1613233 (R2021a)}}, year = {2021}, }

Iniciar sesión para comentar.

Respuestas (2)

Cris LaPierre
Cris LaPierre el 22 de Mzo. de 2021

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 9 de Jun. de 2022
Here is one good source in addition to what Rik has proposed.
E.g.: MATLAB. (2022a). Natick, Massachusetts: The MathWorks Inc.

Categorías

Más información sobre App Building en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by