On Wed, 28 Jul 2004, Archana Singh wrote:
> I want to call SPM functions from a C program. Matlab compiler 3
> imposes some restrictions on functions like eval and inline that are
> used in SPM. So it is not possible to compile SPM functions without
> modifying the code.
I have not tried Matlab compiler at all, because of the above limitations.
However, you may also want to have a look at the Matlab engine
capabilities. This means that you will have to start a Matlab instance
from within your C program (and Matlab and a valid license must be present
on your target machine), but you can then use Matlab from within your C
program in a way similar to a normal terminal (i.e. put variable contents
in Matlab workspace, get variable contents, call subroutines etc...).
Hope this helps
--
Volkmar Glauche
-
Department of Neurology E-Mail [log in to unmask]
UKE Hamburg Phone 49(0)40-42803-5781
Martinistr. 52 Fax 49(0)40-42803-9955
20246 Hamburg
|