MatD - Matlab external interface bindings for D

eles eles at eles.com
Mon Aug 23 02:29:01 PDT 2010


Hi,

 Here are two .bat files that help converting an entire folder
of .lib files in omf format. A subfolder "omf" will be created in the
current folder.

 coffimplib needs to be in the current folder, too.

 The batch file "convert_all.bat" is destined to be run in the C:
\Matlab\extern\lib\win32\microsoft folder.

 ====file: convert_all.bat========

@echo off
echo [convert_all.bat]
md omf
for /f %%a IN ('dir /b *.lib') do call convert_one.bat %%a

 ====file: convert_one.bat========

@echo off
echo [convert_one.bat] converting %1
cd omf
..\coffimplib ..\%1 .\%1
cd ..

===================================

eles



More information about the Digitalmars-d-announce mailing list