source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/test_repmat_struct.m
Last change on this file was 37, checked in by , 15 years ago | |
---|---|
|
|
File size: 168 bytes |
Line | |
---|---|
1 | % thanks to Marek Petrik for finding this bug |
2 | a.state = 1; |
3 | a.action = 0; |
4 | x = repmat(a, 1, 10); |
5 | if length(fieldnames(x)) ~= 2 |
6 | error('repmat struct failed') |
7 | end |
Note: See TracBrowser
for help on using the repository browser.