image thumbnail

updated 23 hours ago

Fuzzy logic control of electric vehicle by Marek Michalczuk

Marek Michalczuk

A fuzzy inference system is used to power management for an electric vehicle with a hybrid source (fuzzy logic, hybrid energy storage, fuzzy inference syste...)

FLC4EV_MM.slx

FLC4EV_MM_PlecsViewer.slx

GUI_FLC_MC(varargin)

image thumbnail

updated 1 day ago

Simulink ARDrone Target by Daren Lee

Daren Lee

Deploy MATLAB Simulink model automatically to Parrot AR Drone with Embedded Coder C code generation (uav, quadcopter, control design)

image thumbnail

updated 8 days ago

Darwinop robot simulink block by Florent

Florent

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

image thumbnail

updated 11 days ago

MotiveExample by Raphael Cherfan

Raphael Cherfan

Level-2 S-function to poll data from Motive trough NatNet (motive, motion capture, simulink)

ExampleMotive.mdl

NatNetsFunction(block)

image thumbnail

updated 12 days ago

B-spline based repetitive neurocontroller by Bartlomiej Ufnalski

Bartlomiej Ufnalski

A non-local learning rule is employed in a repetitive neurocontroller based on B-spline network. (basis spline, b spline, repetitive control)

mu1st_i(i,k)

mu2nd_i(i,k)

VSI_LC_2014b_without_PLECS.slx

image thumbnail

updated 14 days ago

nasa/T-MATS by Jeffryes

Jeffryes

Simulink Toolbox for the Modeling and Analysis of Thermodynamic Systems, such as gas turbines (simulation, simulink, example)

image thumbnail

updated 15 days ago

QNX Target Support Package for Embedded Coder by Mikhail

Mikhail

This target support package allows you to deploy your algorithms on QNX RTOS. (embedded coder, target support, qnx)

image thumbnail

updated 15 days ago

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad by Mikhail

Mikhail

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad (simulink, embedded coder, target support)

image thumbnail

updated 21 days ago

LSDPTOOL by James Whidborne

James Whidborne

A graphical user interface for robust control design using McFarlane & Glovers's LSDP (robust control, lsdp, hinfinity)

calcfreqW(Wdata,w)

cmdhndlr(action,x1,x2,x3,x4)

maglev.slx

image thumbnail

updated 1 month ago

Differentiation of noisy signals by Bartlomiej Ufnalski

Bartlomiej Ufnalski

Some basic techniques such as linear regression and recursive least squares filter are presented. (differentiator, differentiation, noise)

diff1delayed(t,x,u,flag,Ts,lambda,n)

diff2(t,x,u,flag,Ts,lambda,n)

diff_noise.mdl

image thumbnail

updated 1 month ago

Simscape Probes by Tom Egel

Tom Egel

Probes for viewing physical variables (potw, pick of the week, scopes)

GroupSignals(varargin)

sl_customization(cm)

ssc_Probes_2013b.slx

image thumbnail

updated 1 month ago

Iterative learning motion control by Bartlomiej Ufnalski

Bartlomiej Ufnalski

The very basic repetitive compensator with forgetting is implemented in a position control system. (iterative learning co..., ilc, repetitve control)

PI_anti_windup_speed_mfunc(t,x,u,flag,kP,kI,umax,Tsampling)

PI_anti_windup_torque_mfunc(t,x,u,flag,kP,kI,umax,Tsampling)

repetitive_motion_control.slx

image thumbnail

updated 1 month ago

High Speed ADC Models by Dick Benson

Dick Benson

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

subranging_adc_5.mdl

adc_with_impairments.mdl

adc_with_impairments_2.mdl

image thumbnail

updated 1 month ago

Visualizing Wave Propagation by Dick Benson

Dick Benson

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

Peakfind(Xdata,Ydata,NumPeaks)

example_sel2html(fn,new,Click_Sensed)

wave_2.mdl

image thumbnail

updated 1 month ago

PSK31 Model with Symbol Timing and Carrier Recovery by Dick Benson

Dick Benson

Updated version of PSK31 communication standard that is now R2013B compliant. (timing recovery, fec, wireless)

load_alpha()

make_bits(msg)

print_char(word,init)

image thumbnail

updated 1 month ago

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

Dick Benson

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

example_sel2html(fn,new,Click_Sensed)

mil_188_gui(varargin)

mil_std_188110b_initmask_ship(block)

image thumbnail

updated 1 month ago

ATSC: From RF to Video by Dick Benson

Dick Benson

A set of models to process an ATSC RF signal and output an MPEG II video transport stream. (potw, pick of the week, atsc)

dspblkadpt_old(action)

example_sel2html(fn,new,Click_Sensed)

ATSC_9_mk10_WCVB.mdl

image thumbnail

updated 1 month ago

A numerical simulation platform for the control of anomalous diffusion process by jianxiong

jianxiong

This is an efficient numerical simulation platform to control anomalous diffusion process. (control design)

CalFracPra( FraAlpha,n)

actrl(in)

actrl(in)

image thumbnail

updated 1 month ago

Power Window control using Arduino motor shield R3 by Chee Syn Ang

Chee Syn Ang

A simple Simulink model to control a self made Power Window (power window, simulink, stateflow)

AFMotorV2Setup(MdlName)

PowWind_ArdMotShieldR3.slx

renc2cpp(sfname)

image thumbnail

updated 1 month ago

Dynamical Systems with Applications using MATLAB 2e by Stephen Lynch

Stephen Lynch

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

Programs_13c(~,x)

Programs_18b

Simulink_6.slx

image thumbnail

updated 2 months ago

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

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)

do178b_dhc2.slx

image thumbnail

updated 2 months ago

Uncertainty and sensitivity analysis of Simulink models using brute-force method by Carlos M. Velez S.

Carlos M. Velez S.

Global sensitivity analysis using the brute-force variance-based method and Monte Carlo simulation (monte carlo, sensitivity analysis, simulink)

example_pendulum.slx

example_sir.slx

example_PID.slx

image thumbnail

updated 2 months ago

Optical Communication systems (SoftTDM 2012a) by David Steckler

David Steckler

Upgrade and improvement of optical communications blocksets. (telecommunications, protocols, sdh)

MODELO_CEPT1_STM1.mdl

SoftTDMLib_Compacta.mdl

MODELO_CEPT1_STM1_2Ruta.mdl

image thumbnail

updated 3 months ago

GPC control of a two-tank system by Yiping Cheng

Yiping Cheng

To illustrate how to control a nonlinear plant using GPC based on a locally linearized model (control design, control)

GPCcoef(n, p, alpha, beta)

radical(x)

t2tank(t,x,u,flag)

image thumbnail

updated 3 months ago

Create Zero Pressure Balloon Contour by Brent Justice

Brent Justice

Design and Create a natural shape zero pressure scientific balloon (gui)

stdatmo.m

natural_balloon.slx

volRevolve.m

image thumbnail

updated 3 months ago

mabrauer/hyperloop_sl by Matt Brauer

Matt Brauer

Simulink project for performing simulations and generating visualizations of the Hyperloop (hyperloop, googleearth)

image thumbnail

updated 3 months ago

ColorThePorts by Shashikiran Rajashekar

Shashikiran Rajashekar

Colors the input and output ports based on the datatype of port (simulink, port, find_system)

ColorThePorts(Model)

untitled.mdl

Subsystem1_Lib.mdl

image thumbnail

updated 3 months ago

GPC (Generalized Predictive Control) in State-Space Domain by Yiping Cheng

Yiping Cheng

A DMC-like implementation of GPC (control design, control)

GpcControl(t,xiu,ry,flag)

SSGPC.mdl

image thumbnail

updated 3 months ago

AR Drone Simulink Development-Kit V1.1 by David Escobar Sanabria

David Escobar Sanabria

Blockset for the simulation and Wi-Fi control of the Parrot ARDrone 2.0. Simulate, connect, and fly! (embedded systems, cyberphysical systems, autonomous vehicle)

getWaypoints( )

ARDroneBaseSim.slx

ARDroneWPTracking.slx

image thumbnail

updated 3 months ago

Photovoltaic module explicit neural model by Bartlomiej Ufnalski

Bartlomiej Ufnalski

A feedforward neural network is used to model a photovoltaic module. (solar energy, photovoltaics, renewables)

pv_array_sf.m

MPPT_Newton_PV_and_FFNN_PV.slx

pv_array(Va,Suns,TaC)

image thumbnail

updated 3 months ago

Data based modeling of nonlinear dynamic systems using System Identification Toolbox by Rajiv Singh

Rajiv Singh

Perspectives on nonlinear identification using a throttle valve modeling example. (toolbox, system identification, narmax)

throttleODE(t, x, F, c, k, K, b, varargin)

Models_in_Simulink.mdl

throttledemo.m

image thumbnail

updated 3 months ago

Stateflow Design Patterns (Part II) by Michael Carone

Michael Carone

This ZIP-file contains the models that were discussed in the MathWorks webinar entitled "Stateflow D (simulation, stateflow design patt...)

failures(varargin)

red_elev_control.mdl

mode_logic.mdl

image thumbnail

updated 3 months ago

Using Model-Based Design for Vehicle Electronics Applications by Michael Carone

Michael Carone

This ZIP-file contains the presentation and power window model that was used in the MathWorks webina (automotive, vehicle, body)

mech_interface_blocks_update(blockH)

mech_interface_portSup(hPort)

pmJointInfo

image thumbnail

updated 3 months ago

Teaching Mechatronics with Low Cost Hardware: Webinar Examples by Davide Ferraro

Davide Ferraro

Examples for the webinar "Teaching Mechatronics with Low Cost Hardware" (pandaboard, arduino, lego mindstorms nxt)

ArduinoGame.m

Tribot_Control_Position_Design.mdl

blink_modes.mdl

image thumbnail

updated 3 months ago

Quad-Sim by David

David

Parameter driven Simulink model for quadcopter simulation and control system design (pick of the week, potw, quadcopter)

image thumbnail

updated 4 months ago

Calling Shared Libraries from Simulink by Mikhail

Mikhail

This paper discusses several approaches for calling shared libraries from Simulink models (simulink, legacy code tool, lct)

simlib_test_sf.slx

simlib_test_mls.slx

simlib_test.slx

image thumbnail

updated 4 months ago

Simulink Dual Gravity Drained Tank by John Hedengren

John Hedengren

Process control simulation tutorial for PID tuning (process control, pid, level control)

Gravity_Drained_Tanks.slx

PlotTanks(u)

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

image thumbnail

updated 4 months ago

Simulink CSTR Simulation and Control by John Hedengren

John Hedengren

Exothermic CSTR with predictions for outlet temperature and concentration. (pid, cstr, reaction kinetics)

cstr_sim.slx

msfun_realtime_elapsed(block)

realtime_pacer_lib.mdl

image thumbnail

updated 4 months ago

Blood Glucose Regulation in a Type-I Diabetic in Simulink by John Hedengren

John Hedengren

Control blood sugar levels by adjusting insulin injection pump rate (pid, blood glucose, insulin)

diabetes_1step.slx

diabetes_2sim.slx

diabetes_3pid.slx

image thumbnail

updated 4 months ago

SailingYachtModel.zip by Jerome Jouffroy

Jerome Jouffroy

Sailing Yacht model simulation in Matlab/Simulink with 3D Animation. (sailing yacht, nonlinear controlgnc ...)

X_dot_ext=f(V_in)

SailingYachtModel

image thumbnail

updated 4 months ago

Raspberry Pi Robot by Owen McAree

Owen McAree

Control a Raspberry Pi powered robot with MATLAB and Simulink (robot, robotics, image processing)

image thumbnail

updated 4 months ago

SimMechanics Contact Forces Library by Steve Miller

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

SimMechanics Mini Golf Library by Steve Miller

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

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

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

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

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

Plug-in Direct Particle Swarm Repetitive Controller by Bartlomiej Ufnalski

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

X-Plane Library.zip by Adriano Bittar

Adriano Bittar

This library provides blocks to communicate with the flight Simulator X-Plane. (xplane, control, communication)

Cessna_Altitude_Control_Example

selecting_parameters(varargin)

selecting_parameters(varargin)

image thumbnail

updated 5 months ago

Simulation of a one-legged hopping robot by Guy Rouleau

Guy Rouleau

Simulation of a one-legged hopping robot (mechanical modeling, robotics, simmechanics)

OneLeg_VR_TouchInput

One_Leg_Robot

sfuntraj(t,x,u,flag,axes,Ts,mode)

Contact us