小弟最近需要使用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
共2条
1/1 1 跳转至页
求助在simulink下载为tornado目标的问题
只看楼主 1楼
关键词: 求助 simulink 下载 tornado 标的
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |