UNABLE TO LOAD A MESSAGE CATALOG
24 ビュー (過去 30 日間)
古いコメントを表示
Hello Mathworks,
We have some trouble with the utilisation of the function FZERO in MATlab 2018b. We are looking for the meaning of the code below :
if nargin == 0
error(message('MATLAB:fzero:NotEnoughInputs'))
end
The error message that shows :
Error using error
Unable to load a message catalog 'MATLAB:fzero'. Please check the file location and format.
We try to understand the script 'MATLAB:fzero:NotEnoughInputs' and why this error message appears. Indeed it works in MATlab 2013.
We will appreciate any help you can give.
0 件のコメント
回答 (1 件)
Steven Lord
2019 年 5 月 28 日
That is not the line as it appears in the fzero.m file that is included in MATLAB in release R2018b. You've modified that command, or you're trying to use the version of fzero from an older release in a newer release. The fzero function was modified between release R2013a and release R2018b so that's not going to work. Use the version of the fzero function included in your installation of release R2018b.
2 件のコメント
Walter Roberson
2019 年 5 月 29 日
That character vector is used to look up the error message in the user's interface language, such as English or Japanese. The MATLAB:fzero part of it says that error message is to be found in the message file whose name begins with fzero in a directory named MATLAB.
That error message is produced when fzero is called without any parameters, such as
result = fzero()
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!