electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how can run .exe file from matlab?


Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Problems, Hints and Reviews -> how can run .exe file from matlab?
Author Message
malkomx



Joined: 07 Apr 2008
Posts: 9


Post27 Dec 2008 19:35   

matlab run exe


Hi everybody
I have a problem in MATLAB, I wrote Fortran code and then I compiled it in .exe file. No I want optimize in it. I try to write m file which put some data in text file and then run .exe file and after that read output of data.

a=20;
a=30;
fid=fopen('D:\input.txt','w');
fprintf(fid,'%d %d %d\n',a,b);
fclose(fid);

winopen('D:\file.exe');

load D:\output.txt;

I have a problem in running exe file because with winopen command, it is not stay for finishing exe file and also I confused with system command, I was wondering if you could help me.
Back to top
Google
AdSense
Google Adsense




Post27 Dec 2008 19:35   

Ads




Back to top
malkomx



Joined: 07 Apr 2008
Posts: 9


Post28 Dec 2008 20:17   

how to run matlab


I solved it.
Thanks for your attention!IdeaExclamation
Back to top
harisbee



Joined: 06 Nov 2009
Posts: 1
Location: Australia


Post06 Nov 2009 4:52   

Re: how can run .exe file from matlab?


how do you make it..can you explain?
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Problems, Hints and Reviews -> how can run .exe file from matlab?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
how to convert m file of MATLAB into exe file? (1)
how to create an EXE file of matlab? (7)
how convert matlab files to exe file? (1)
How to compile the matlab files to exe file? (2)
WHICH Cadence exe file to run?? (10)
How to get the original C code from a (.exe) file (1)
How can i read two columns data from a text file with Matlab (1)
Matlab .exe file buildinh ? (3)
How can I run pspice from Command Prompt. (2)
A problem with make file exe in matlab (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS