フィルターのクリア

generating executable file

2 ビュー (過去 30 日間)
Haris Hameed
Haris Hameed 2012 年 5 月 16 日
Hi i am using the follwoing command to generate executable file
mcc -o executable-name -m main-program.m
it is generating exe file but when i run this exe file on a system that has no matlab it does not work and ask for some dll. so how to generate such an exe file which works without matlab installed

回答 (1 件)

Geoff
Geoff 2012 年 5 月 16 日
You must install the MCR on that system.
Search your matlab installation tree for MCRInstaller.exe
On my system it is in C:\Program Files\MATLAB\R2011b\toolbox\compiler\deploy\win64
  3 件のコメント
Geoff
Geoff 2012 年 5 月 16 日
Try running it directly from the DOS console. I don't use deploy tool so I can't comment. I think I tried it once and hated it. I just mcc my file, copy the EXE to my target machine and run it from the console.
Kaustubha Govind
Kaustubha Govind 2012 年 5 月 16 日
If using deploytool tool, choose Console Application, instead of Windows Standalone Application if you do not want the MS-DOS console to be suppressed.

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

カテゴリ

Help Center および File ExchangeStandalone Applications についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by