image thumbnail

updated 9 days ago

XML2Structure(filename) by Varoujan

Varoujan (view profile)

Creates a clean Matlab structure w/ type from input XML (xml, structure, type)

XML2Structure(filename)

image thumbnail

updated 1 month ago

getnestedfield by gooey

gooey (view profile)

Find a (potentially nested) field in a structure and return its contents (struct, structures, nested)

image thumbnail

updated 2 months ago

Structural analysis of beams. by ajay unagar

Deflection diagram for a simply supported beam (structure)

Final.m

image thumbnail

updated 2 months ago

browsestruct.m by Jan Bartonicek

Quickly shows all fields and their levels of a structure variable. (structure)

browsestruct(varargin)

browsestruct_callback(source,~)

createtree(structtree,hfig,h,v,appdata)

image thumbnail

updated 3 months ago

DataSetStructureSearching by James D.B. Wang

Automatically Reach Every Single File in A Three-Layer Data Set (data set, folder, file)

DataSetStructureSearching(DataSetDefinition)

Test_Script.m

image thumbnail

updated 5 months ago

rmfields(s,field) by Noam Greenboim

Remove fields from a structure array, but without causing error (structures, structure, data)

rmfields(s,field)

image thumbnail

updated 5 months ago

CATSTRUCT by Jos (10584)

Jos (10584) (view profile)

Concatenate/merge structures (v4.1, feb 2015). (cell arrays, combine, concatenate)

catstruct(varargin)

image thumbnail

updated 7 months ago

DISPDISP - verbose display of structures and objects by Sky Sartorius

Sky Sartorius (view profile)

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

dispdisp.m

image thumbnail

updated 8 months 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 12 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 12 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 12 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 1 year ago

STRUCTCOMPVIS by Michelle Hirsch

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

image thumbnail

updated 1 year ago

CONST structure by Rody Oldenhuis

Rody Oldenhuis (view profile)

STRUCT with immutable fields (code, structures, structure)

image thumbnail

updated 1 year ago

Prestressed Stayed Columns Buckling Load by Ashkan

Ashkan (view profile)

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

CBLSC_v5.m

image thumbnail

updated 1 year ago

flattenStruct2Cell by Paul

Paul (view profile)

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

[cellstack cellnamestack]=flattenStruct2Cell(I)

image thumbnail

updated 1 year 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 1 year ago

emptyStruct by David Young

David Young (view profile)

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

emptyStruct(fieldnames, sz)

image thumbnail

updated 1 year ago

Compare Structures by michael arant

michael arant (view profile)

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 almost 2 years 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 almost 2 years ago

Compare Two Structures by Javier Lopez-Calderon

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

structcmp(S1, S2, varargin)

image thumbnail

updated 2 years ago

addStructs by Dave

Dave (view profile)

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

addStructs(S1, S2)

image thumbnail

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

Dynamically create a bus testing harness in Simulink by Adam Filion

Adam Filion (view profile)

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 3 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 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 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 3 years ago

CatStruct2 by Hassan

Hassan (view profile)

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

Tiago (view profile)

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

Andrey Popov (view profile)

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

Adam (view profile)

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 almost 4 years ago

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

Kevin Bartlett (view profile)

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

isemptyr(X)

image thumbnail

updated almost 4 years ago

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

Andrew (view profile)

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

structstruct(S)

image thumbnail

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

Workspace variables into functions by Mert

Mert (view profile)

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

myfunc1.m

image thumbnail

updated 4 years ago

Merge Structures by Grant Lohsen

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

fJoinStructures( InputStructure1, InputStructure2 )

image thumbnail

updated 4 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 4 years ago

RenameField by Jan Simon

Jan Simon (view profile)

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

concatStruct by Gennady Erlikhman

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

concatStruct(struct1,struct2,cat_method,dim)

image thumbnail

updated 5 years ago

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

Dan Lluch (view profile)

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

Example3.m

makestatestruct(mdl)

image thumbnail

updated 5 years ago

vsize: a pedestrian variable decoder by us

us (view profile)

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

Contact us