Mercurial > fem-fenics-eugenio
comparison inst/import_ufl_Functional.m @ 154:262c9d7bda1c
Call the header file from the /include directories
author | gedeone-octave <marcovass89@hotmail.it> |
---|---|
date | Thu, 12 Sep 2013 13:44:23 +0200 |
parents | 1dbe146bff03 |
children | 8190736845fe |
comparison
equal
deleted
inserted
replaced
153:d82b09246f6c | 154:262c9d7bda1c |
---|---|
29 endif | 29 endif |
30 | 30 |
31 n = length (mfilename ("fullpath")) - length (mfilename()); | 31 n = length (mfilename ("fullpath")) - length (mfilename()); |
32 path = strtrunc(mfilename ("fullpath"), n); | 32 path = strtrunc(mfilename ("fullpath"), n); |
33 | 33 |
34 private = fullfile (path, "private/"); | 34 private = fullfile (path, "include/"); |
35 output = generate_fun (var_prob); | 35 output = generate_fun (var_prob); |
36 output += generate_makefile (var_prob, private); | 36 output += generate_makefile (var_prob, private); |
37 if output != 0 | 37 if output != 0 |
38 error ("Compilation failed"); | 38 error ("Compilation failed"); |
39 else | 39 else |