Hello Igor users and developers,
I already programmed a complex software on Matlab. I don't want to reprogram it in Igor.
I would like to call a standalone application (exe file) compiled with Matlab (I have the deploytool toolbox to do that).
Is it possible? I don't know how to do that with Igor but I did that in Java for another project.
Do I need to use ExecuteScriptText?
I wrote this simple call to my SimpleExe.exe standalone application:
function test()
String str="C:\\Nouveau dossier\\SimpleExe.exe"
ExecuteScriptText str
end
but this doesn't work.
Thanks for your help.
Sébastien
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
March 25, 2015 at 09:35 am - Permalink
March 26, 2015 at 12:10 am - Permalink
String str="\"C:\\Nouveau dossier\\SimpleExe.exe\""
since there is a blank in your path...
HJ
EDIT:
Never post before the second cup of tea...
Without \" it does not work and with \" it works.
I tried it (with a batch file) on my machine and it works with a blank in the filename and in the path.
It also works with just and \.
I also tried it with calc.exe and it only works if the extension ".exe" is included. Maybe this is the key.
March 26, 2015 at 01:45 am - Permalink
March 26, 2015 at 06:25 am - Permalink