Refine by Time Frame

image thumbnail

updated 1 day ago

mdl_color by Will Campbell

Remove or return colors to Simulink object backgrounds (simulink)

mdl_color(varargin)

set_params(objects,varargin)

image thumbnail

updated 1 day ago

MATLAB Support Package for Finch Robot by Tom Gaudette

MATLAB connectivity code to a Finch Robot (finch, robot, programming)

Finch

finchComm

mFinch

image thumbnail

updated 2 days ago

Nonstationary Extreme Value Analysis (NEVA) Toolbox by HRL

Nonstationary Extreme Value Analysis (NEVA) (statistics, climate, extreme value analysi...)

GEVQQcheck(DATA,nsite,Now)

GPQQcheck(DATA,nsite)

Mann_Kendall(V,alpha)

image thumbnail

updated 2 days ago

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

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

ArduinoGame.m

blink.m

startup_code.m

image thumbnail

updated 7 days ago

Quad-Sim by David

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

image thumbnail

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

exlib

simlib_test_dyn.slx

image thumbnail

updated 12 days ago

Tutorials: Parallel and GPU Computing with MATLAB: All in one (9 parts) by Parallel Computing Team

Tutorials on Parallel and GPU Computing with MATLAB (parallel computing, tutorial, gpu)

ex2_bad

ex2_good

ex_parallel(M, N)

image thumbnail

updated 21 days ago

Simulink Dual Gravity Drained Tank by John Hedengren

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

PlotTanks(u)

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

Initialize.m

image thumbnail

updated 21 days ago

Simulink CSTR Simulation and Control by John Hedengren

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

msfun_realtime_elapsed(block)

msfun_realtime_elapsed(block)

msfun_realtime_pacer(block)

image thumbnail

updated 21 days ago

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

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

diabetic(t,y,u,flag)

msfun_realtime_elapsed(block)

msfun_realtime_pacer(block)

image thumbnail

updated 23 days ago

SailingYachtModel.zip by 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 25 days ago

Raspberry Pi Robot by Owen McAree

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

image thumbnail

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

Extr_Data_Box(box_ox, box_ix, varargin)

Extr_Data_Cam(rad1, rad2, d, varargin)

image thumbnail

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

Plane_Data_Ring(ring_od, ring_id)

Demo_Putter_Adjustments.m

Mini_Golf_Model_PARAM.m

image thumbnail

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

modifyDemoHTML(mlStyleSheet)

slblocks

image thumbnail

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

slblocks

targetupdater

image thumbnail

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

pdpsrc.m

pdpsrc_PLECS.m

run_me.m

image thumbnail

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

sens_montecarlo(model,cell_par,N)

PID_montecarlo.m

pendulum_montecarlo.m

image thumbnail

updated 1 month ago

Merge Simulink model differences by Carl Osterwisch

Simple merge of two Simulink models, hilighting differences. (revision control, merge, differences)

image thumbnail

updated 1 month ago

Getting Started AUVSI by MathWorks Student Competitions Team

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

convertVideo(varargin)

findBuoyMatlab_loop

findBuoyMatlab_timerCallbacks

image thumbnail

updated 1 month ago

X-Plane Library.zip by Adriano Bittar

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

selecting_parameters(varargin)

selecting_parameters(varargin)

slblocks

image thumbnail

updated 2 months ago

Simulation of a one-legged hopping robot by Guy Rouleau

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

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

init_hopper.m

OneLeg_VR_TouchInput

image thumbnail

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

calculateSNR(hwfft,f,nsig)

ds_hann(n)

image thumbnail

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

Generate_Sim_Settings(param_vals,param_name,rtp)

Motion_Actuation(test,mdl)

setup_config(test,mdl)

image thumbnail

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

TTdiag(varargin)

TableBlock.delete_recursive( line_handle )

TableBlock.set_block_display(block_handle,checked)

image thumbnail

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

Adaptive DPD Design by Kerry Schutz

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

fit_memory_poly_model(x, y, lengthVector, memorylen, degr...

DPD_analysis.m

ILA_CONFIGSS

image thumbnail

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

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

Extr_Data_Box(box_ox, box_ix, varargin)

Cantilever_Beam_MS2G_Parameters.m

image thumbnail

updated 3 months ago

Model-Based Design for Electrical Automobile Chassis Control by Hitoshi Takeshita

You will be able to understand MBD process with Lego R/C car. (simulation, control design, automotive)

addExtIfNeeded(name)

convertLocalizedPropName(defInfo, val, prefix)

convertLocalizedSheetName(defInfo, val)

image thumbnail

updated 4 months ago

fourierShapeDescriptor.zip by Weicheng Kuo

Fourier shape descriptors for simple binary region (tutorial, image processing, geometry)

B=fourierShapeDescriptor(A,r)

image thumbnail

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

MSPC_SPE(varargin)

image thumbnail

updated 4 months ago

Frequency Measurement by Praveen

This block measures the frequency of a signal. (frequency, measurement, measure)

b_cb(gcb)

frequency_measurement_withHELP

image thumbnail

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

renc2cpp(sfname)

tenetlibsetup(libName, blockName)

image thumbnail

updated 4 months ago

CAD to MATLAB to SimMechanics by Steve Miller

Export a CAD assembly to a MATLAB data structure and import into a SimMechanics model. (physical modeling, cad, solidworks)

data2smixml(smiModel,xmlFile)

robot_fromCAD2MATLAB_SolidWorks.m

robot_fromCAD2MATLAB_SolidWorks_with_comments.m

image thumbnail

updated 4 months ago

An Educational Fuzzy-based Control platform using LEGO Robots by Daniel

Fuzzy-based Control platform using LEGO Robots (simulink, matlab)

controlf2(u)

tra1.m

tra2.m

image thumbnail

updated 5 months ago

ModelRefSDDReports.zip by Mike Anthony

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

RunSDDReports(top_model,rpt_opt)

RUN_ME_FIRST.m

RM_1

image thumbnail

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

Diagnostic Viewer Enabler by Mikhail

This makes Simulink "Diagnostic Viewer" menu always enabled (simulink, diagnostic viewer, message viewer)

sl_customization(cm)

image thumbnail

updated 5 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(~)

Programs_18a

Programs_18b

image thumbnail

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

carrosimulacion.m by GRUDEN

simulacion carro (simulation)

carrosimulacion.m

image thumbnail

updated 5 months ago

What is the best way to implement my algorithm in Simulink ? by Giampiero Campa

Eight ways to implement an Extended Kalman Filter as a Simulink block (extended kalman filte..., simulink, sfunction)

sfall2(block)

sysall

lt_ekfdef.m

image thumbnail

updated 5 months ago

Darwinop robot simulink block by Florent

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

image thumbnail

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

interpDriveCycle(t, v)

selectCycle(name)

image thumbnail

updated 5 months ago

Embedded Coder Target for Arduino by MathWorks Embedded Coder Team

Custom target for Arduno and other processors (arduino, support package, pil)

arduino_ec.flash( modelName )

arduino_ec.runAvrDude(hexFile)

arduino_ec_make_rtw_hook(hookMethod, modelName, ~, ~, ~, ~)

image thumbnail

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

CreateMovie.m

EnsembleControlCrane.m

Contact us