フィルターのクリア

When double clicked somewhere in script, MATLAB gets error in chacheLookup.m file.

3 ビュー (過去 30 日間)
Omer Faruk Demirci
Omer Faruk Demirci 2022 年 7 月 29 日
回答済み: Simar 2023 年 11 月 27 日
When I try to highlight or select something from the script text MATLAB falls in error state. The error is given blow. If you have any idea about how to solve the problem, I would be appreciated.
Note: I am using MATLAB 2022a and I didn't get the same error when I use MATLAB 2018b. I have seen the error in the new version.
ERROR:
topicAsField = append(caseCharacter, callingFunction, resolveFlag, topic);
Error using append
Too many input arguments.
Error in matlab.internal.language.introspective.cacheLookup/call (line 23)
topicAsField = append(caseCharacter, callingFunction, resolveFlag, topic);
Error in whatFcn (line 12)
result = cache.call(topic, isCaseSensitive, '', false);
Error in matlab.internal.language.introspective.hashedDirInfo (line 6)
dirInfo = whatFcn(topic, isCaseSensitive);
Error in matlab.internal.help.helpProcess/getFolderHelp (line 15)
dirInfos = matlab.internal.language.introspective.hashedDirInfo(dirTopic, true);
Error in matlab.internal.help.helpProcess/getTopicHelpText>getAlternateSourcedHelp (line 113)
hp.getFolderHelp(justH1);
Error in matlab.internal.help.helpProcess/getTopicHelpText (line 77)
getAlternateSourcedHelp(hp, [], justH1);
Error in matlab.internal.help.helpProcess/getHelpText (line 4)
hp.getTopicHelpText();
Error in matlab.internal.language.introspective.getUsageFromHelp (line 41)
hp.getHelpText;
Error in matlab.internal.language.introspective.getUsage (line 49)
sigs = matlab.internal.language.introspective.getUsageFromHelp(functionName);
  3 件のコメント
Walter Roberson
Walter Roberson 2022 年 8 月 1 日
Do you have any third-party toolboxes installed ? Such as SPM12?
Omer Faruk Demirci
Omer Faruk Demirci 2022 年 8 月 1 日
No, I didn't install any third-parth toolboxes.

サインインしてコメントする。

回答 (1 件)

Simar
Simar 2023 年 11 月 27 日
Hi Omer,
I understand that you are looking for a solution to fix an error that happened while interacting with the text in a MATLAB script.
The error message encountered in MATLAB R2022a suggests an issue with the append function being used with too many input arguments. The append function concatenates strings, but the error indicates that the implementation of append in your context does not support the number of arguments being passed to it. This could be due to several reasons:
  • Custom append Function: If there is a custom function named append on your MATLAB path that performs a different operation than the built-in function, it could be causing this error. MATLAB might be calling the custom function instead of the built-in one.
  • Corrupted Installation or Files: This could happen during the installation process or if files were modified post-installation.
To troubleshoot the issue, you can try the following steps:
  • Use the which command to check if MATLAB is using a custom append function. Refer to the command below:
>> which append -all
  • If a custom function that is not the built-in one is found, either rename or remove it.
  • Ensure that there are no other functions or scripts named append that could be shadowing the built-in function. Check this by examining MATLAB path and looking for any files named append.m.
  • If the issue persists and cannot find any custom “append” function, consider reinstalling MATLAB to ensure that all system files are correct and uncorrupted.
Please refer to the following documentation link to know more about “append” function:
Hope it helps!
Best Regards,
Simar

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by