Executing TISEAN binaries from within Matlab on Mac OS X 10.6.8
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I downloaded TISEAN binaries for Mac, but unfortunately I just can't get it working on my Mac OSX 10.6.8. Everytime I want to run a tisean command from Matlab (e.g.: system([tiseanPath,'stp usdchf.txt -d6200 -m3 -o stp.txt']);) it gives me an error saying:
dyld: Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib Referenced from: /Users/ak/Desktop/Tisean-4/./stp Reason: no suitable image found. Did find: /Applications/MATLAB_R2012b.app/sys/os/maci64/libgfortran.3.dylib: mach-o, but wrong architecture /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture /Users/ak/Desktop/Tisean-4/./stp usdchf.txt -d6200 -m3 -o stp.txt: Trace/breakpoint trap
Any idea why it doesn't work?
0 个评论
回答(1 个)
Ken Atwell
2013-5-15
It looks like you need Fortran libraries to run TISEAN (which I've never heard of) that cannot be found. Xcode won't help with this problem. MATLAB happens to include Fortran libraries, and it looks like TISEAN is trying to use those -- but failing because of a "wrong architecture". I'll speculate that TISEAN is an older 32-bit Mac application, while MATLAB is a 64-bit application, so TISEAN won't be able to use any libraries it happens to find MATLAB.
Does TISEAN work when run from outside of MATLAB? I would confirm that works from a Terminal window before adding the complex for running it from within MATLAB.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!