image thumbnail

updated 11 days ago

SimMechanics Contact Forces Library by Steve Miller

Contact force models and force laws for multibody modeling in SimMechanics. (contact forces, collision, impact)

Cam_Follower

Collision_01_Ball_Infinite_Plane

Cam_Follower_UI(varargin)

image thumbnail

updated 11 days ago

SimMechanics Mini Golf Library by Steve Miller

Components for modeling a mini golf course. Contact forces are demonstrated on a 9-hole course. (simmechanics, second generation, 2g)

Actuation_Lib

Contact_Forces_Lib

Course_Holes_Lib

image thumbnail

updated 12 days ago

Simulink Support Package for LEGO MINDSTORMS NXT hardware (R2012b) by MathWorks Simulink Team

Simulink block library for creating models that run directly on your LEGO MINDSTORMS NXT robot (lego mindstorms, lego nxt, lego robot)

lego_communication

modifyDemoHTML(mlStyleSheet)

slblocks

image thumbnail

updated 12 days ago

Simulink Support Package for LEGO MINDSTORMS NXT hardware (R2012a) by MathWorks Simulink Team

Simulink block library for creating models that run directly on yourLEGO MINDSTORMS NXT robot (lego mindstorms, lego nxt, lego robot)

lego_drive_closedloop

slblocks

lego_communication

image thumbnail

updated 15 days ago

Plug-in Direct Particle Swarm Repetitive Controller by Bartlomiej Ufnalski

This project demonstrates repetitve process control using evolutionary dynamic optimization tools. (repetitive control, iterative learning co..., ilc)

CACF_VSI_with_load

CACF_VSI_with_load_PLECS

pdpsrc.m

image thumbnail

updated 22 days ago

Sensitivity analysis in Simulink models with Monte Carlo method by Carlos M. Velez S.

Monte Carlo method for sensitivity analysis of Simulink models (monte carlo, sensitivity analysis, simulink)

example_PID

example_pendulum

sens_montecarlo(model,cell_par,N)

image thumbnail

updated 25 days ago

MATLAB Support for Arduino (aka ArduinoIO Package) by MathWorks Classroom Resources Team

MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board (support package, arduino, duemilanove)

arduinoCleanup(customData,arduinoVar)

getSetupBlockUserData(modelHandle, arduinoVar)

msfun_arduino_analogread(block)

image thumbnail

updated 26 days ago

Getting Started AUVSI by MathWorks Student Competitions Team

Documentation and Examples for AUVSI Competitions (auvsifdn, roboboat, robosub)

findBuoyMatlab_loop

findBuoyMatlab_timerCallbacks

findBuoyMatlab_timerCallbacks_labelClosest

image thumbnail

updated 1 month ago

SIMULINK Sigma-Delta Toolbox by Isacco Arnaldi

Model-Based design and simulation of various Sigma-Delta ADCs (adc, dsp, audio processing)

SNRestimation(simout, f)

CT_SigmaDelta

DT_SigmaDelta

image thumbnail

updated 1 month ago

Landing Gear Model in Simscape by Pravesh Sanghvi

Landing gear model, including main and lock hydraulic actuators, and multibody dynamics (physical modeling, landing gear, hydraulic)

Hydraulic_System_Param_Est

Generate_Sim_Settings(param_vals,param_name,rtp)

Motion_Actuation(test,mdl)

image thumbnail

updated 1 month ago

RC Receive Driver Block for Arduino by Sergio Biagioni

Control an Arduino robot using an RC Transmitter and Receiver with Simulink (rc custom driver bloc...)

modify(varargin)

rcreceive

rcreceive_masked

image thumbnail

updated 1 month ago

Adaptive DPD Design by Kerry Schutz

A workflow for modeling and simulating PAs and adaptive DPDs. (dpd, digital predistortion...)

ILA_CONFIGSS

dpd_adapt_verify

dpd_static_verify

image thumbnail

updated 2 months ago

Generator for State-Based Schedules (schedGen v2.0) by Akramul Azim

Using optimization constraints associated to timing requirements to generate state-based schedules (specification, system design, schedules)

avg_mode_change_delay.m

sgen.constraints(S, filename)

sgen.get_ampl_sched_from_file(filename)

image thumbnail

updated 2 months ago

Solving Optimal Control Problems using Simscape Models for State Derivatives by Daniel Herber

This code replicates the results found in a tech report by the same name (brysondenham, design, control)

BrysonDenhamDerivative(t,y,u,p)

BrysonDenhamMain()

BrysonDenhamPlot(uMat,sMat,p)

image thumbnail

updated 2 months ago

MakerFaireMathworks/Competition by Paul

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

image thumbnail

updated 3 months ago

Flexible Beam in SimMechanics by Pravesh Sanghvi

Flexible beam using lumped parameter and state-space methods for static, modal, and dynamic analysis (physical modeling, flexible bodies, cantilever beam)

Compare_Flexible_Cantilever_SS_Full_Reduced

Compute_GFE_Prop(rho, youngsM, shearM, numelem, beam_leng...

FlexBeamElement_MS2G_Lib

image thumbnail

updated 3 months ago

A benchmark software for multivariate statistical process control by GIEM

GUI tutorial for understanding the PCA-based MSPC strategy (multivariate statisti..., principal component a..., multivariate control ...)

CreateFeedSignal(tSim,tSample,type,initialValue,ChangeRat...

InterpTemp(t,x,u,flag)

colas_PI

image thumbnail

updated 3 months ago

Tenet_RFID_Library_For_Arduino_Mega2560.zip by Ram

Tenet Technetronics' RFID library for Arduino Mega 260 (rfid, tenet technetronics, arduino)

makeInfo=rtwmakecfg()

RFID_read_model

renc2cpp(sfname)

image thumbnail

updated 3 months ago

ArduinoIO.zip by Erjon Bacaj

This package allows using an Arduino connected to the computer to perform Analog and Digital Input. (dc motor control)

arduinoCleanup(customData,arduinoVar)

getSetupBlockUserData(modelHandle, arduinoVar)

msfun_arduino_analogread(block)

image thumbnail

updated 4 months ago

ModelRefSDDReports.zip by Mike Anthony

Create a linked hierarchy of SDD Reports from a Model Reference hierarchy (sdd, model reference, report generator)

RM_1

RM_1a

RM_1b

image thumbnail

updated 4 months ago

Adaptive Neuro-Fuzzy Inference Systems (ANFIS) Library for Simulink by Ilias Konsoulas

This Simulink library contains six ANFIS/CANFIS system variations. (adaptive neurofuzzy i..., anfis, canfis)

anfis_art_forward(x,u2,v2,gamma,ThetaL4)

anfis_grid_forward(x,mean,sigma,b,ThetaL4)

anfis_scatter_forward(x,mean,sigma,b,ThetaL4)

image thumbnail

updated 4 months ago

Dynamical Systems with Applications using MATLAB 2e by Stephen Lynch

MATLAB, Simulink and MuPad files to accompany the second edition of the book. (binary oscillator com..., fractals, differential equation...)

Program_6c(~)

Simulink_1

Simulink_10

image thumbnail

updated 4 months ago

Sim.I.am by Jean-Pierre de la Croix

A MATLAB-based educational bridge between theory and practice in robotics. (robotics, control design, simulation)

image thumbnail

updated 4 months ago

Codegen complaint number to ASCII function by Curtis

Converts a number into an array of ASCII values compatible with code generation. (num2str, arduino, ascii)

num_out=num2ascii(num,varargin)

num2ascii_fcn

image thumbnail

updated 4 months ago

Tenet_SDCARD_For_Mega.zip by Praveen

Blocks for Writing to to SD card from an Arduino Mega (device drivers, sd card, tenet technetronics)

makeInfo=rtwmakecfg()

renc2cpp(sfname)

setArduinoDefn(buildInfo)

image thumbnail

updated 4 months ago

Darwinop robot simulink block by Florent

supervision blocks to read/write data on the darwinop robot. (darwinop, robot, simulink)

image thumbnail

updated 4 months ago

Driving Cycle (Simulink Block) by Daniel Auger

Produces NEDC, Artemis and WLTP Class 3 driving cycles easily (simulation, automotive, driving cycle)

install(mode)

drivecyclelib

interpDriveCycle(t, v)

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_make_rtw_hook(hookMethod, modelName, ~, ~, ~, ~)

image thumbnail

updated 4 months ago

EnsembleControlCrane.zip by Nathan

Example of ensemble control using an overhead crane model (ensemble control, crane, uncertain parameters)

[input]=CalculateInputCrane(n,k,start,final,Ad,Bd,theta_e...

crane

CreateMovie.m

image thumbnail

updated 4 months ago

Simulink (Embedded Coder) Target for TI LaunchPad by Mikhail

Thsi target support package allows you to deploy your algorithms on TI LaunchPad. (simulink, embedded coder, target support)

image thumbnail

updated 5 months ago

Phasor diagram analyser by Matus Kolej

Program computes and shows phasor diagram and time graph which is measured in SimPowerSystems. (gui, simulink, power grid)

Example

Phasor_diagram_analyser.m

Phasor_Diagram_Analyser_block

image thumbnail

updated 5 months ago

Simulink Library for Zumo Robot by Chirag Gupta

A library of blocks to get started with the Zumo Robot (robot, robotics, arduino)

BuzzerAndPushButton

LineFollowing

prepareCurrentFolderForZumo

image thumbnail

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

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

arduinomega2560_drive_closedloop

arduinomega2560_drive_openloop

image thumbnail

updated 7 months ago

BOT by Joerg Buchholz

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

bot(varargin)

botbot (varargin)

bot_demo

image thumbnail

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

AP_Lib

Altitude_Mode

Autopilot_bus()

image thumbnail

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

Contact us