I am compiling a mexw32 file from an .f90 file. The mexw32 uses additional files. For that I need to specify where it should look for them and hardcode it into f90 file before compiling. Problem I have is that I must put the additional files in the same directory as the mexw32 file, so the hardcoded path must point into the 'current' folder.
I though base_dir='.\' should work but it doesn't. Can someone please advice?