Undefined Reference To Ceil

/ Comments off
Ceil

C++ Undefined Reference To Class Function

It fails to find pow, cos, sin, sqrt functions.This error only appears in referenced model that contain embedded matlab functions. I have other referenced models in my system that contain only default Simulink blocks and they do not have this error. Mod the sims mc command center. The error message points to the issue arising from mrrefmodel declaration in the C code for my top level model. I attempted to add declare the libraries that include these functions in he code for each of the referenced models but that won't help. The folders of each model are in the same directory as my top level model. What else can I try?I am using matlab 2007b.