image thumbnail

updated 7 months ago

Device Drivers by Giampiero Campa

Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples (arduino, device, driver)

encoder_slsp

encoder_slsp_mega

input_slsp

image thumbnail

updated 7 months ago

RGDS_Practical_Guide by Daniel/Ronald

MATLAB routines for the book: "Development of Innovative Drugs via Modeling with MATLAB". (simulation, pharmaceutical, simulink)

AUC

CTSbasics.m

DDEmar

image thumbnail

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

EnsembleControlMassSpring.zip by Nathan

Simple example of ensemble control using a mass-spring model. (ensemble control, mass, spring)

[input]=CalculateInput(n,k,start,final,Ad,Bd,nominaleps)

MassSpring

EnsembleControlMassSpring.m

image thumbnail

updated 7 months ago

Scissor Lift Model in SimMechanics by Steve Miller

Scissor lift built from a library of parameterized, reusable components, with a hydraulic actuator. (simmechanics, simhydraulics, simscape)

Defining_Bodies_1_From_Scratch

Extr_Data_Ring(ring_or, ring_ir, deg1, deg2, varargin)

Defining_Bodies_2_Refined_2Hole

image thumbnail

updated 7 months ago

SimMechanics Parameterized Part Examples by Steve Miller

Parameterized parts for SimMechanics, including MATLAB functions for defining extrusions. (simmechanics, second generation, 2g)

Extr_Data_Ellipse(a, b, deg1, deg2, ctr, varargin)

Extr_Data_Gear(type, Dp, N, varargin)

Extr_Data_Link1Hole(L, W, r)

image thumbnail

updated 7 months ago

Simple Suspension test by Arts Hirata

Simple one suspension test by SimMechanics & SimDriveline (mechanical modeling, physical modeling)

axle_add_c(blk,blk2,sgn,pos)

Simple_Suspension_test

axle_add(blk,blk2,sgn,pos)

image thumbnail

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

Simple Electric Power Steering Model by Arts Hirata

Simple EPS plant model and motor control model (mechanical modeling, physical modeling)

Simple_EPS

axle_add(blk,blk2,sgn,pos)

axle_add_c(blk,blk2,sgn,pos)

image thumbnail

updated 8 months ago

Motor Shields by Giampiero Campa

Motor Shield Driver Blocks (arduino, motor shield, driver)

AFMotorV2Setup(MdlName)

afmotor_v1

afmotor_v2.mdl

image thumbnail

updated 8 months ago

Asynchronous block for Arduino by Roger Aarenstrup

Files to part 2 in Makerzone articles about Arduino and the Sharp IR sensor. (arduino)

MyArduinoLib

arduino_sw_harness

slblocks

image thumbnail

updated 8 months ago

IEEE 9 Bus by jaikumar Pettikkattil

IEEE 9 Bus Transmission System (power system analysis, ieee, 9bus)

IEEE_9bus_new_o

jailib

slblocks

image thumbnail

updated 9 months ago

Quad Copter model by Arts Hirata

Quad copter simple plant model and PID controller (mechanical modeling, physical modeling)

QCP_sim

axle_add(blk,blk2,sgn,pos)

axle_add_c(blk,blk2,sgn,pos)

image thumbnail

updated 9 months ago

The Curling Game by Corey Lagunowich

App that simulates a single end of curling (game, curling, fun)

curling

curling_mdl

drawIce

image thumbnail

updated 9 months ago

Simulink Support Package for Arduino Mega 2560 Hardware (R2012a) by MathWorks Simulink Team

Simulink block library for creating standalone applications for the Arduino® Mega 2560 platform (arduino, arduino microcontroll..., arduino mega)

arduinomega2560_communication.mdl

arduinomega2560_drive_closedloop.mdl

arduinomega2560_drive_openloop.mdl

image thumbnail

updated 9 months ago

BOT by Joerg Buchholz

Block diagram Optimization Tool (optimization, simulink, block diagram)

bot(varargin)

botbot (varargin)

bot_demo

image thumbnail

updated 10 months ago

Vehicle Model with Delft-Tyre in SimMechanics by Steve Miller

Vehicle model in SimMechanics using 3-D tire model (vehicle, automotivesuspensionp..., physical modeling)

Configure_TNO_Tire_Test(tire_test)

Vehicle_Dynamics_Tests_NoDelftTyre

PlotTireOutputs_UI(varargin)

image thumbnail

updated 10 months ago

Simulink Support Package for Arduino Uno and Mega 2560 hardware (R2012b) by MathWorks Simulink Team

Simulink block library for creating standalone applications for Arduino Uno and Mega 2560 platforms (arduino, arduino microcontroll..., arduino mega)

arduinolib.mdl

rtt_buildinfodata_uno()

slblocks

image thumbnail

updated 10 months ago

Buoy Detection Using Simulink by Sergio Biagioni

Performing Buoy Detection Using Simulink and deploying to a BeagleBoard: Code and Tutorial (buoy detection, roboboat, robosub)

displayAlgorithm

host_receive

convertVideo(varargin)

image thumbnail

updated 10 months ago

I2C block for ArduinoIO simulink package by Zhuo Li

This is an augmenting block that enables the ArduinoIO package with the I2C bus read capability. (arduino simulink pack..., i2c arduino simulink ..., arduino simulink pack...)

I2c_test

arduino_io_lib

msfun_arduino_i2c(block)

image thumbnail

updated 11 months ago

Smart Manufacturing Robotics Cyber Physical System by Pieter Mosterman

Distributed Towers of Hanoi where three blocks with local control emerge in a sorted order. (towers of hanoi, cyberphysical system, manufacturing)

cps_base_processor_v2

cps_blockB_camera_v2

cps_blockG_camera_v2

image thumbnail

updated 12 months ago

Transient Catalytic Converter in Simulink by John Hedengren

Active Heating of During Automotive Start-up for Pollution Reduction (catalytic converter, active heating, pollution)

cstr_sim

reactor2(t,x,u,flag)

plot_reactor.m

image thumbnail

updated 12 months ago

Sparkfun RedBot Block Library by MathWorks Maker Team

A library of blocks to get started with the Sparkfun RedBot Kit. (robotics, robot)

gravity_windup

install_sparkfunRedBotBlockLib

prepareCurrentFolder

image thumbnail

updated 1 year ago

Model-in-the-Loop for Embedded System Test (MiLEST) - Pedal Interpretation Case Study by Justyna Zander

Model-in-the-Loop for Embedded System Test (MiLEST) - For MATLAB of 2008 (embedded systems, test, modeling)

GenConstVar_Single_D (is_increase, tar, InputName, ODT,du...

GenConstVar_Single_D_1 (is_increase, tar, InputName, ODT,...

Pedal_Interpretation.mdl

image thumbnail

updated 1 year ago

Model-in-the-Loop for Embedded System Test - Test Harness by Justyna Zander

Model-in-the-Loop for Embedded System Test - Works best with MATLAB version of 2008. (test, embedded system, acc)

Mask_Shut_off(varargin)

ReqName_callback(block)

ReqName_callback(block)

image thumbnail

updated 1 year ago

Model-in-the-Loop for Embedded System Test - Speed Controller Case by Justyna Zander

Model-in-the-Loop for Embedded System Test - Works best with MATLAB version of 2008. A case study. (speed control, embedded system, test)

Mask_Shut_off(varargin)

ReqName_callback(block)

ReqName_callback(block)

image thumbnail

updated 1 year ago

Kinect-controlled Travel in Google Earth 3D by kun

Fly around Google Earth 3D with the Kinect connected to MATLAB and Simulink (kinect, google earth 3d)

myfunc_2(u)

sl2ge_autruism_gv_callback( u )

sl2ge_autruism_v1(varargin)

image thumbnail

updated 1 year ago

Aircraft Power Network in SimPowerSystems by Steve Miller

Aircraft Power Network in SimPowerSystems with AC and DC networks (physical modeling)

ACGen_Cycloconverter

ACGen_DCLink

APN_Battery_Lib

image thumbnail

updated 1 year ago

Simulink Support Package for Beagleboard Hardware (R2012b) by MathWorks Simulink Team

Simulink block library for creating standalone applications for the BeagleBoard (beagleboard, beagle board, omap)

beagle(varargin)

beagleboard_audioequalizer.slx

beagleboard_communication.slx

image thumbnail

updated 1 year ago

Simulink Support Package for Beagleboard Hardware (R2012a) by MathWorks Simulink Team

Simulink block library for creating standalone applications for the BeagleBoard (beagleboard, beagle board, omap)

audio_equalizer_gui(state)

beagle(varargin)

gcc_beagleboard()

image thumbnail

updated 1 year ago

A Synchronized Mil-Std-188-110B Receiver by Dick Benson

Extends the shipping "188" modem. Features a synchronized 1200 bps / short interleave receiver. (communications, synchronization, equalizer)

commmilstd188110b_lib_rab

example_sel2html(fn,new,Click_Sensed)

mil_188_gui(varargin)

image thumbnail

updated 1 year ago

Visualizing Wave Propagation by Dick Benson

Visualize wave propagation through media with different impedances and propagation velocities. (communications, physics, education)

[PeakData]=Peakfind(Xdata,Ydata,NumPeaks)

example_sel2html(fn,new,Click_Sensed)

wave_0

image thumbnail

updated 1 year ago

High Speed ADC Models by Dick Benson

Interleaved, Successive Approximation, and Pipelined Sub-Ranging ADC models. (analog to digital con..., a to d, adc)

adc_with_impairments

adc_with_impairments_2

charge_scaling_dac_4

image thumbnail

updated 1 year ago

Analog / Mixed Signal Examples by Dick Benson

Extensive collection of examples for analog and mixed signal design work. (dsp, circuit, rf)

CMOS_4

DC_2_AC_1

Led_photo_transZ_3

image thumbnail

updated 1 year ago

Flicker Calculater by Aubai

This folder calculate flicker values according to the IEC-61400-21-15. (signal processing, simulation, control design)

Flickermeter6140021_new_GL_Final_3ph

Flicker_Caclulation_function (endval,endval1,Sn,Sk,n,Un,F...

IEC_Analysis_Function_Matlab_2007(U1,U2,U3,I1,I2,I3,U1_ti...

image thumbnail

updated 1 year ago

Simulink Support Package for Arduino Uno Hardware (R2012a) by MathWorks Simulink Team

Simulink block library for creating standalone applications for the Arduino® Uno platform (arduino, arduino microcontroll..., arduino mega)

arduinouno_drive_closedloop.mdl

arduinouno_drive_openloop.mdl

arduinouno_gettingstarted.mdl

image thumbnail

updated 1 year ago

DirLOT Toolbox by Shogo Muramatsu

MATLAB class definitions for directional lapped orthogonal transforms (optimization, image processing, genlot)

...

...

...

image thumbnail

updated 1 year ago

Navigating waypoints with a Lego MINDSTORMS NXT Robot by MathWorks Robotics Team

Organize a student competition using Lego MINDSTORMS NXT Robot with MATLAB and Simulink. (lego mindstorms, nxt robot, student competition)

updateTargetParams(XYPosAndTgt)

LEGOModel

LEGOModel

image thumbnail

updated 1 year ago

Data-driven Control by Pravallika

Files used in webinar Data-driven Control conducted on 12 July 2012 (control design, simulink, demo)

Control_Design_PID

msfun_realtime_pacer(block)

msfun_realtime_pacer(block)

image thumbnail

updated 1 year ago

Highlight the Virtual Blocks by Neelakanda Bharathiraja

Highlights the virtual blocks that are optimized during simulation. (model optimization, sorted order, virtual blocks)

hilite_virtual_blocks(modelName)

check_path

unhilite_blocks(h,eventdata)

image thumbnail

updated 1 year ago

Applications of Chaos and Nonlinear Dynamics in Engineering - Vol. 1 by Stephen Lynch

Lynch files to accompany the book. (modeling, simulink, mathematics)

Chua

Chua_Synch

sys=Hopf_System(~,x)

image thumbnail

updated 1 year ago

Converting Dataset Simulation results to Excel Spreadsheet by Roni Peer

Two simple functions that convert a Dataset parameter, containing Simulink Simulation data, to excel (excel, dataset, simulink)

Dataset2XLS(DATA, filename)

example_ReadDS

example_Simulink

image thumbnail

updated 1 year ago

NXT-LTD: Line Tracking Dancing Robot Demo by Siddharth

Modeling Logic for Robot Control with Simulink and Stateflow (control logic, state machines, modes)

allBusObjects()

clean_up_project()

project_paths()

image thumbnail

updated 1 year ago

Right-Click > Inspect Properties by Mike Anthony

Adds an item to the right-click menu to open the proptery inspector. (gui, modeling, simulink)

RightClickInspect()

RightClickInspectTest

sl_customization(cm)

image thumbnail

updated 1 year ago

GUI for analyzing the effect of PID gains by Rakesh Mandal

To analyze the response of various combination of PID gain on system performance. (automotive, gui, simulink)

cruisedyn(v, u, gear, theta, m)

cruise_pid_testing

PID_cc_gain_effects(varargin)

image thumbnail

updated 1 year ago

Dynamical Systems with Applications using MATLAB by Stephen Lynch

Companion Software. (mathematics, discrete, fractals)

Programs_17a

Programs_17b

Programs_17c

image thumbnail

updated 1 year ago

Reporting tools in the MATLAB and Simulink Environment by Roni Peer

This submission shows how you can export your results from MATLAB, via different reports. (report, publish, export)

sldemo_metro_foreach_2011

snr(noisydata, original)

sldemo_metro_foreach_2011

image thumbnail

updated 1 year ago

Reporting tools in the MATLAB and Simulink Environment by Roni Peer

Three ways to report your results to someone who doesn't use MATLAB. (report, matlab reports, compare)

sldemo_metro_foreach_2011

snr(noisydata, original)

sldemo_metro_foreach_2011

image thumbnail

updated 1 year ago

Aerial Recovery Concept Demo (Gauss's Principle) by Liang Sun

Demonstrate the concept of aerial recovery of miniature aerial vehicles using a towed-cable system. (aerospace, control design, simulation)

aerial_recovery

cable_drogue_dynamics(t,x,u,flag,P)

camera(t,x,u,flag,P)

image thumbnail

updated 1 year ago

Time Logger for Stateflow by Roni Peer

This function will log the time each state was active during simulation. (stateflow, time, logging)

example_sf_car

example_sf_yoyo

Stateflow_Time_Logger(mdlName)

Contact us