MATLAB Compilerで作​成したアプリケーショ​ンの実行前に、事前に​CTFファイルを展開​しておくことはできま​すか?

5 views (last 30 days)
MATLAB Compilerで作成したアプリケーションの実行前に、事前に CTF ファイルを展開することが可能か、教えてください。

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 25 Oct 2013
extractCTF(Windowsの場合、R2012a 以前では拡張子.exe, R2012b 以降では拡張子 .bat)を実行することで、CTFファイルを展開することができます。
extractCTFは次のフォルダに格納されています。
(R2012a 以前の場合)
$MATLABROOT\toolbox\compiler\deploy\<Arch>
(R2012b 以降の場合)
$MATLABROOT\toolbox\compiler\<Arch>
・$MATLABROOT・・・MATLABインストールフォルダ
・<Arch>・・・アーキテクチャ(下記表参照)
OS PATHの表記
---------------------------
Windows-32bit win32
Windows-64bit win64
Linux glnx86
x86-64 glnxa64
Intel Mac maci
Mac mac
Solaris sol64
DOS 上で実行する時はCTFファイル名を後ろに指定します。
extractCTF myfun.ctf
なお、MATLAB Compiler 4.8(R2008a) 以降では、CTF は、デフォルトで MATLAB Compiler の生成物(EXE や DLLなど)組み込まれるようになりました。CTF ファイルを別に生成するには、"-C" オプションを使用してコンパイルしてください。
>> mcc -m -C myfun.m

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!