| |||||||||||
| |||||||||||
|
Basic embedding tasks Description
Source Files By clicking on a file name, a preview is opened at the bottom of this page. Data Files ugexec.c
/*******************************************************
Mosel User Guide Example Problems
=================================
file ugexec.c
`````````````
Execute (compile/load/run) a model.
(c) 2008 Fair Isaac Corporation
author: S. Heipcke, 2002
********************************************************/
#include <stdio.h>
#include "xprm_mc.h"
int main()
{
int result;
if(XPRMinit()) /* Initialize Mosel */
return 1;
/* Execute = compile/load/run a model */
if(XPRMexecmod(NULL,"burglar2.mos",NULL,&result,NULL))
return 2;
return 0;
}
| |||||||||||
| © Copyright 2025 Fair Isaac Corporation. |