Amitabh,
What is it that you executed in [matlabroo, '\bin\win32'] in Matlab(Win32)? After downloading the files for the C# Program Launcher I had an unsuccessful build (C#2010 Express, MATLAB r2010a) and I'm hopeful your own fix on the path variable will resolve my problems. Are you aware of any issues that running MATLAB in 64-bit would pose?
Looking forward to the success operation of your work! Thank you.
Paul
Paul,
I am not exactly sure what difference lies with your 64bit system for compiling but had the following suggestion.
1. Download (free version) C#
2. Open EngMATLib in C# and Build
3. Copy EngMATLib.dll to the Example/ImagePatchTool folder also copy to Debug/Release folder under bin in C# Matlab Program Launcher (since EngMATLib.dll is referenced)
4. Open Matlab Envelope in C# and Build
5. Copy ImagePatchTool.exe to the Example/ImagePatchTool folder
6. Run the Matlab script ImagePatchTool.m using the loader ImagePatchTool.exe without the need to run Matlab
[matlabroot,'\bin\win32'] on my system will give the path of the matlab win32 dir which holds libeng.dll and needs to be updated in System Variables for 2010a. Also, the C# compiling is independent of Matlab so this should not be a problem in your case.
It would be helpful if you could post the error over here or send me via email.
Thanks.
Comment only
06 Jun 2010
C# Matlab Program Launcher
Code to execute Matlab script or function without the requirement to launch Matlab manually.
Amitabh,
What is it that you executed in [matlabroo, '\bin\win32'] in Matlab(Win32)? After downloading the files for the C# Program Launcher I had an unsuccessful build (C#2010 Express, MATLAB r2010a) and I'm hopeful your own fix on the path variable will resolve my problems. Are you aware of any issues that running MATLAB in 64-bit would pose?
Looking forward to the success operation of your work! Thank you.
Paul
Comment only
04 Jun 2010
C# Matlab Program Launcher
Code to execute Matlab script or function without the requirement to launch Matlab manually.
Upgraded to 2010a. Everything worked fine after fixing the Path variable for a missing libeng.dll error.
Execute [matlabroot,'\bin\win32'] in Matlab(Win32) and paste the answer
to: My Computer>Properties>Advanced>Environment Variables>System Variables>Path after adding a semicolon at the end of the line.
Comment only
19 May 2010
C# Matlab Program Launcher
Code to execute Matlab script or function without the requirement to launch Matlab manually.
Comment only