windows 11 でMatlab 2022bを起動する​時エラーメセッジが出​て、正常に立ち上がら​ない、どう解決してい​いですか?

9 views (last 30 days)
謝
on 18 Mar 2025
Answered: Kojiro Saito on 20 Mar 2025
起動時エラーメセッジが出ます。'restoredefaultpath'をコマンドウィンドウで実行すると解消したが、再起動したらまた戻します。
起動時のエラーメセッジ
次を使用中: builtin
'C:\Program Files\MATLAB\R2022b\bin\win64\hg.dll' で必要とされるリソース ファイル
'toolbox/matlab/graphics/hg/hgrc.m' が見つかりません
エラー: matlab.graphics.internal.initialize (行 15)
suppressedOutput = evalc('builtin(''groot'');');
エラー: matlab.internal.doc.services.getDocLanguageLocale (行 11)
sysLang = get(0, 'Language');
エラー: matlab.internal.doc.csh.DocPageTopicMap.accessDocLanguage (行 93)
docLang = matlab.internal.doc.services.getDocLanguageLocale;
エラー: matlab.internal.doc.csh.getLocalizedFileList (行 14)
docLang = matlab.internal.doc.csh.HelpTopicMap.accessDocLanguage;
エラー: matlab.internal.doc.csh.findDocCatalogFiles (行 9)
files = matlab.internal.doc.csh.getLocalizedFileList(folder, shortname, extension);
エラー: matlab.internal.doc.csh.DocPageTopicMap/retrieveHelpTargets (行 190)
files = matlab.internal.doc.csh.findDocCatalogFiles("cshapi_helptarget", obj.ShortName);
エラー: matlab.internal.doc.csh.DocPageTopicMap/getMappingForId (行 132)
retrieveHelpTargets(obj);
エラー: matlab.internal.doc.csh.DocPageTopicMap/singleTopicExists (行 163)
hasTopic = ~isempty(getMappingForId(obj, id));
エラー: matlab.internal.doc.csh.DocPageTopicMap/topicExists (行 49)
hasTopic(i) = singleTopicExists(obj, id(i));
エラー: matlab.internal.language.introspective.getExtendedErrorCallback (行 6)
if topicMap.topicExists(topicId)
関数または変数 'matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance' が
認識されません。
関数または変数 'matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance' が
認識されません。
関数または変数 'matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance' が
認識されません。
関数または変数 'matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance' が
認識されません。
関数または変数 'connector.internal.lifecycle.callConnectorStarted' が認識されません。
関数または変数 'matlab.internal.debugger.breakpoints.initBreakpointsStoreInstance' が
認識されません。
次を使用中: weboptions
ArrayFormat は次の値のいずれか 1 つと一致する必要があります。
入力 'csv' は有効な値のいずれとも一致しません。
エラー: matlab.internal.doc.updateConnectorDocroot (行 3)
options = weboptions('RequestMethod','post', ...
関数または変数 'rmfield' が認識されません。
エラー: matlab.internal.doc.project.buildToolboxStruct (行 44)
toolbox_struct = rmfield(toolboxStruct,fieldsToRemove);
エラー: matlab.internal.doc.project.getCustomToolboxes (行 12)
customToolboxes = matlab.internal.doc.project.buildToolboxStruct(docFiles,demoFiles);
エラー: matlab.internal.doc.updateCustomDocContent (行 2)
matlab.internal.doc.project.getCustomToolboxes;
関数または変数 'rmfield' が認識されません。
エラー: matlab.internal.doc.project.buildToolboxStruct (行 44)
toolbox_struct = rmfield(toolboxStruct,fieldsToRemove);
エラー: matlab.internal.doc.project.getCustomToolboxes (行 12)
customToolboxes = matlab.internal.doc.project.buildToolboxStruct(docFiles,demoFiles);
エラー: matlab.internal.doc.search.configureSearchServer>findCustomToolboxes (行 40)
tbxs = matlab.internal.doc.project.getCustomToolboxes;
エラー: matlab.internal.doc.search.configureSearchServer (行 12)
tbxs = findCustomToolboxes;

Answers (1)

Kojiro Saito
Kojiro Saito on 20 Mar 2025
こちらの現象と同様のようです。
restoredefaultpathは現在のMATLABセッションのパスを初期化するだけなので、savepathでパス設定を保存して次以降のセッションでも利用できるようにする必要があります。
restoredefaultpath
savepath

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!