image thumbnail

updated 6 days ago

Tabular Expression Toolbox by Colin Eles

A tool for creating tabular expressions in Matlab/Simulink integrating checking with PVS and CVC3. (simulink, formal methods, gui)

TTdiag(varargin)

Creating a new Tabular Expression

Editing a Tabular Expression

image thumbnail

updated 29 days ago

MATLAB Support Package 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)

msfun_arduino_servowrite(block)

msfun_arduino_stepper(block)

msfun_realtime_pacer(block)

image thumbnail

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

msfun_arduino_servowrite(block)

msfun_arduino_stepper(block)

msfun_realtime_pacer(block)

image thumbnail

updated 4 months ago

TI_HERCULES_RM48_040814.zip by Anthony Seely

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

TI_HERCULES_RM48_check_setup()

ex1_fir_mdl

ex1_fir_mdl_tb

image thumbnail

updated 12 months ago

DirLOT Toolbox by Shogo Muramatsu

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

...

...

...

image thumbnail

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

Dynamical Systems Toolbox by Etienne Coetzee

Bifurcation analysis of dynamical systems. Integration of AUTO bifurcation software into MATLAB. (bifurcation, coninuation, coninuation)

GTbarmeter(H,Aval,varargin)

Bratu's Equation (Demo : exp)

Fixed Points of a Discrete Dynamical System (Demo : dd2)

image thumbnail

updated 3 years ago

MPC Tutorial III: MPC in Simulink V2 by Yi Cao

A tutorial on using MPC in Simulink. (tutorial, mpc, simulink)

mpcsimulink

mpcdss

mpcsfunc(t,z,y,flag,A,B,C,D,P,M,Q,R,Ts)

image thumbnail

updated 3 years ago

MPC Tutorial IV - State Space MPC with input increment by Yi Cao

functions and simulink block implement state space MPC using input increment (control design, optimization, simulink)

State Space MPC with input increment Tutorial

mpcsimulink

mpcdss

image thumbnail

updated almost 4 years ago

SimMechanics pendulum used for control optimization by Alan Jennings

Pendulum imported via SimMechanics generates dynamics for optimal dampening solved by DIDO. (control design, optimal control, pendulum)

SimMechanicsOutput_Try_2_laptop

SimMechanicsOutput_Try_2_laptop_LQR

SimMechanicsOutput_Try_2_laptop_LQR_Sus

image thumbnail

updated almost 4 years ago

Control optimization of a 4DOF arm using DIDO by Alan Jennings

4 DOF arm imported via SimMechanics generates dynamics for optimal pick-place control solved by DIDO (control design, optimal control, robot)

Motoman_4DOF_1b

Motoman_4DOF_PathFollow_1b

[a,b]=Arm_4DOF_MinEnergy_Cost(x)

image thumbnail

updated 4 years ago

Speeding Up Optimization Problems with Parallel Computing by Stuart Kozola

Files from the webinar: Speeding up optimization problems with parallel computing (aerospace, automotive, demo)

computebestportfolioPCT(expRet,expCov,portSize,targetRet)

Electron Problem Optimization

crossoverNcK(parents,options,GenomeLength,FitnessFcn,unus...

image thumbnail

updated 4 years ago

MPC Tutorial IV: DMC Simulink Block and Example by Yi Cao

A DMC Simulink block with a demonstration example based the MATLAB demo, heatex (mpc, dmc, simulink)

dmcsfun(t,x,u,flag,varargin)

dmc_sim

heatex_sim_dmc

image thumbnail

updated 4 years ago

Parallel Computing with Simulink: Model Reference Build by Seth Popinchalk

These files accompany my blog post of the same name. (simulink, parallel computing, pct)

bot_model001

bot_model002

bot_model003

image thumbnail

updated 4 years ago

Motion Control Demo by Paul Lambrechts

Model Based Design Demonstration Based on a Motion Control Case Study (motion control, modelbased design, trajectory planning)

DMC_lib

DMC_system_demo

Digital Motion Control Demo

image thumbnail

updated almost 5 years ago

Automated Failure Boundary Mapping by Stuart Kozola

Demo files from July 21, 2009 webinar (statistics, optimization, clustering)

boundaryArea(Y,X,lb,ub,limitFunction)

boundarySearch(X0,lb,ub,limitFunction, varargin)

Flutter

image thumbnail

updated 5 years ago

Configurable Simulink Model for DC-DC Converters with PWM PI Control by Yi Cao

A Simulink model configurable to buck, boost and buck-boost DC-DC converters with PWM PI control (electronics, dc converter, buck converter)

converter_mask(blk)

Buck_PWM

Configurable Simulink Model for DC-DC Converters

image thumbnail

updated 5 years ago

Fixed Point Radix-4 FFT by Mike Donovan

These functions compute a fixed point radix-4 FFT.You can generate C code from this m-code. (communications, fixed point, signla processing)

hiperman_4_2007b_FixPt

Radix-4 FFT Test Script

plotPYYf(sf,Fs)

image thumbnail

updated 6 years ago

Enhanced and new bitwise operators in R2007b by Kiran Kintali

This demo introduces new bitwise operators available in fixed point toolbox in R2007b (embedded matlab, bitwise operators, hdl)

bitops_add_with_carry_7b

bitops_all_7b

disp_eml_script(mdlname)

image thumbnail

updated 6 years ago

Tunning of PID controller using Bacterial Foraging Orientec by Particle swarm optimization by wael korani

tuning the PID controller to get minimum error (optimization, pid tuning controller, bacterial foraging)

Tunning of PID controller using Bacterial Foraging Orient...

optsim1

tracklsq(pid)

image thumbnail

updated 6 years ago

PID tuning controller by Bacterial foraging by wael korani

tuning the PID controller to get minimum error (optimization, pid tuning controller, bacterial foraging)

Tunning of PID controller using Bacterial foraging

optsim1

tracklsq(pid)

image thumbnail

updated 6 years ago

Tunning of PID controller using Particle Swarm Optimization by wael korani

tunining of PID controller by using PSO (optimization, tuning, pid)

Tunning of PID controller using Particle Swarm Optimization

optsim1

tracklsq(pid)

image thumbnail

updated 6 years ago

Steam Condenser Model and PI Control by Yi Cao

A dynamic model of a steam condenser with PID control. (pid controller, steam condenser, simulink model)

runsteamcondenser

[K,tau,td]=ReactionCurve(t,y)

SteamCondenser

image thumbnail

updated almost 7 years ago

Unit Conversion Tools by Bob Kagy

Command line, GUI, & Simulink block to convert physical units (physical unit convert...)

unit_conversion

lib_unit_conversion.mdl

lib_unit_conversion_mask(cmd)

image thumbnail

updated 7 years ago

Uncertainty Analysis of a DC Motor by Stuart Kozola

Using Statistics for Uncertainty Analysis in System Models (statistics, probability, uncertainty)

coded2real(z,bounds)

Uncertainty Analysis of a DC Motor System Model

MaxonDCMotor.mdl

image thumbnail

updated almost 10 years ago

Examples of incorporating m-code into Simulink models by Jason Ghidella

Example Simulink models to support a MATLAB Digest article from September 2004. (simulink, sfunctions, embedded matlab)

aero_extkalman(pinput)

aero_extkalman_L2_msfcn(block)

aero_plot_L2_msfcn(block)

Contact us