Refine by Content Type

Refine by Time Frame

image thumbnail

updated 7 days ago

Files Associated with the Video "Creating a Simulink Block Using MATLAB Code" by MathWorks Student Competitions Team

The files in this submission are used in the video "Creating a Simulink Block Using MATLAB Code" (customization, simulink, block)

getTouchSensorRootPath()

TouchSensor

image thumbnail

updated 1 month 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)

Autopilot_bus()

get_sb_rmi_group_info(block,group)

Roll_AP_PlotData.m

image thumbnail

updated 5 months ago

MakerFaireMathworks/Competition by Paul

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

image thumbnail

updated 5 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)

convertLocalizedPropName(defInfo, val, prefix)

convertLocalizedSheetName(defInfo, val)

image thumbnail

updated 7 months ago

Embedded Coder Target for Arduino by MathWorks Embedded Coder Team

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

arduino_ec.flash( modelName )

arduino_ec.runAvrDude(hexFile)

arduino_ec_make_rtw_hook(hookMethod, modelName, ~, ~, ~, ~)

image thumbnail

updated 8 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 8 months ago

Tenet LCD library for Arduino Hardware by Praveen

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

renc2cpp(sfname)

tenetlibsetup(libName, blockName)

lcd_demo_model

image thumbnail

updated 1 year 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)

makeInfo=rtwmakecfg()

BuildSHT1xLib.m

ArdSHT1xLib

image thumbnail

updated 2 years ago

SCOPE: interactively tabulate SEER excel variables by Rex Cheung

This takes SEER excel column data interactively, tabulate them, write back in table format. (data import, data export, optimization)

output=xls2tabulate2xls(xlsfilename)

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_testUsbRxTx1()

closeNXT(h)

image thumbnail

updated almost 3 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 almost 3 years ago

Embedded Coder Support Package for Beagle Board by MathWorks Classroom Resources Team

Simulink block library for creating standalone applications for the Beagle Board (beagleboard, beagle board, support package)

patch_installer(zipFileName, action)

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)

callbackinfo_get_selection(h)

determinePowerFlow(Eng_Planet_Power, Sun_Gen_Power, Gen_B...

determinePowerFlow(Eng_Planet_Power, Sun_Gen_Power, Gen_B...

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)

ca=ca_fpga;

example_sel2html(fn,new)

GPS_Capture.m

image thumbnail

updated almost 4 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)

[datatypesout]=any2byte(datatypes)

[dimensionsout, datatypesout]=byte2any(dimensions, dataty...

mexcwithf(sfunstr)

image thumbnail

updated 4 years ago

ss2sf - Subsystem-to-S Function by Cole Stephens

Convert a subsystem to an s-function via the MATLAB command line. (simulink, sfunction, s function)

ss2sf(mdl,subsystemNames)

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)

ObjTrack01(position)

ObjTrack02(position)

kalman01(z)

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)

iswall(pos, map)

mywritevrtrack(varargin)

csv.m

image thumbnail

updated 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_load_data_dictionary()

ec_scopes(mode)

example_sel2html(fn,new)

image thumbnail

updated 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_get_data_from_target1(connection, varargin)

exprofile_run(connection, varargin)

image thumbnail

updated 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_variables.m

dual_core

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)

slblocks

model_info

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)

html_dump(sfname,cname)

cov_example

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)

makeInfo=rtwmakecfg()

xpcDelayTimerTestResults.m

delayTimerLib

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)

makeInfo=rtwmakecfg()

xpcDelayTimerTestResults.m

delayTimerLib

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)

xpcCPUOverloadTestPlot.m

timedelaylib

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)

NXTScannerViewer.m

addExtIfNeeded(name)

convertLocalizedPropName(defInfo, val, prefix)

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)

param_controller.m

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)

param_controller.m

image thumbnail

updated almost 6 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 almost 6 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)

...

previewsong(frequencies, durations, gap, Fs)

speakerdemo

image thumbnail

updated almost 6 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)

hands(hour, minute, hlen, mlen)

WallTimeDemo

xpcwalltimelib

image thumbnail

updated 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)

[param]=db2w(input)

[param]=db3s(input)

image thumbnail

updated 6 years ago

Linux Soft Real-Time Target v2.4 by Dan Bhanderi

Custom Linux target for Real-time Workshop. (hardware targets, target, linux)

lnx_callback(hDlg, hSrc, paramName)

lnx_install_dir

makeInfo=rtwmakecfg()

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)

...

previewsong(frequencies, durations, gap, Fs)

sink

image thumbnail

updated 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)

slblocks

LMS291_ChangeTo500KBaudRate.m

LMS291_Init.m

image thumbnail

updated 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)

makeInfo=rtwmakecfg()

slblocks

comedi_lib

image thumbnail

updated 8 years ago

Code Verification using RTDX by Kerry Schutz

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

example_sel2html(fn,new)

myLMS.m

LMSNoiseCanceller

image thumbnail

updated 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)

...

...

SerialHostEnd(serialporthandle, SerDataDefinition)

image thumbnail

updated 9 years ago

Almost Real-Time Target v2.0 by Dan Bhanderi

Generic custom target for almost real-time simulation on windows, linux, and solaris. (hardware targets, targets, linux)

art_default_tmf

art_install_dir

make_art(varargin)

image thumbnail

updated almost 12 years ago

Real-Time Workshop Targeting Tips and Scripts by Tom Erkkinen

Has best practices and scripts to configure embedded code generation for any production target. (whitepaper, article, paper)

ConfigurationDebug (model)

ConfigurationOpen(model)

ConfigurationOptimized (model)

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