UNABLE TO LOAD A MESSAGE CATALOG
24 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Steven Lord
am 28 Mai 2019
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 Kommentare
Walter Roberson
am 29 Mai 2019
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()
Siehe auch
Kategorien
Mehr zu Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!