[an error occurred while processing this directive]
|
>> help ecoder
Real-Time Workshop Embedded Coder
Version 2.0 (R12.1) 01-Mar-2001
Copyright 1994-2001 The MathWorks, Inc.
$Revision: 1.6 $
Loaded Stateflow module Version 4.1 (R12.1) dated May 21 2001, 01:15:03
### Starting Real-Time Workshop build procedure for model: cbdemo
### Generating code into build directory: .\cbdemo_ert_rtw
Note: If you are using a trial version of Real-Time Workshop Embedded
Coder you will need to purchase a copy before the trial expires.
### Invoking Target Language Compiler on cbdemo.rtw
### Loading TMW TLC function libraries
### Initial pass through model to cache user defined code
### Caching model source code
### Creating (Embedded-C) source file cbdemo.c
### Creating model header file cbdemo.h
### Creating model header file cbdemo_export.h
### Creating parameter file cbdemo_prm.h
### Creating registration file cbdemo_reg.h
### Creating automated build header file autobuild.h
### TLC code generation complete.
### Creating project marker file: rtw_proj.tmw
### Creating cbdemo.mk from C:\MATLAB6p1\rtw\c\ert\ert_lcc.tmf
### Successful completion of Real-Time Workshop build procedure for model: cbdemo
/*
* cbdemo.c
*
* Real-Time Workshop code generation for Simulink model "cbdemo.mdl".
*
* Model Version : 1.318
* Real-Time Workshop file version : 4.1 $Date: 2001/05/16 13:59:43 $
* Real-Time Workshop file generated on : Fri Aug 02 03:40:05 2002
* TLC version : 4.1 (May 19 2001)
* C source code generated on : Fri Aug 02 03:40:05 2002
*
* Relevant TLC Options:
* InlineParameters = 1
* RollThreshold = 5
* CodeFormat = Embedded-C
*
* Simulink model settings:
* Solver : FixedStep
* StartTime : 0.0 s
* StopTime : 10.0 s
* FixedStep : 1.0 s
*/
#include "cbdemo.h"
#include "cbdemo_prm.h"
/* Start of Functions in model "cbdemo" */
/* model step function */ /* UnitDelay Block: /* End of Functions in model "cbdemo" */ #include "cbdemo_reg.h" /* [EOF] cbdemo.c */
E-mail:
info@telesys.ru
void cbdemo_step(void)
{
/* Sum: '
* Constant: '
* UnitDelay: '
*/
output = (1U) + X;
X = output;
}
Ответы