matlab not generating function_name.exe after deployment on .NET

10 ビュー (過去 30 日間)
Esi
Esi 2014 年 12 月 16 日
回答済み: Titus Edelhofer 2014 年 12 月 16 日
I've deployed my function to (untitled4_pkg.exe), when executing this file, it installs Matlab Runtime Compiler on hard drive, and it generates function_name.dll on C:\Users\Neina\Documents\MATLAB\Untitled4\distrib .
but what I wanted to have is function_name.exe so that I can call it in my php script.
How can I do this?
thnx for help.

回答 (2 件)

Image Analyst
Image Analyst 2014 年 12 月 16 日
Did you tell it to make a standalone Windows program? What does your mcc line look like?
  1 件のコメント
Esi
Esi 2014 年 12 月 16 日
Thank you, What I did is: I wrote deplytool in matlab command window, it displays a window with tools, I chose "create new deployment project" then "matlab Builder NE" > .NET component Then it creates Untitled folder in which I added the function. Then, Build the project, and when finished "package the project" The result is "untitled_pkg.exe" which installed , when launched, the MRC. ps: I've matlab2009a.

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


Titus Edelhofer
Titus Edelhofer 2014 年 12 月 16 日
Hi,
If you want to have a .exe to be called you should select this when creating the project with deploytool. Don't select .NET component but something like "console application".
Titus

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by