实例介绍
嵌入式的,基于MATLAB的网络仿真工具包。包括工具包、实用说明文档、例子。
【实例截图】
【核心代码】
4744300845151931786.rar
└── truetime-1.5
├── docs
│ └── report.pdf
├── examples
│ ├── AODV
│ │ ├── AODV.mdl
│ │ ├── AODVrcvcode.m
│ │ ├── AODVsendcode.m
│ │ ├── APPLmovecode5.m
│ │ ├── APPLmovecode6.m
│ │ ├── APPLrcvcode.m
│ │ ├── APPLsendcode.m
│ │ ├── expcode.m
│ │ ├── findEntry.m
│ │ ├── findInCache.m
│ │ ├── getRoute.m
│ │ ├── hellocode.m
│ │ ├── initsim.m
│ │ ├── moteanimation.m
│ │ ├── node_init.m
│ │ ├── nwrcvcode.m
│ │ ├── README
│ │ ├── timercode.m
│ │ ├── updateEntry.m
│ │ ├── updateExpiryTimer.m
│ │ └── updateReverse.m
│ ├── distributed
│ │ ├── c++
│ │ │ ├── actuator_init.cpp
│ │ │ ├── controller_init.cpp
│ │ │ ├── distributed.mdl
│ │ │ ├── interference_init.cpp
│ │ │ ├── make.m
│ │ │ └── sensor_init.cpp
│ │ ├── matlab
│ │ │ ├── actcode.m
│ │ │ ├── actuator_init.m
│ │ │ ├── controller_init.m
│ │ │ ├── ctrlcode.m
│ │ │ ├── distributed.mdl
│ │ │ ├── dummycode.m
│ │ │ ├── interfcode.m
│ │ │ ├── interference_init.m
│ │ │ ├── msgRcvActuator.m
│ │ │ ├── msgRcvCtrl.m
│ │ │ ├── msgRcvInterf.m
│ │ │ ├── msgRcvSensor.m
│ │ │ ├── senscode.m
│ │ │ └── sensor_init.m
│ │ └── README
│ ├── motes
│ │ ├── code.m
│ │ ├── init.m
│ │ ├── moteanimation.m
│ │ ├── motes.mdl
│ │ ├── motes.mdl.autosave
│ │ ├── msgRcv.m
│ │ ├── node_init.m
│ │ └── README
│ ├── overrun
│ │ ├── hdlcode.m
│ │ ├── overrun_init.m
│ │ ├── overrun.mdl
│ │ ├── overrun.mdl.original
│ │ ├── pidcalc.m
│ │ ├── pidcode.m
│ │ ├── README
│ │ └── untitled.mdl.autosave
│ ├── simple_pid
│ │ ├── c++
│ │ │ ├── controller.mdl
│ │ │ ├── servo_init.cpp
│ │ │ └── servo.mdl
│ │ ├── matlab
│ │ │ ├── controller.mdl
│ │ │ ├── pidcalc.m
│ │ │ ├── pidcode1.m
│ │ │ ├── pidcode2.m
│ │ │ ├── pidcode3.m
│ │ │ ├── pidcode4.m
│ │ │ ├── samplercode.m
│ │ │ ├── servo_init.asv
│ │ │ ├── servo_init.m
│ │ │ └── servo.mdl
│ │ └── README
│ ├── soccer
│ │ ├── ballmotion.m
│ │ ├── blueCtrlcode.m
│ │ ├── blueMsgRcvMaster.m
│ │ ├── blueMsgRcvSlave.m
│ │ ├── getBallZone.m
│ │ ├── getRandRef.m
│ │ ├── goalieCtrl.m
│ │ ├── init_blue_mote.m
│ │ ├── init_motes.m
│ │ ├── init_red_mote.m
│ │ ├── moteanimation.m
│ │ ├── mote_state.m
│ │ ├── node_blue_goalie_init.m
│ │ ├── node_blue_init.m
│ │ ├── node_red_goalie_init.m
│ │ ├── node_red_init.m
│ │ ├── proximitySensorGoalie.m
│ │ ├── proximitySensor.m
│ │ ├── README
│ │ ├── redCtrlcode.m
│ │ ├── redMsgRcvMaster.m
│ │ ├── redMsgRcvSlave.m
│ │ └── soccer.mdl
│ ├── synch
│ │ ├── calculateOutput.m
│ │ ├── innercode.m
│ │ ├── newpid.m
│ │ ├── outercode.m
│ │ ├── README
│ │ ├── synch_init.m
│ │ ├── synch.mdl
│ │ └── updateState.m
│ ├── threeservos
│ │ ├── c++
│ │ │ ├── threeservos_init.cpp
│ │ │ └── threeservos.mdl
│ │ ├── matlab
│ │ │ ├── pidcalc.m
│ │ │ ├── pidcode.m
│ │ │ ├── threeservos_init.m
│ │ │ └── threeservos.mdl
│ │ └── README
│ ├── ttsendmsg
│ │ ├── eventtriggered.mdl
│ │ ├── test.mdl
│ │ └── timetriggered.mdl
│ ├── ultrasound
│ │ ├── node_init.m
│ │ ├── pingcode.m
│ │ ├── rcvcode.m
│ │ └── ultrasound.mdl
│ └── wireless
│ ├── actcode.m
│ ├── actuator_init.m
│ ├── controller_init.m
│ ├── ctrlcode.m
│ ├── msgRcvActuator.m
│ ├── msgRcvCtrl.m
│ ├── powctrlcode.m
│ ├── powrespcode.m
│ ├── README
│ ├── senscode.m
│ └── wireless.mdl
├── HISTORY
├── kernel
│ ├── abortsimulation.cpp
│ ├── analogin.cpp
│ ├── analogout.cpp
│ ├── attachdlhandler.cpp
│ ├── attachhook.cpp
│ ├── attachpriofcn.cpp
│ ├── attachwcethandler.cpp
│ ├── blockdata.h
│ ├── callblocksystem.cpp
│ ├── codefunctions.cpp
│ ├── compfunctions.cpp
│ ├── createevent.cpp
│ ├── createhandler.cpp
│ ├── createjob.cpp
│ ├── createlog.cpp
│ ├── createmailbox.cpp
│ ├── createmonitor.cpp
│ ├── createpertask.cpp
│ ├── createsemaphore.cpp
│ ├── createtask.cpp
│ ├── createtimer.cpp
│ ├── createtrigger.cpp
│ ├── currenttime.cpp
│ ├── datanode.h
│ ├── defaulthooks.cpp
│ ├── discardunsent.cpp
│ ├── entermonitor.cpp
│ ├── event.h
│ ├── exitmonitor.cpp
│ ├── fetch.cpp
│ ├── getabsdeadline.cpp
│ ├── getbudget.cpp
│ ├── getdata.cpp
│ ├── getdeadline.cpp
│ ├── getinitarg.cpp
│ ├── getmsg_callback.m
│ ├── getmsg.cpp
│ ├── getnetwork.cpp
│ ├── getnode.cpp
│ ├── getperiod.cpp
│ ├── getpriority.cpp
│ ├── getrelease.cpp
│ ├── getwcet.cpp
│ ├── give.cpp
│ ├── handler.h
│ ├── hdlerror.cpp
│ ├── initkernel.cpp
│ ├── initnetwork2.cpp
│ ├── initnetwork.cpp
│ ├── init_truetime.m
│ ├── invokingtask.cpp
│ ├── kernel_callback.m
│ ├── killjob.cpp
│ ├── linkedlist.cpp
│ ├── linkedlist.h
│ ├── log.h
│ ├── lognow.cpp
│ ├── logstart.cpp
│ ├── logstop.cpp
│ ├── mailbox.h
│ ├── make_truetime.m
│ ├── matlab
│ │ ├── compileall.m
│ │ ├── compileall.m~
│ │ ├── getrtsys.cpp
│ │ ├── help
│ │ │ ├── ttAbortSimulation.m
│ │ │ ├── ttAnalogIn.m
│ │ │ ├── ttAnalogOut.m
│ │ │ ├── ttAttachDLHandler.m
│ │ │ ├── ttAttachWCETHandler.m
│ │ │ ├── ttCallBlockSystem.m
│ │ │ ├── ttCreateEvent.m
│ │ │ ├── ttCreateExternalTrigger.m
│ │ │ ├── ttCreateInterruptHandler.m
│ │ │ ├── ttCreateJob.m
│ │ │ ├── ttCreateLog.m
│ │ │ ├── ttCreateMailbox.m
│ │ │ ├── ttCreateMonitor.m
│ │ │ ├── ttCreatePeriodicTask.m
│ │ │ ├── ttCreatePeriodicTimer.m
│ │ │ ├── ttCreateSemaphore.m
│ │ │ ├── ttCreateTask.m
│ │ │ ├── ttCreateTimer.m
│ │ │ ├── ttCurrentTime.m
│ │ │ ├── ttDiscardUnsentMessages.m
│ │ │ ├── ttEnterMonitor.m
│ │ │ ├── ttExitMonitor.m
│ │ │ ├── ttFetch.m
│ │ │ ├── ttGetAbsDeadline.m
│ │ │ ├── ttGetBudget.m
│ │ │ ├── ttGetData.m
│ │ │ ├── ttGetDeadline.m
│ │ │ ├── ttGetMsg.m
│ │ │ ├── ttGetPeriod.m
│ │ │ ├── ttGetPriority.m
│ │ │ ├── ttGetRelease.m
│ │ │ ├── ttGetWCET.m
│ │ │ ├── ttGetX.m
│ │ │ ├── ttGive.m
│ │ │ ├── ttInitKernel.m
│ │ │ ├── ttInitNetwork.m
│ │ │ ├── ttInvokingTask.m
│ │ │ ├── ttKillJob.m
│ │ │ ├── ttLogNow.m
│ │ │ ├── ttLogStart.m
│ │ │ ├── ttLogStop.m
│ │ │ ├── ttNonPreemptable.m
│ │ │ ├── ttNoSchedule.m
│ │ │ ├── ttNotifyAll.m
│ │ │ ├── ttNotify.m
│ │ │ ├── ttPost.m
│ │ │ ├── ttRemoveTimer.m
│ │ │ ├── ttRetrieve.m
│ │ │ ├── ttSendMsg.m
│ │ │ ├── ttSetAbsDeadline.m
│ │ │ ├── ttSetBudget.m
│ │ │ ├── ttSetData.m
│ │ │ ├── ttSetDeadline.m
│ │ │ ├── ttSetKernelParameter.m
│ │ │ ├── ttSetNetworkParameter.m
│ │ │ ├── ttSetNextSegment.m
│ │ │ ├── ttSetPeriod.m
│ │ │ ├── ttSetPriority.m
│ │ │ ├── ttSetWCET.m
│ │ │ ├── ttSetX.m
│ │ │ ├── ttSleep.m
│ │ │ ├── ttSleepUntil.m
│ │ │ ├── ttTake.m
│ │ │ ├── ttTryFetch.m
│ │ │ ├── ttTryPost.m
│ │ │ └── ttWait.m
│ │ ├── ttAbortSimulation.cpp
│ │ ├── ttAbortSimulation.dll
│ │ ├── ttAbortSimulation.mexglx
│ │ ├── ttAnalogIn.cpp
│ │ ├── ttAnalogIn.dll
│ │ ├── ttAnalogIn.mexglx
│ │ ├── ttAnalogOut.cpp
│ │ ├── ttAnalogOut.dll
│ │ ├── ttAnalogOut.mexglx
│ │ ├── ttAttachDLHandler.cpp
│ │ ├── ttAttachDLHandler.dll
│ │ ├── ttAttachDLHandler.mexglx
│ │ ├── ttAttachWCETHandler.cpp
│ │ ├── ttAttachWCETHandler.dll
│ │ ├── ttAttachWCETHandler.mexglx
│ │ ├── ttCallBlockSystem.cpp
│ │ ├── ttCallBlockSystem.dll
│ │ ├── ttCallBlockSystem.mexglx
│ │ ├── ttCreateEvent.cpp
│ │ ├── ttCreateEvent.dll
│ │ ├── ttCreateEvent.mexglx
│ │ ├── ttCreateExternalTrigger.cpp
│ │ ├── ttCreateExternalTrigger.dll
│ │ ├── ttCreateExternalTrigger.mexglx
│ │ ├── ttCreateInterruptHandler.cpp
│ │ ├── ttCreateInterruptHandler.dll
│ │ ├── ttCreateInterruptHandler.mexglx
│ │ ├── ttCreateJob.cpp
│ │ ├── ttCreateJob.dll
│ │ ├── ttCreateJob.mexglx
│ │ ├── ttCreateLog.cpp
│ │ ├── ttCreateLog.dll
│ │ ├── ttCreateLog.mexglx
│ │ ├── ttCreateMailbox.cpp
│ │ ├── ttCreateMailbox.dll
│ │ ├── ttCreateMailbox.mexglx
│ │ ├── ttCreateMonitor.cpp
│ │ ├── ttCreateMonitor.dll
│ │ ├── ttCreateMonitor.mexglx
│ │ ├── ttCreatePeriodicTask.cpp
│ │ ├── ttCreatePeriodicTask.dll
│ │ ├── ttCreatePeriodicTask.mexglx
│ │ ├── ttCreatePeriodicTimer.cpp
│ │ ├── ttCreatePeriodicTimer.dll
│ │ ├── ttCreatePeriodicTimer.mexglx
│ │ ├── ttCreateSemaphore.cpp
│ │ ├── ttCreateSemaphore.dll
│ │ ├── ttCreateSemaphore.mexglx
│ │ ├── ttCreateTask.cpp
│ │ ├── ttCreateTask.dll
│ │ ├── ttCreateTask.mexglx
│ │ ├── ttCreateTimer.cpp
│ │ ├── ttCreateTimer.dll
│ │ ├── ttCreateTimer.mexglx
│ │ ├── ttCurrentTime.cpp
│ │ ├── ttCurrentTime.dll
│ │ ├── ttCurrentTime.mexglx
│ │ ├── ttDiscardUnsentMessages.cpp
│ │ ├── ttDiscardUnsentMessages.dll
│ │ ├── ttDiscardUnsentMessages.mexglx
│ │ ├── ttEnterMonitor.cpp
│ │ ├── ttEnterMonitor.dll
│ │ ├── ttEnterMonitor.mexglx
│ │ ├── ttExitMonitor.cpp
│ │ ├── ttExitMonitor.dll
│ │ ├── ttExitMonitor.mexglx
│ │ ├── ttFetch.cpp
│ │ ├── ttFetch.dll
│ │ ├── ttFetch.mexglx
│ │ ├── ttGetAbsDeadline.cpp
│ │ ├── ttGetAbsDeadline.dll
│ │ ├── ttGetAbsDeadline.mexglx
│ │ ├── ttGetBudget.cpp
│ │ ├── ttGetBudget.dll
│ │ ├── ttGetBudget.mexglx
│ │ ├── ttGetData.cpp
│ │ ├── ttGetData.dll
│ │ ├── ttGetData.mexglx
│ │ ├── ttGetDeadline.cpp
│ │ ├── ttGetDeadline.dll
│ │ ├── ttGetDeadline.mexglx
│ │ ├── ttGetMsg2.cpp
│ │ ├── ttGetMsg2.dll
│ │ ├── ttGetMsg2.mexglx
│ │ ├── ttGetMsg.cpp
│ │ ├── ttGetMsg.dll
│ │ ├── ttGetMsg.mexglx
│ │ ├── ttGetPeriod.cpp
│ │ ├── ttGetPeriod.dll
│ │ ├── ttGetPeriod.mexglx
│ │ ├── ttGetPriority.cpp
│ │ ├── ttGetPriority.dll
│ │ ├── ttGetPriority.mexglx
│ │ ├── ttGetRelease.cpp
│ │ ├── ttGetRelease.dll
│ │ ├── ttGetRelease.mexglx
│ │ ├── ttGetWCET.cpp
│ │ ├── ttGetWCET.dll
│ │ ├── ttGetWCET.mexglx
│ │ ├── ttGive.cpp
│ │ ├── ttGive.dll
│ │ ├── ttGive.mexglx
│ │ ├── ttInitKernel.cpp
│ │ ├── ttInitKernel.dll
│ │ ├── ttInitKernel.mexglx
│ │ ├── ttInitNetwork.cpp
│ │ ├── ttInitNetwork.dll
│ │ ├── ttInitNetwork.mexglx
│ │ ├── ttInvokingTask.cpp
│ │ ├── ttInvokingTask.dll
│ │ ├── ttInvokingTask.mexglx
│ │ ├── ttKillJob.cpp
│ │ ├── ttKillJob.dll
│ │ ├── ttKillJob.mexglx
│ │ ├── ttLogNow.cpp
│ │ ├── ttLogNow.dll
│ │ ├── ttLogNow.mexglx
│ │ ├── ttLogStart.cpp
│ │ ├── ttLogStart.dll
│ │ ├── ttLogStart.mexglx
│ │ ├── ttLogStop.cpp
│ │ ├── ttLogStop.dll
│ │ ├── ttLogStop.mexglx
│ │ ├── ttNonPreemptable.cpp
│ │ ├── ttNonPreemptable.dll
│ │ ├── ttNonPreemptable.mexglx
│ │ ├── ttNoSchedule.cpp
│ │ ├── ttNoSchedule.dll
│ │ ├── ttNoSchedule.mexglx
│ │ ├── ttNotifyAll.cpp
│ │ ├── ttNotifyAll.dll
│ │ ├── ttNotifyAll.mexglx
│ │ ├── ttNotify.cpp
│ │ ├── ttNotify.dll
│ │ ├── ttNotify.mexglx
│ │ ├── ttPost.cpp
│ │ ├── ttPost.dll
│ │ ├── ttPost.mexglx
│ │ ├── ttRemoveTimer.cpp
│ │ ├── ttRemoveTimer.dll
│ │ ├── ttRemoveTimer.mexglx
│ │ ├── ttRetrieve.cpp
│ │ ├── ttRetrieve.dll
│ │ ├── ttRetrieve.mexglx
│ │ ├── ttSendMsg2.cpp
│ │ ├── ttSendMsg2.dll
│ │ ├── ttSendMsg2.mexglx
│ │ ├── ttSendMsg.cpp
│ │ ├── ttSendMsg.dll
│ │ ├── ttSendMsg.mexglx
│ │ ├── ttSetAbsDeadline.cpp
│ │ ├── ttSetAbsDeadline.dll
│ │ ├── ttSetAbsDeadline.mexglx
│ │ ├── ttSetBudget.cpp
│ │ ├── ttSetBudget.dll
│ │ ├── ttSetBudget.mexglx
│ │ ├── ttSetData.cpp
│ │ ├── ttSetData.dll
│ │ ├── ttSetData.mexglx
│ │ ├── ttSetDeadline.cpp
│ │ ├── ttSetDeadline.dll
│ │ ├── ttSetDeadline.mexglx
│ │ ├── ttSetKernelParameter.cpp
│ │ ├── ttSetKernelParameter.dll
│ │ ├── ttSetKernelParameter.mexglx
│ │ ├── ttSetNetworkParameter.cpp
│ │ ├── ttSetNetworkParameter.dll
│ │ ├── ttSetNetworkParameter.mexglx
│ │ ├── ttSetNextSegment.cpp
│ │ ├── ttSetNextSegment.dll
│ │ ├── ttSetNextSegment.mexglx
│ │ ├── ttSetPeriod.cpp
│ │ ├── ttSetPeriod.dll
│ │ ├── ttSetPeriod.mexglx
│ │ ├── ttSetPriority.cpp
│ │ ├── ttSetPriority.dll
│ │ ├── ttSetPriority.mexglx
│ │ ├── ttSetWCET.cpp
│ │ ├── ttSetWCET.dll
│ │ ├── ttSetWCET.mexglx
│ │ ├── ttSleep.cpp
│ │ ├── ttSleep.dll
│ │ ├── ttSleep.mexglx
│ │ ├── ttSleepUntil.cpp
│ │ ├── ttSleepUntil.dll
│ │ ├── ttSleepUntil.mexglx
│ │ ├── ttTake.cpp
│ │ ├── ttTake.dll
│ │ ├── ttTake.mexglx
│ │ ├── ttTryFetch.cpp
│ │ ├── ttTryFetch.dll
│ │ ├── ttTryFetch.mexglx
│ │ ├── ttTryPost.cpp
│ │ ├── ttTryPost.dll
│ │ ├── ttTryPost.mexglx
│ │ ├── ttWait.cpp
│ │ ├── ttWait.dll
│ │ └── ttWait.mexglx
│ ├── mexhelp.h
│ ├── monitor.h
│ ├── network_callback.m
│ ├── network.h
│ ├── nonpreemptable.cpp
│ ├── noschedule.cpp
│ ├── notify.cpp
│ ├── overruntimers.cpp
│ ├── pathloss_button.m
│ ├── post.cpp
│ ├── priofunctions.cpp
│ ├── removetimer.cpp
│ ├── retrieve.cpp
│ ├── semaphore.h
│ ├── sendmsg_callback.m
│ ├── sendmsg.cpp
│ ├── setabsdeadline.cpp
│ ├── setbudget.cpp
│ ├── setdata.cpp
│ ├── setdeadline.cpp
│ ├── setkernelparameter.cpp
│ ├── setnetworkparameter.cpp
│ ├── setnextsegment.cpp
│ ├── setperiod.cpp
│ ├── setpriority.cpp
│ ├── setwcet.cpp
│ ├── sfunchk.m
│ ├── sleep.cpp
│ ├── take.cpp
│ ├── task.h
│ ├── timer.h
│ ├── trigger.h
│ ├── truetime.mdl
│ ├── tryfetch.cpp
│ ├── trypost.cpp
│ ├── ttkernel.cpp
│ ├── ttkernel.h
│ ├── ttkernelMATLAB.cpp
│ ├── ttkernelMATLAB.dll
│ ├── ttkernelMATLAB.mexglx
│ ├── ttmex.m
│ ├── ttnetwork.cpp
│ ├── ttnetwork.dll
│ ├── ttnetwork.h
│ ├── ttnetwork.mexglx
│ ├── ttwnetwork.cpp
│ ├── ttwnetwork.dll
│ ├── ttwnetwork.mexglx
│ ├── usertask.h
│ ├── wait.cpp
│ └── wnetwork_callback.m
├── LICENSE
├── matlab
│ ├── actcode.m
│ ├── actuator_init.m
│ ├── controller_init.m
│ ├── ctrlcode.m
│ ├── distributed1.mdl
│ ├── distributed2.mdl
│ ├── distributed.mdl
│ ├── dummycode.m
│ ├── interfcode.m
│ ├── interference_init.m
│ ├── msgRcvActuator.m
│ ├── msgRcvCtrl.m
│ ├── msgRcvInterf.m
│ ├── msgRcvSensor.m
│ ├── senscode.m
│ └── sensor_init.m
├── motes
│ ├── code.m
│ ├── init.m
│ ├── moteanimation.asv
│ ├── moteanimation.m
│ ├── motes.mdl
│ ├── msgRcv.m
│ ├── node_init.m
│ ├── README
│ └── untitled.mdl.autosave
└── testmotes
├── node_init.asv
├── node_init.m
├── note.mdl
├── pidcalc.m
└── pidcode1.m
26 directories, 540 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论