image thumbnail

updated 15 days ago

DISPDISP - verbose display of structures and objects by Sky Sartorius

Display more information about field and properties of struct or object. (disp, display, structure)

dispdisp.m

image thumbnail

updated 1 month ago

Structure cat, merge and override by Johan Winges

Utility functions for structures in Matlab to cat (concatenate), merge and override structures. (utility, structure)

image thumbnail

updated 5 months ago

structfun2 by Denis Anikiev

Apply a binary operation function to each field of two input structures (structfun, structure, structures)

structfun2(fun,struct1,struct2)

image thumbnail

updated 5 months ago

Recursive Structure Merge by Dongxi Zheng

Merge a structure (array) to another structure (array) in a nested (recursive) way (structure, mergerecursive)

nest_struct_merge(from, to)

image thumbnail

updated 5 months ago

readcsv.m by Dongxi Zheng

This function imports a csv file into a structure array (csv, structure, array)

readcsv(filename, showprgrs)

image thumbnail

updated 6 months ago

STRUCTCOMPVIS by Michelle Hirsch

Use visual differencing tool to compare two structures. (structures, cell arrays, structure)

image thumbnail

updated 6 months ago

CONST structure by Rody Oldenhuis

STRUCT with immutable fields (code, structures, structure)

image thumbnail

updated 7 months ago

Prestressed Stayed Columns Buckling Load by Ashkan

Determining elastic buckling load for ideal stayed columns (buckling, stayed column, structure)

CBLSC_v5.m

image thumbnail

updated 9 months ago

flattenStruct2Cell by Paul

Takes a Nested Structure, and returns a linear Cell array (structure, structures, cell arrays)

[cellstack cellnamestack]=flattenStruct2Cell(I)

image thumbnail

updated 11 months ago

Class handling .cif formatted files by Sandor Toth

The @cif class enables easy access to the crystallographic data stored in .cif files. (crystallography, cif, data)

cif

image thumbnail

updated 11 months ago

emptyStruct by David Young

Creates empty struct arrays of various kinds (structures, structure, struct)

emptyStruct(fieldnames, sz)

image thumbnail

updated 1 year ago

CATSTRUCT by Jos (10584)

Concatenate/merge structures (v4.0, dec 2013). (structures, cell arrays, structure)

catstruct(varargin)

image thumbnail

updated 1 year ago

Compare Structures by michael arant

Compares two structured variables recursively and notes where the two structures are different. (equal, structure, compare)

comp_struct(s1,s2,n1,n2,p,tol)

comp_struct(s1,s2,prt,pse,tol,n1,n2,wbf)

comp_struct(s1,s2,prt,pse,tol,n1,n2,wbf)

image thumbnail

updated 1 year ago

Struct2MindMap - A Structure to MindMap converter by Alexander Mering

Creates a mindmap from a given Matlab structure (structure, mindmap, visualization)

Struct2MindMap(structure, structure_name)

image thumbnail

updated 1 year ago

Compare Two Structures by Javier Lopez-Calderon

Compares two structures for equality (equal, isequal, compare)

structcmp(S1, S2, varargin)

image thumbnail

updated 1 year ago

addStructs by Dave

Adds the numeric values in two structures. (structure, struct, add)

addStructs(S1, S2)

image thumbnail

updated 1 year ago

Convert Licor 81x file to Matlab structure by Jack Peterson

Converts a .81x Licor file to a Matlab structure (licor, structure, 81x)

licorify(filename)

image thumbnail

updated 1 year ago

ShowStructTree.m by Richard Moore

Display the fields of a structure as a tree. (struct, structure, struct contents)

ShowStructTree(run,toprint)

image thumbnail

updated almost 2 years ago

transpose_structure by Alex Liberzon

transpose_structure(s) transposes all the fields in the structure. useful for later cat(1,s.field) (structure)

transpose_structure(s)

image thumbnail

updated 2 years ago

Structure Overwrite and Merge by Daniyal Awan

To Overwrite and Merge two structures. Both overwrite and Merge are optional. (struct, structure, structure overwrite)

overwrite_merge(x,y,overwrite,merge)

image thumbnail

updated 2 years ago

Dynamically create a bus testing harness in Simulink by Adam Filion

Dynamically create a test harness in Simulink given a bus object with arbitrary underlying structure (simulink, bus, object)

bus_test_harness.m

image thumbnail

updated 2 years ago

RNEL_DB Object Oriented Database for Matlab by Joost Wagenaar

RNEL_DB is a class definition that facilitates the user to develop a database in Matlab. (database, classes, object oriented)

image thumbnail

updated 2 years ago

Brick Toolbox by Thomas Deneux

The Brick Toolbox is a set of utility functions for Matlab. (easy, fast, cool)

a=fn_readasciimatrix(filename,nheaders)

createhelpfiles(mfile)

data=fn_bin(data,bins,varargin)

image thumbnail

updated almost 3 years ago

Explode a structure by Itinerant Engineer

Explode a multi-level structure to find the lowest level field. (structure, explode, expand)

expstruc(X,sname,ll,lname,mems)

image thumbnail

updated almost 3 years ago

StructFind by Alexander Mering

Find all fields within a struct (array) where the search pattern is found (struct, structure, search)

StructFind(search_struct,search_object,varargin)

image thumbnail

updated almost 3 years ago

CatStruct2 by Hassan

Concatenates Structures (fields each depth are merged) (structures, structure, struct)

CatStruct2(Struct1, Struct2, SortOption)

image thumbnail

updated 3 years ago

Swap structure values into strings by Zachary Danziger

Finds fields of a structure in a string, and replaces them with the corresponding field values. (structure, string, field)

struct2strrep(strctr,sin)

image thumbnail

updated 3 years ago

Loads Preferences File by Tiago

This function loads a .mat file containing a structure and appends all the loaded fields and respect (load, file, preferences)

Load_Pref_File(prefs_default, prefs_file)

image thumbnail

updated 3 years ago

combineOpt by Andrey Popov

Combine user provided option's structure with a default one (structures, cell arrays, function)

combineOpt(options,default_options)

image thumbnail

updated 3 years ago

Get structure field names in recursive manner by Adam

Returns the field names of a structure, include the field names of any "sub-structures". (structure, field, fieldnames)

fieldnamesr(S,varargin)

image thumbnail

updated 3 years ago

Unfold structures by Thomas Schaffter

Unfold and show the content of the given structure. (structure, unfold, content)

unfold_structure(struct, root)

image thumbnail

updated 3 years ago

Recursive version of isempty() for cells and structures by Kevin Bartlett

Returns true for cell arrays/structures that are not empty, but have only empty cells/fields. (empty, isempty, cell)

isemptyr(X)

image thumbnail

updated 3 years ago

Graphically display the 'branch' structure of a struct variable by Andrew

Recursive function designed to display the 'branch' structure of struct variables. (structure, struct, explore)

structstruct(S)

image thumbnail

updated 3 years ago

Collapse by James Brooks

COLLAPSE - Reduces a scalar field within an arrayed structure to a single output vector (utilities, squeeze, flatten)

collapse(struc, fieldname, missing)

image thumbnail

updated 3 years ago

Plot an Array of Structures by Jonathan Sullivan

This utility will plot an array of structures. (plot, shaperead, array)

plotAS(varargin)

image thumbnail

updated 3 years ago

Workspace variables into functions by Mert

Reading multiple variables into a function and saving those variables in a loop (variables, function, loop)

myfunc1.m

image thumbnail

updated 3 years ago

Merge Structures by Grant Lohsen

Merges two structures of equal sizes. (structure, struct, merge)

fJoinStructures( InputStructure1, InputStructure2 )

image thumbnail

updated 3 years ago

structure factor by ben payne

Calculate structure factor based on positions of scatterers in real-space. (physics, scattering, structure)

structureFactor1d(L,scatrpos,numBZ)

structureFactor2d(Lx,Ly,scatrpos)

image thumbnail

updated almost 4 years ago

RenameField by Jan Simon

Rename a fields of a struct - fast C-Mex (struct, field, rename)

RenameField(S, Old, New)

uTest_RenameField(doSpeed)

image thumbnail

updated 4 years ago

Structure Cut by Sean Bryan

Utility function that applies the same cut to specified elements of a structure. (signal processing, structure, struct)

struct_cut( in, field_arr, indices )

image thumbnail

updated 4 years ago

Recursively check fields of a structure exist by Matthew Arthington

Check fields of a structure exist at any depth. Can also check multiple field branches at any depth. (structure, field, isfield)

isfieldRecursive(varargin)

image thumbnail

updated 4 years ago

concatStruct by Gennady Erlikhman

Concatenate two structures as vectors or arrays. (concatenate, structure)

concatStruct(struct1,struct2,cat_method,dim)

image thumbnail

updated 4 years ago

Removing Simulink's State Order Dependency (Example 3) by Dan Lluch

Explores how to leverage the 'Structure with Time' Simulink data format to alleviate ordering ... (simulink, state, order)

Example3.m

makestatestruct(mdl)

image thumbnail

updated 4 years ago

vsize: a pedestrian variable decoder by us

VSIZE determines the full anatomy for named or unnamed variables of any depth and complexity (whos, ndims, size)

[p,par]=vsize(varargin)

image thumbnail

updated 4 years ago

xls2struct by Ashish Uthama

Load Excel file contents as a structure (data import, data export, xls excel read variab...)

xlsStruct=xls2struct(file,flag)

image thumbnail

updated almost 5 years ago

Matrix Structural Analysis by Hossein Rahami

A simple function for the analysis of two- and three- dimensional frame structures (analysis, structure, truss)

[Q,V,R]=MSA(D)

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)

image thumbnail

updated almost 5 years ago

Structure Fields To Variables by Matt J

Tool for importing/exporting workspace variables to or from a struct. (structure, field, variable)

assigns=structvars(varargin)

image thumbnail

updated 5 years ago

Two Dimensional Isostatic Truss Structures Solver ITSS2D by Marcos Cesar Ruggeri

This program solves isostatic truss structures through the method of joints and the internal loads. (isostatic, truss, structure)

[N,elem]=intloads(p,nod,elem,nn,ne)

[nod,elem]=geom1(nn,ne)

[num,bars]=qcbars(GC,ni)

image thumbnail

updated 5 years ago

struct_read/struct_write by Val Schmidt

Functions to ease the reading and writing of C data structures from and to binary files. (c, structure, binary)

struct_read(fid,format)

struct_write(fid,format,data)

Contact us