rbmatlab 0.10.01
Functions
general/basic/structcpy.m File Reference

copies the fields of structure s2 into structure s1. If the field to be copied does not exist in s1 yet, a field with the appropriate name is created. More...

Go to the source code of this file.

Functions

function s1 structcpy ( s1, s2)
 copies the fields of structure s2 into structure s1. If the field to be copied does not exist in s1 yet, a field with the appropriate name is created.

Detailed Description

copies the fields of structure s2 into structure s1. If the field to be copied does not exist in s1 yet, a field with the appropriate name is created.

Definition in file structcpy.m.


Function Documentation

function s1 = structcpy (   s1,
  s2 
)

copies the fields of structure s2 into structure s1. If the field to be copied does not exist in s1 yet, a field with the appropriate name is created.

Parameters:
s1s1
s2s2
Return values:
s1s1

Definition at line 1 of file structcpy.m.

All Classes Namespaces Files Functions Variables