freccia
2009-11-26 14:45:19 UTC
Hi folks,
I have a simulink model named "trial" and I used real time work shop into an executable file and I am working with Matlab 2007b. RTW created the following only the following header files:
"rtwtypes.h"
"rt_nonfinite.h"
"trial.h".
When I try to compile in C++ expresse 2008 all the file created by rtw an error occurs reporting that "rtw_continuous.h" and "rtw_solver.h" do not exist. In other word RTW does not create "rtw_continuous.h" and "rtw_solver.h" although I checked "continuous state" and "floating point values" in the interface panel.
What have I to do??
The beginning of the "trial.h" file is:
/*
* File: trial.h
*
* Real-Time Workshop code generated for Simulink model trial.
*
* Model version : 1.424
* Real-Time Workshop file version : 7.0 (R2007b) 02-Aug-2007
* Real-Time Workshop file generated on : Sun Nov 22 11:32:36 2009
* TLC version : 7.0 (Jul 26 2007)
* C source code generated on : Sun Nov 22 11:32:37 2009
*/
#ifndef RTW_HEADER_trial_h_
#define RTW_HEADER_trial_h_
#ifndef trial_COMMON_INCLUDES_
# define trial_COMMON_INCLUDES_
#include <stdlib.h>
#include <math.h>
#include <stddef.h>
#include <string.h>
#include "rtwtypes.h"
#include "rtw_continuous.h"
#include "rtw_solver.h"
#include "rt_nonfinite.h"
#endif /* trial_COMMON_INCLUDES_ */
#include "trial_types.h"
/* Macros for accessing real-time model data structure */
#ifndef rtmGetErrorStatus
......
......
......
Thanks
Arrow
I have a simulink model named "trial" and I used real time work shop into an executable file and I am working with Matlab 2007b. RTW created the following only the following header files:
"rtwtypes.h"
"rt_nonfinite.h"
"trial.h".
When I try to compile in C++ expresse 2008 all the file created by rtw an error occurs reporting that "rtw_continuous.h" and "rtw_solver.h" do not exist. In other word RTW does not create "rtw_continuous.h" and "rtw_solver.h" although I checked "continuous state" and "floating point values" in the interface panel.
What have I to do??
The beginning of the "trial.h" file is:
/*
* File: trial.h
*
* Real-Time Workshop code generated for Simulink model trial.
*
* Model version : 1.424
* Real-Time Workshop file version : 7.0 (R2007b) 02-Aug-2007
* Real-Time Workshop file generated on : Sun Nov 22 11:32:36 2009
* TLC version : 7.0 (Jul 26 2007)
* C source code generated on : Sun Nov 22 11:32:37 2009
*/
#ifndef RTW_HEADER_trial_h_
#define RTW_HEADER_trial_h_
#ifndef trial_COMMON_INCLUDES_
# define trial_COMMON_INCLUDES_
#include <stdlib.h>
#include <math.h>
#include <stddef.h>
#include <string.h>
#include "rtwtypes.h"
#include "rtw_continuous.h"
#include "rtw_solver.h"
#include "rt_nonfinite.h"
#endif /* trial_COMMON_INCLUDES_ */
#include "trial_types.h"
/* Macros for accessing real-time model data structure */
#ifndef rtmGetErrorStatus
......
......
......
Thanks
Arrow