betway88必威体育
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 求助在simulink下载为tornado目标的问题

共2条 1/1 1 跳转至

求助在simulink下载为tornado目标的问题

菜鸟
2005-11-02 19:13:27     打赏

小弟最近需要使用simulink将.mdl文件下载为VxWorks/Tornado下的.out文件,

但是在修改tornado.tmf文件时遇到困难,随便用matlab自带的模块f14.mdl下载,结果却

出现了系统找不到cygwin1.dll文件的错误,我找了很久也找不到原因。希望各位做过这方

面工作的大哥赐教。小弟不胜感激。
下面是我所改过后的tornado.tmf文件,Matlab版本是R14SP3,Tornado2.2。
(主要是改过的部分)
#------------------------ Macros read by make_rtw ----------------------------

--
MAKECMD = c:/Tornado2.2/host/x86-win32/bin/make
HOST = ANY
BUILD = yes
BUILD_SUCCESS = Created executable
DOWNLOAD_SUCCESS = task spawned
SYS_TARGET_FILE = tornado.tlc

#------------------------------ Tool Locations -------------------------------

--
ifeq ($(COMPUTER),PCWIN)
WIND_BASE = c:/Tornado2.2
WIND_REGISTRY = xpc
WIND_HOST_TYPE = x86-win32
else
endif

#------------------------- VxWorks Configuration ----------------------------

--
VX_TARGET_TYPE = simpc
CPU_TYPE = SIMNT

#------------------------------ Include Path ---------------------------------

--
TORNADO_TARGET_COMPILER_INCLUDES = $(WIND_BASE)/host/x86-win32/lib/gcc-lib/i38

6-pc-mingw32/gcc-2.96/include
TORNADO_INCLUDES = \
-I$(WIND_BASE)/target/h \
-I$(WIND_BASE)/host/include/share \
-I$(TORNADO_TARGET_COMPILER_INCLUDES)
USER_INCLUDES =
INCLUDES = -I. -I.. $(MATLAB_INCLUDES) $(ADD_INCLUDES) $(TORNADO_INCLUDES) \

$(SCOPE_INCLUDES) $(USER_INCLUDES)

#----------------------------- Source Files ----------------------------------

--
REQ_SRCS = $(MODEL).c $(MODULES) rt_main.c rt_sim.c rt_nonfinite.c $(EXT_SRC)


USER_SRCS =

SRCS = $(REQ_SRCS) $(S_FUNCTIONS) $(SOLVER) $(USER_SRCS)
OBJS = $(SRCS:.c=.o)

PROGRAM = ../$(MODEL).out




关键词: 求助     simulink     下载     tornado     标的    

菜鸟
2005-11-04 00:55:00     打赏
2楼
我也同样遇到此类问题,急盼回答。。。。。。。。

共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]