/* Include files */
#include "blascompat32.h"
#include "AdaptiveBackStepping2_sfun.h"
#include "c5_AdaptiveBackStepping2.h"
#include "mwmathutil.h"
#define CHARTINSTANCE_CHARTNUMBER (chartInstance->chartNumber)
#define CHARTINSTANCE_INSTANCENUMBER (chartInstance->instanceNumber)
#include "AdaptiveBackStepping2_sfun_debug_macros.h"
/* Type Definitions */
/* Named Constants */
/* Variable Declarations */
/* Variable Definitions */
static const char * c5_debug_family_names[13] = { "b", "rr", "rl", "V", "S", "T",
"nargin", "nargout", "Vr", "Vl", "teta", "XYteta", "vw" };
/* Function Declarations */
static void initialize_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static void initialize_params_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static void enable_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static void disable_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static void c5_update_debugger_state_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static const mxArray *get_sim_state_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static void set_sim_state_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance, const mxArray *c5_st);
static void finalize_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static void sf_c5_AdaptiveBackStepping2(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance);
static void c5_chartstep_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static void initSimStructsc5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance);
static void init_script_number_translation(uint32_T c5_machineNumber, uint32_T
c5_chartNumber);
static const mxArray *c5_sf_marshallOut(void *chartInstanceVoid, void *c5_inData);
static void c5_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_vw, const char_T *c5_identifier, real_T
c5_y[2]);
static void c5_b_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_u, const emlrtMsgIdentifier *c5_parentId,
real_T c5_y[2]);
static void c5_sf_marshallIn(void *chartInstanceVoid, const mxArray
*c5_mxArrayInData, const char_T *c5_varName, void *c5_outData);
static const mxArray *c5_b_sf_marshallOut(void *chartInstanceVoid, void
*c5_inData);
static void c5_c_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_XYteta, const char_T *c5_identifier, real_T
c5_y[3]);
static void c5_d_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_u, const emlrtMsgIdentifier *c5_parentId,
real_T c5_y[3]);
static void c5_b_sf_marshallIn(void *chartInstanceVoid, const mxArray
*c5_mxArrayInData, const char_T *c5_varName, void *c5_outData);
static const mxArray *c5_c_sf_marshallOut(void *chartInstanceVoid, void
*c5_inData);
static real_T c5_e_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_u, const emlrtMsgIdentifier *c5_parentId);
static void c5_c_sf_marshallIn(void *chartInstanceVoid, const mxArray
*c5_mxArrayInData, const char_T *c5_varName, void *c5_outData);
static const mxArray *c5_d_sf_marshallOut(void *chartInstanceVoid, void
*c5_inData);
static void c5_f_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_u, const emlrtMsgIdentifier *c5_parentId,
real_T c5_y[6]);
static void c5_d_sf_marshallIn(void *chartInstanceVoid, const mxArray
*c5_mxArrayInData, const char_T *c5_varName, void *c5_outData);
static const mxArray *c5_e_sf_marshallOut(void *chartInstanceVoid, void
*c5_inData);
static void c5_info_helper(c5_ResolvedFunctionInfo c5_info[19]);
static void c5_eml_scalar_eg(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance);
static void c5_b_eml_scalar_eg(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance);
static const mxArray *c5_f_sf_marshallOut(void *chartInstanceVoid, void
*c5_inData);
static int32_T c5_g_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_u, const emlrtMsgIdentifier *c5_parentId);
static void c5_e_sf_marshallIn(void *chartInstanceVoid, const mxArray
*c5_mxArrayInData, const char_T *c5_varName, void *c5_outData);
static uint8_T c5_h_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_b_is_active_c5_AdaptiveBackStepping2, const
char_T *c5_identifier);
static uint8_T c5_i_emlrt_marshallIn(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance, const mxArray *c5_u, const emlrtMsgIdentifier *c5_parentId);
static void init_dsm_address_info(SFc5_AdaptiveBackStepping2InstanceStruct
*chartInstance);
/* Function Definitions */
static void initialize_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance)
{
chartInstance->c5_sfEvent = CALL_EVENT;
_sfTime_ = (real_T)ssGetT(chartInstance->S);
chartInstance->c5_is_active_c5_AdaptiveBackStepping2 = 0U;
}
static void initialize_params_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance)
{
}
static void enable_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance)
{
_sfTime_ = (real_T)ssGetT(chartInstance->S);
}
static void disable_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance)
{
_sfTime_ = (real_T)ssGetT(chartInstance->S);
}
static void c5_update_debugger_state_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance)
{
}
static const mxArray *get_sim_state_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance)
{
const mxArray *c5_st;
const mxArray *c5_y = NULL;
int32_T c5_i0;
real_T c5_u[3];
const mxArray *c5_b_y = NULL;
int32_T c5_i1;
real_T c5_b_u[2];
const mxArray *c5_c_y = NULL;
uint8_T c5_hoistedGlobal;
uint8_T c5_c_u;
const mxArray *c5_d_y = NULL;
real_T (*c5_vw)[2];
real_T (*c5_XYteta)[3];
c5_vw = (real_T (*)[2])ssGetOutputPortSignal(chartInstance->S, 2);
c5_XYteta = (real_T (*)[3])ssGetOutputPortSignal(chartInstance->S, 1);
c5_st = NULL;
c5_st = NULL;
c5_y = NULL;
sf_mex_assign(&c5_y, sf_mex_createcellarray(3));
for (c5_i0 = 0; c5_i0 < 3; c5_i0++) {
c5_u[c5_i0] = (*c5_XYteta)[c5_i0];
}
c5_b_y = NULL;
sf_mex_assign(&c5_b_y, sf_mex_create("y", c5_u, 0, 0U, 1U, 0U, 1, 3));
sf_mex_setcell(c5_y, 0, c5_b_y);
for (c5_i1 = 0; c5_i1 < 2; c5_i1++) {
c5_b_u[c5_i1] = (*c5_vw)[c5_i1];
}
c5_c_y = NULL;
sf_mex_assign(&c5_c_y, sf_mex_create("y", c5_b_u, 0, 0U, 1U, 0U, 1, 2));
sf_mex_setcell(c5_y, 1, c5_c_y);
c5_hoistedGlobal = chartInstance->c5_is_active_c5_AdaptiveBackStepping2;
c5_c_u = c5_hoistedGlobal;
c5_d_y = NULL;
sf_mex_assign(&c5_d_y, sf_mex_create("y", &c5_c_u, 3, 0U, 0U, 0U, 0));
sf_mex_setcell(c5_y, 2, c5_d_y);
sf_mex_assign(&c5_st, c5_y);
return c5_st;
}
static void set_sim_state_c5_AdaptiveBackStepping2
(SFc5_AdaptiveBackStepping2InstanceStruct *chartInstance, const mxArray *c5_st)
{
const mxArray *c5_u;
real_T c5_dv0[3];
int32_T c5_i2;
real_T c5_dv1[2];
int32_T c5_i3;
real_T (*c5_XYteta)[3];
real_T (*c5_vw)[2];
c5_vw = (real_T (*)[2])ssGetOutputPortSignal(chartInstance->S, 2);
c5_XYteta = (real_T (*)[3])ssGetOutputPortSignal(chartInstance->S, 1);
chartInstance->c5_doneDoubleBufferReInit = TRUE;
c5_u = sf_mex_dup(c5_st);
c5_c_emlrt_marshallIn(chartInstance, sf_mex_dup(sf_mex_getcell(c5_u, 0)),
没有合适的资源?快使用搜索试试~ 我知道了~
sim.zip_The Just_matlab GUI
共404个文件
mat:218个
h:48个
obj:44个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 152 浏览量
2022-09-15
00:33:34
上传
评论
收藏 2.13MB ZIP 举报
温馨提示
Another way to represent a polynomial is to use the Laplace variable s within MATLAB. This method is mainly used throughout these tutorials. Let's ignore the details of the Laplace domain for now and just represent polynomials with the s variable. To define the
资源推荐
资源详情
资源评论
收起资源包目录
sim.zip_The Just_matlab GUI (404个子文件)
mexopts.bat 3KB
mexopts.bat 3KB
mexopts.bat 3KB
mexopts.bat 3KB
AdaptiveBackStepping2_sfun.bat 61B
AdaptiveBackStepping3_sfun.bat 61B
AdaptiveBackStepping4_sfun.bat 61B
AdaptiveBackStepping5_sfun.bat 61B
c5_AdaptiveBackStepping2.c 57KB
c5_AdaptiveBackStepping3.c 57KB
c5_AdaptiveBackStepping4.c 57KB
c5_AdaptiveBackStepping5.c 57KB
c6_AdaptiveBackStepping4.c 51KB
c6_AdaptiveBackStepping2.c 51KB
c6_AdaptiveBackStepping3.c 51KB
c6_AdaptiveBackStepping5.c 51KB
c7_AdaptiveBackStepping2.c 48KB
c7_AdaptiveBackStepping3.c 48KB
c7_AdaptiveBackStepping4.c 48KB
c7_AdaptiveBackStepping5.c 48KB
c2_AdaptiveBackStepping2.c 44KB
c2_AdaptiveBackStepping3.c 44KB
c2_AdaptiveBackStepping4.c 44KB
c2_AdaptiveBackStepping5.c 44KB
c4_AdaptiveBackStepping5.c 39KB
c4_AdaptiveBackStepping2.c 39KB
c4_AdaptiveBackStepping3.c 39KB
c4_AdaptiveBackStepping4.c 39KB
c1_AdaptiveBackStepping2.c 35KB
c1_AdaptiveBackStepping3.c 35KB
c1_AdaptiveBackStepping4.c 35KB
c1_AdaptiveBackStepping5.c 35KB
c9_AdaptiveBackStepping2.c 31KB
c3_AdaptiveBackStepping2.c 31KB
c3_AdaptiveBackStepping3.c 31KB
c9_AdaptiveBackStepping3.c 31KB
c3_AdaptiveBackStepping4.c 31KB
c9_AdaptiveBackStepping4.c 31KB
c9_AdaptiveBackStepping5.c 31KB
c3_AdaptiveBackStepping5.c 31KB
c8_AdaptiveBackStepping2.c 28KB
c8_AdaptiveBackStepping3.c 28KB
c8_AdaptiveBackStepping4.c 28KB
c8_AdaptiveBackStepping5.c 28KB
AdaptiveBackStepping3_sfun.c 14KB
AdaptiveBackStepping5_sfun.c 14KB
AdaptiveBackStepping2_sfun.c 14KB
AdaptiveBackStepping4_sfun.c 14KB
AdaptiveBackStepping2_sfun_registry.c 7KB
AdaptiveBackStepping3_sfun_registry.c 7KB
AdaptiveBackStepping4_sfun_registry.c 7KB
AdaptiveBackStepping5_sfun_registry.c 7KB
AdaptiveBackStepping2_sfun.exp 712B
AdaptiveBackStepping3_sfun.exp 712B
AdaptiveBackStepping4_sfun.exp 712B
AdaptiveBackStepping5_sfun.exp 712B
0.fig 28KB
2.fig 22KB
1.fig 21KB
12.fig 21KB
3.fig 21KB
4.fig 21KB
5.fig 21KB
7.fig 21KB
6.fig 20KB
AdaptiveBackStepping2_sfun_debug_macros.h 17KB
AdaptiveBackStepping3_sfun_debug_macros.h 17KB
AdaptiveBackStepping4_sfun_debug_macros.h 17KB
AdaptiveBackStepping5_sfun_debug_macros.h 17KB
rtwtypes.h 9KB
rtwtypes.h 9KB
rtwtypes.h 9KB
rtwtypes.h 9KB
c4_AdaptiveBackStepping2.h 1KB
c6_AdaptiveBackStepping2.h 1KB
c5_AdaptiveBackStepping2.h 1KB
c9_AdaptiveBackStepping2.h 1KB
c7_AdaptiveBackStepping2.h 1KB
c2_AdaptiveBackStepping2.h 1KB
c3_AdaptiveBackStepping2.h 1KB
c1_AdaptiveBackStepping2.h 1KB
c6_AdaptiveBackStepping3.h 1KB
c9_AdaptiveBackStepping3.h 1KB
c5_AdaptiveBackStepping3.h 1KB
c7_AdaptiveBackStepping3.h 1KB
c1_AdaptiveBackStepping3.h 1KB
c4_AdaptiveBackStepping3.h 1KB
c2_AdaptiveBackStepping3.h 1KB
c3_AdaptiveBackStepping3.h 1KB
c9_AdaptiveBackStepping4.h 1KB
c7_AdaptiveBackStepping4.h 1KB
c1_AdaptiveBackStepping4.h 1KB
c5_AdaptiveBackStepping4.h 1KB
c3_AdaptiveBackStepping4.h 1KB
c4_AdaptiveBackStepping4.h 1KB
c2_AdaptiveBackStepping4.h 1KB
c6_AdaptiveBackStepping4.h 1KB
c2_AdaptiveBackStepping5.h 1KB
c9_AdaptiveBackStepping5.h 1KB
c3_AdaptiveBackStepping5.h 1KB
共 404 条
- 1
- 2
- 3
- 4
- 5
资源评论
钱亚锋
- 粉丝: 86
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功