MATLAB documentation overwriting built-in function!

조회 수: 7 (최근 30일)
Alexander Jensen
Alexander Jensen 2018년 9월 11일
답변: Alexander Jensen 2018년 9월 11일
N.B.: Didn't know where to put this, it's not a question but rather a "heads up", and since it's not a "bug" per se I didn't want to put it in "Bug reports". Anyway, I just stumbled upon this piece of documentation, where a built-in function is overwritten in the example: Documentation link: inputdlg The built-in function 'title' is overwritten in more than one of the following examples in the documentation:
Example in documentation:
prompt = {'Enter matrix size:','Enter colormap name:'};
title = 'Input';
dims = [1 35];
definput = {'20','hsv'};
answer = inputdlg(prompt,title,dims,definput)
Since "title" is already a built-in function use of the examples, in the documentation, gave rise to some issues that was quickly discovered, however, I think it's a bad example to have. Anyhow, just wanted to let you know (whoever fixes these things) :)
Best regards!
  댓글 수: 4
Guillaume
Guillaume 2018년 9월 11일
Yes, raising a service request for documentation errors is very useful. And usually, you get informed when it's fixed (which is not necessarily the next version).
Alexander Jensen
Alexander Jensen 2018년 9월 11일
Thanks for the feedback everyone. I've submitted a service request for technical support and documentation errors. :)

댓글을 달려면 로그인하십시오.

채택된 답변

Alexander Jensen
Alexander Jensen 2018년 9월 11일
"Answer" to the proper way to report a documentation error:
Contact Us -> Contact Support -> Service Request -> Documentation Errors, etc.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by