已經編譯的c語言執行檔無法在matlab執行? - Linux

Table of Contents

各位好

小弟的OS為ubuntu 10.04.1 64 bit
Matlab版本為Matlab 2010a unix version

我從網路上下載了source code written in C
(http://bishopw.loni.ucla.edu/air5/index.html)
根據其安裝說明http://bishopw.loni.ucla.edu/air5/config.html
將c code作了編譯
也可以在linux之terminal以如"./alignlinear"的方式使用此程式

在matlab
我已經把包含這些執行檔的目錄加到path中
但用"!alignlinear"或"!./alignlinear"均無法啟動

另一個程式會用到這個的,顯示

/bin/bash: alignlinear: command not found

請問這個問題該如何解決?

謝謝~

--

All Comments

Necoo avatarNecoo2010-10-05
system ('..........')
Cara avatarCara2010-10-07
matlab的path是找mfile的path, system path要用setenv()