image thumbnail

updated 2 months ago

MakerFaireMathworks/Competition by Paul

Simulation and Arduino/Raspberry Pi competition/workshop (robot, arduino, raspberrypi)

image thumbnail

updated 2 months ago

Model-Based Design for Electrical Automobile Chassis Control by Hitoshi Takeshita

You will be able to understand MBD process with Lego R/C car. (simulation, control design, automotive)

addExtIfNeeded(name)

Design_of_nominal_plant_for_Motor_and_Gear

convertLocalizedPropName(defInfo, val, prefix)

image thumbnail

updated 4 months ago

Embedded Coder Target for Arduino by MathWorks Embedded Coder Team

Custom target for Arduno and other processors (arduino, support package, pil)

arduino_lib

arduino_ec.flash( modelName )

arduino_ec.runAvrDude(hexFile)

image thumbnail

updated 5 months ago

TI_HERCULES_RM48_040814.zip by Anthony Seely

PIL Target for Hercules RM48 MCUs (pil, armcortex r4fcode com...)

RefreshToolchainMATFiles

TI_HERCULES_RM48_check_setup()

TI_HERCULES_RM48_setup()

image thumbnail

updated 5 months ago

Tenet LCD library for Arduino Hardware by Praveen

Tenet LCD library for Arduino Hardware (arduino, lcd, shield)

lcd_demo_model

renc2cpp(sfname)

tenetlcdlib

image thumbnail

updated 7 months ago

Autopilot Demo for ARP4754A, DO-178C and DO-331 by Bill Potter

Demonstration of how to use MathWorks products in a workflow for ARP-4754A, DO-178C nad DO-331 (aerospace, simulation, simulink)

rmi_group_info=get_sb_rmi_group_info(block,group)

AP_Lib

Altitude_Mode

image thumbnail

updated 10 months ago

Arduino Library for Sensirion SHT1x Humidity and Temperature sensors. by Antonio Beltran

The library block SHT1x reads the relative humidity [%] and temperature [°C] from a SHT1x Sensor (arduino, driver, humidity)

ArdSHT1xLib

makeInfo=rtwmakecfg()

SerialTest_ArdSHT1xLib

image thumbnail

updated 2 years ago

VU-LEGO Real Time Target by James Peyton Jones

A user-friendly Blockset for embedding real time Simulink designs on the LEGO Mindstorms NXT brick. (lego, mindstorms, nxt)

VU_testBtRxTx(port)

VU_NXTWay_Simple

VU_lineFollow1

image thumbnail

updated 2 years ago

Embedded Coder Robot NXT Demo by Takashi Chikamasa

Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots (control design, simulink, embedded code)

BluetoothRead(port)

BluetoothWrite(port)

InitAccessorBlock(varargin)

image thumbnail

updated 3 years ago

SAE Paper Demo: Model-Based Design of Hybrid Electric Vehicles by Simulink Dude

Demo files to accompany the paper by the same name (modelbased, design, hybrid)

HEV_Controller_PIL

HEV_Controller_PIL

HEV_Controller_PIL

image thumbnail

updated 3 years ago

GPS Receiver using Xilinx FPGA and TI DSP by Dick Benson

These model files move from a system level GPS receiver channel to actual operating hardware. (gps, tracking, timing)

GPS_IF_Resample

ca_code_rcvr_2

example_sel2html(fn,new)

image thumbnail

updated 3 years ago

Simulink Library for Robotics Applications by Riccardo Bevilacqua

This library implements simulink S-functions to be used under RTAI Linux for real time execution. (aerospace, control design, simulink)

nps_srllib

sfcndemo_6DoFSat

sfcndemo_diamondrelay

image thumbnail

updated 4 years ago

Kalman filtering demo in MATLAB with automatic MATLAB-to-C code generation by Houman Zarrinkoub

Kalman filtering algorithm to track an object and generating C source code for implementation (matlab to c, embedded matlab, kalman filter)

ObjTrack02(position)

kalman01(z)

MovingObject

image thumbnail

updated 4 years ago

NXTbike-GS (self-balancing bike robot by steer-into-fall) by Joep

NXTbike-GS Design based on Embedded Coder Robot NXT. and NXTway-GS (control design, simulation, simulink)

nxtbike_controller

iswall(pos, map)

mywritevrtrack(varargin)

image thumbnail

updated almost 5 years ago

Echo Canceller Workbook targeting a dsPIC by Kerry Schutz

This set of models and word documents show an echo canceller development workflow. (audio processing, video processing, echo cancellation dsp...)

ec_concept

ec_load_data_dictionary()

ec_config_subsys

image thumbnail

updated almost 5 years ago

Task execution profiling kit for Real-Time Workshop targets by David Maclay

A set of tools and examples to implement task execution profiling for a Real-Time Workshop target (realtime workshop, embedded code, verification)

create_serial_driver_blocks

exprofile_example

exprofile_example_lib

image thumbnail

updated almost 5 years ago

Dual Core Blackfin Application Example by Mark Walker

Target both cores of a BF561 microprocessor with Real-Time Workshop Embedded Coder (realtime workshop, embedded code, verification)

csc_registration(action)

dual_core

dual_core_variables.m

image thumbnail

updated 5 years ago

Address Specific Parameter Custom Storage Class by Richard Ruff

MemMap: A custom storage class that allows the user to specify the memory addresses of parameters in (realtime workshop, embedded code, verification)

CustomStorageClassListener(hRTWInfo)

CustomStorageClassListener(hRTWInfo)

MemMapVariableCheck(modelName)

image thumbnail

updated 5 years ago

External I/O and State Information Block by Roger Aarenstrup

This block generates an extra file during code generation containing external Inputs, outputs an (realtime workshop, embedded code, verification)

model_info

slblocks

image thumbnail

updated 5 years ago

Code Coverage Tool by Mark Walker

Code Coverage Tool measures C statement coverage in generated code. (realtime workshop, embedded code, verification)

cct_setup(mdlname)

cov_example

html_dump(sfname,cname)

image thumbnail

updated 5 years ago

Using the xPC Target Driver Authoring Tool to Create a Delay Timer by Doug Jones

Simple use case of the xPC Target Driver Authoring Tool. (xpc target, drivers, ddk)

delayTimerLib

makeInfo=rtwmakecfg()

xpcDelayTimerTest

image thumbnail

updated 5 years ago

xPC Target Delay Timer Block by Doug Jones

Describes a block that can be used to delay execution of an xPC Target application. (xpc target, delay, timer)

delayTimerLib

makeInfo=rtwmakecfg()

xpcDelayTimerTest

image thumbnail

updated 5 years ago

xPC Target CPU Overloads by Doug Jones

Techniques for managing xPC Target CPU overloads. (xpc target, cpu overload, real time)

timedelay(block)

timedelaylib

xpcCPUOverloadTest1

image thumbnail

updated 5 years ago

NXT Scanner with Lego Mindstorms NXT by Yoshiaki Banno

NXT Scanner Model-Based Design based on Embedded Coder Robot NXT. (simulink, simulation, demo)

EnumSample

addExtIfNeeded(name)

data_communication

image thumbnail

updated 5 years ago

NXTway-GS (Self-Balancing Two-Wheeled Robot) Controller Design by Yorihisa Yamamoto

NXTway-GS Model-Based Design based on Embedded Coder Robot NXT. (realtime workshop, embedded code, verification)

iswall(pos, map)

mywritevrtrack(varargin)

nxtway_gs

image thumbnail

updated 5 years ago

NXT Ballbot (Self-Balancing Robot On A Ball) Controller Design by Yorihisa Yamamoto

NXT Ballbot Model-Based Design based on Embedded Coder Robot NXT. (control design, modeling, simulation)

iswall(pos, map)

mywritevrtrack(varargin)

nxt_ballbot

image thumbnail

updated 5 years ago

NXT SCARA (Two-Link Planar Robot Arm) Controller Design by Yorihisa Yamamoto

NXT SCARA Model-Based Design based on Embedded Coder Robot NXT. (lego, mindstorms, nxt)

cal_cp_ptp(cp_name, ts, l1, l2)

cal_eta(eta_s, eta_f, vec_max, dt, ts)

cal_ptp(cp, pos_s, pos_f, ts, l1, l2)

image thumbnail

updated 5 years ago

xPC Target Speaker Blocks by Jon Raichek

A block library containing utility blocks to play music over the internal speaker of a target PC. (xpc target)

xpcspeakerlib

...

previewsong(frequencies, durations, gap, Fs)

image thumbnail

updated 5 years ago

xPC Target Wall Time by Jon Raichek

The Wall Time block outputs the current date and time in several formats. (xpc target, timestamp, time)

xpcwalltimelib

hands(hour, minute, hlen, mlen)

WallTimeDemo

image thumbnail

updated almost 6 years ago

SDOxlsIF: Excel Interface API for Simulink Data Object by Tomoki Fukuda

SDOxlsIF: Useful M-File functions to interface Simulink Data Object with Microsoft Excel worksheet. (realtime workshop, embedded code, verification)

addExtIfNeeded(name)

convertLocalizedPropName(defInfo, val, prefix)

convertLocalizedSheetName(defInfo, val)

image thumbnail

updated 6 years ago

STCSL - RTW version by Petr Chalupa

Self-Tuning Controllers Simulink Library - Real Time Workshop version. (selftunig control, simulink library, control design)

[param]=db2s(input)

circuit_rtw

[param]=db3s(input)

image thumbnail

updated 6 years ago

xPC Target Driver Authoring Tool Tutorial by Jon Raichek

A step-by-step tutorial on how to create custom device drivers for xPC Target using xpcdrivertool. (drivers, xpcdrivertool, xpc target)

...

sink

source

image thumbnail

updated almost 7 years ago

Olin Robotics Blockset for xPC Target by John Kluza

xPC Target drivers for common robotics devices with example models. (drivers, gps, ins)

OlinRoboticsLibrary

RBdemo_LMS291_ConfigSetup

slblocks

image thumbnail

updated almost 7 years ago

Comedi Toolbox v1.0 for Linux Based RTW Targets by Dan Bhanderi

Comedi Blocks for code generation with the Linux based Real-Time Targets (e.g. the LNX Target) (hardware targets, realtime workshop, simulink)

comedi_lib

makeInfo=rtwmakecfg()

slblocks

image thumbnail

updated almost 8 years ago

Code Verification using RTDX by Kerry Schutz

Verify your DSP Implementation using RTDX and Simulink (hardware targets, firmware ti dsp rtdx ...)

LMSNoiseCanceller

LMSNoiseCanceller_FixPt

LMSNoiseCanceller_Host3

image thumbnail

updated almost 8 years ago

DSP Code Verification using UDP by Kerry Schutz

How to verify the functionality of your DSP code via processor in-the-loop co-simulation using Simul (hardware targets, udp ethernet dsp code...)

example_sel2html(fn,new)

gain_6416_hst_udp

gain_6416_tgt_udp

image thumbnail

updated 8 years ago

MPC555 Motor Control Function Blockset by Edward Hartley

Additional I/O blocks for MPC555 target - specifically targetting TPU functionality (realtime workshop, embedded code, verification)

...

BLDCtest

COMMTest

image thumbnail

updated 12 years ago

Using RTW and Compiler by Tan Chin Luh

Stand alone application example using rapid simulation file. (gui tools, example, rapid simulation)

guide302(varargin)

guide302model

Contact us