MATLAB: WHAT ARE THE CORRECT RESPONSES TO THE FOLLOWING HELP QUERIES ?
2 ビュー (過去 30 日間)
古いコメントを表示
ver
-------------------------------------------------------------
MATLAB Version: 9.4.0.813654 (R2018a)
MATLAB License Number:
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 17134)
Java Version: Java 1.8.0_144-b01 with Oracle Corporation Java HotSpot
(TM) 64-Bit Server VM mixed mode
--------------------------------------------------------------
help sys sys not found.
help SYS SYS not found.
help lsim help for lsim
help LSIM help for lsim
help lstm lstm not found
help LSTM help for lsim <==== WRONG
help gpu gpu is a folder.
help GPU gpu is a folder.(GEH: why is gpu BOLD here?)
help cpu --- help for pi ---
pi 3.1415926535897....
pi = 4*atan(1) = imag(log(-1)) = ...
3.1415926535897....
Reference page for pi
help CPU CPU not found.
help os os not found.
help OS OS not found
1 件のコメント
Rik
2018 年 11 月 8 日
I don't really understand your question. Do you want confirmation of this on different releases? On different OSes but same release? Or are you looking for the reason of the inconsistent responses?
回答 (1 件)
Steven Lord
2018 年 11 月 8 日
MATLAB started suggesting corrections for mistyped functions or variable names in the Command Window in release R2012b. That suggestion functionality was expanded to calls to help in release R2015b and to the Live Editor in release R2017a. See the Release Notes for more information.
The fact that help lstm and help LSTM behave differently does seem odd. I've entered that into the bug database.
I was not able to reproduce the behavior you saw with help cpu. Is it possible you have an Add-On that has a package folder +cpu that has only a function named pi or something like that?
In general if you have situations where you feel MATLAB gave the wrong suggestion or there is a better suggestion it should have given, please send that feedback to Technical Support so they can pass it along to the developers responsible for the correction suggestion functionality as a bug or an enhancement.
As for why gpu is in bold in certain circumstances, I believe that's because when we used to highlight the name of the function in the help text in ALL CAPS it would cause users to receive an error when they tried to copy and paste a section of the syntax from the help text. When help sees the name of a function in ALL CAPS in its help text file, it now displays it in bold instead to make it stand out visually while still being "functional" when copied and pasted. [I don't remember when this started offhand.]
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Hamming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!