support warning if matlab is not to be found.

This commit is contained in:
Vítor Santos Costa 2012-03-22 21:42:11 +00:00
parent a0d2e6f285
commit 01b86d78cc

View File

@ -25,7 +25,10 @@
:- ensure_loaded(library(lists)).
:- load_foreign_files([matlab], ['eng','mx','ut'], init_matlab).
tell_warning :-
print_message(warning,functionality(matlab)).
:- ( catch(load_foreign_files([matlab], ['eng','mx','ut'], init_matlab),_,fail) -> true ; tell_warning).
matlab_eval_sequence(S) :-
atomic_concat(S,S1),