MATLAB Compiler で作成したスタンドア​ロンアプリケーション​を実行すると、「関数​または変数 'ctfroot' が認識されません。」​のエラーが出るのはな​ぜですか?

11 views (last 30 days)
MATLAB Compiler で作成したスダンドアロンアプリケーションを実行すると、下記のメッセージを含むエラーダイアログが表示され、実行することができません。
関数または変数 'ctfroot' が認識されません。
Error in => runtimeInitializationChecks.m at line 23
数日前までは、問題なく動作していました。
 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Oct 2020
GUI 起動時に作成されるキャッシュが何らかの影響で壊れてしまった可能性があります。
キャッシュを一旦削除し、再構築することをお試しください。
通常、Windows 環境では、下記の場所にされます。
※R2020a で作成したアプリの場合
%Temp%\<ユーザ名>\mcrCache9.8
削除後、再度 GUI アプリ(.exe) を実行することで再構築されますので、動作をご確認ください。

More Answers (0)

Categories

Find more on MATLABCompiler 入門 in Help Center and File Exchange

Products


Release

No release entered yet.

Community Treasure Hunt

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

Start Hunting!