image thumbnail

updated 2 months ago

Calling Shared Libraries from Simulink by Mikhail

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

Calling Shared Libraries from Simulink

simlib_test_callert.slx

simlib_test.slx

image thumbnail

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

arduino_io_lib

blink_challenge_sf

example_io

image thumbnail

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

Creating a new Tabular Expression

Editing a Tabular Expression

Getting Started

image thumbnail

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

arduino_io_lib

blink_challenge_sf

example_io

image thumbnail

updated 8 months ago

TI_HERCULES_RM48_040814.zip by Anthony Seely

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

Additional Resources

ex1_fir_mdl

ex1_fir_mdl_tb

image thumbnail

updated 1 year ago

DirLOT Toolbox by Shogo Muramatsu

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

sowavedec2embd

Quick Start of DirLOT Toolbox

sowavedec2imaq

image thumbnail

updated 1 year ago

Simulation of Control Systems for a Mobile Robot Platform by Dr. Ramin Shamshiri

Control design for Field Survey Mobile Robot using lead-lag compensation, PID and Fuzzy Logic (mobile robot, dc motors, leadlag compensation)

Mobile_Robot_Simulation

Main_Simulation

Simulation_Plots.m

image thumbnail

updated almost 2 years ago

Comparing different methods to solve an Inverted Pendulum problem by Roni Peer

A simple reporting tool that shows how you can model an inverted pendulum in a few methods. (report, comparison, mupad)

SLSingleLink

Dynamics of a Single Link

SMSingleLink

image thumbnail

updated almost 3 years ago

Furuta (rotary) Pendulum by Alan Jennings

Equations of motion for a pendulum mounted on rotating base are compared to SimMechanics. (pendulum, simulation, modeling)

The equations of motion for a rotary pendulum (furuta pen...

RotPen_Test_Submitt

image thumbnail

updated 3 years ago

Control Synthesis for a Surface Mount Device with Simulink Design Verifier by Pieter Mosterman

Simulink Design Verifier finds a force control profile to stamp a component onto a circuit board. (hybrid systems, model checking, control synthesis)

Synthesizing a feedforward control stragegy for stiff hyb...

R11a_surface_mount_device_v100

R11a_surface_mount_device_v100_dv

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)

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)

Boundary and Integral Constraints (Demo : int)

AircraftB

Bratu's Equation (Demo : exp)

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

mpcss

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

Learning the Kalman Filter in Simulink v2.1 by Yi Cao

A Simulink model to learn the Kalman filter for Gassian processes. (filter design, filter analysis, kalman filter)

Learning the Kalman Filter in Simulink Examples

kalmanfilte_r14r

image thumbnail

updated almost 4 years ago

Learning the Kalman Filter: A Feedback Perspective by Yi Cao

A feedback view of Kalman filter to gain more useful insights. (filter design, filter analysis, kalman filter)

KFgain

Learning the Kalman Filter: a Feedback Perspective

KalmanLTI

image thumbnail

updated almost 4 years ago

EZ Video Component Builder for Altera Avalon Streaming by Atsushi Matsumoto

Sample models to create Altera Avalon Streaming Components with Simulink HDL Coder. (fpga, vhdl, verilog)

avalon_st_edge

avalon_st_optf

avalon_st_template

image thumbnail

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

Arm_4DOF_ResultsCheck

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)

Flutter

Electron Problem Optimization

Flutter_noAnimation

image thumbnail

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

dmc_sim

heatex_sim_dmc

heatex_sim_dmc

image thumbnail

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

Automated Failure Boundary Mapping by Stuart Kozola

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

Failure Boundary Identification

Flutter Model Demo

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)

Configurable Simulink Model for DC-DC Converters

Buck_PWM

converter_mask(blk)

image thumbnail

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

Design of a robust digital controller with PPR toolbox by Gilles

This script shows the basic steps for the "digital two degrees of freedom controller" (2DOF) design (2dof, pole, placement)

sample1_SIM

A robust digital two degrees of freedom controller, a pol...

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

bitops_nibble_swap_7b

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

SteamCondenser

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

image thumbnail

updated almost 7 years ago

Learning the Kalman-Bucy Filter in Simulink by Yi Cao

A Simulink model to learn the continuous-time Kalman-Bucy Filter (filter design, filter analysis, kalmanbucy filter)

Learning the Kalman-Bucy Filter in Simulink

kalmanbucy

image thumbnail

updated 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

Simulink Diagnostics Examples by Seth Popinchalk

Example models that show the use of diagnostics to improve the model. (whitepaper, article, paper)

diagnosticsMuxAsBusCreator

diagnosticsSolverSettings

Simulink Diagnostics Examples

image thumbnail

updated 7 years ago

Phase Locked Loop tutorial by Giorgia Zucchelli

A tutorial showing how Phase-Locked Loops, both analog and digital can be efficiently modeling in Si (dsp, pll vco nco phase loc...)

cppll

dpll

dpll_fixpt

image thumbnail

updated 8 years ago

Uncertainty Analysis of a DC Motor by Stuart Kozola

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

Uncertainty Analysis of a DC Motor System Model

MaxonDCMotor.mdl

coded2real(z,bounds)

image thumbnail

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

Different ways of incorporating M-code into Simulink

aero_radar_eml

Contact us