image thumbnail

updated 1 month ago

Simulink Report Generator for Requirements-Based Testing by Mike Anthony

An example of using Simulink Report Generator and MATLAB scripting to automate testing (simulink report gener..., model verificationmod...)

RPT_ImportData.m

RPT_ModelSetup.m

RPT_PlotData.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 1 year ago

AutoSize by Mike Anthony

Automatically resize MIMO blocks upon connection. (modeling, simulink, gui)

AutoSize(hand)

InputAutoSize(hand)

OutputAutoSize(hand)

image thumbnail

updated 1 year ago

Pre-R2012b Zoom Keyboard Shortcuts by Mike Anthony

Enables use of r, v, 1, anf f as keyboard shortcut keys for zooming in Simulink (modeling, gui, simulink)

sl_customization(cm)

image thumbnail

updated 1 year ago

AutoSizeOnConnect by Mike Anthony

Automatically resizes the number of ports on a block for automatic connection. (modeling, gui, simulink)

AutoSize(hand)

AutoSizeOnConnect()

InputAutoSize(hand)

image thumbnail

updated 1 year ago

Show Block Name Toggle & Shortcut Key by Mike Anthony

Adds a menu item and keyboard shortcut Ctrl+Shift+S to show/hide a block name. (modeling, gui, simulink)

sl_customization(cm)

image thumbnail

updated 1 year ago

Right-Click > Inspect Properties by Mike Anthony

Adds an item to the right-click menu to open the proptery inspector. (gui, modeling, simulink)

RightClickInspect()

sl_customization(cm)

RightClickInspectTest

image thumbnail

updated 1 year ago

XY_Graph Open Plot by Mike Anthony

A customized XY_Graph block that mimicks the behavior of other scope-type blocks in Simulink. (simulink, scope, xy_graph)

XYGraph_Callback()

CustomXYGraphLibrary

XYGraphTest

image thumbnail

updated 1 year ago

Remove Sink Blocks by Mike Anthony

This function automatically removes all sink blocks from a model. (simulink, modeling, sink)

RemoveSinks(modelname, varargin)

sl_customization(cm)

RemoveSinksTest

image thumbnail

updated 1 year ago

Close All Scopes by Mike Anthony

Thsi function close all open scope windows in a model. (simulink, modeling, scope)

CloseAllScopes(modelname, varargin)

sl_customization(cm)

CloseAllScopesTest

image thumbnail

updated 1 year ago

AutoFromTag by Mike Anthony

Ever wish after creating a GOTO block, you could automatically have a corresponding FROM appear? (gui, modeling, simulink)

AutoFromTag()

sl_customization(cm)

AutoFromTagTest

image thumbnail

updated 1 year ago

AutoName by Mike Anthony

In Simulink, automatically names signals and blocks in certain use cases. (simulink, gui, modeling)

InitInNames()

InitOutNames()

InitScopeNames()

image thumbnail

updated 4 years ago

AutoConnect by Mike Anthony

Automatically connects MISO, MIMO, and Sink blocks when block is dropped over a line in Simulink. (autoconnect, simulink, modeling)

AutoConnect

image thumbnail

updated 4 years ago

SinkAutoConnect by Mike Anthony

Automatically connects single-inport blocks when block is dropped over a line in Simulink. (sinks, scope, display)

SinkAutoConnect

image thumbnail

updated 4 years ago

CreateMatrixFromModelData by Mike Anthony

Outputs a matrix of doubles containing the data from signals logged in Simulink. (data export, bus signal, simulink)

CreateMatrixFromModelData(ts, varargin)

image thumbnail

updated almost 5 years ago

Example: Creating TimeSeries and TsArray Inputs for Simulink Bus Signal Input Data by Robyn Jackey

Create timeseries inputs for Simulink model root inports that are bus signals. (data import, data export, simulink structure bu...)

CreateTimeSeries(Data,tStart,Ts,varargin)

CreateTsArray(varargin)

TimeSeriesData_Nested.m

image thumbnail

updated almost 5 years ago

Create Bus Data for Models with Root-Level Bus Inputs by Mike Anthony

Convert a matrix of data into a Simulink.TsArray according to the root-level bus object definition. (data export, data import, simulink)

CreateTsArrayFromBusObject(top_bus, data, time, varargin)

Contact us