Back to the main page.
Bug 2175 - resolve concatenation warning in flattopwin
| Status | CLOSED FIXED |
| Reported | 2013-05-21 21:34:00 +0200 |
| Modified | 2014-01-29 13:28:42 +0100 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Mac OS |
| Importance: | P3 normal |
| Assigned to: | Eelke Spaak |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Robert Oostenveld - 2013-05-21 21:34:34 +0200
When making a compiled version, I got the following warning Warning: File: /home/mrphys/roboos/matlab/fieldtrip-svn/external/signal/flattopwin.m Line: 33 Column: 27 The expression on this line will generate an error when executed. The error will be: Error using vertcat Dimensions of matrices being concatenated are not consistent. It suggests that the compiler detected a syntax error which should be checked and fixed.
Robert Oostenveld - 2013-05-21 21:35:50 +0200
when I execute the function, I get the following >> flattopwin(10) Warning: File: flattopwin.m Line: 33 Column: 27 The expression on this line will generate an error when executed. The error will be: Error using vertcat Dimensions of matrices being concatenated are not consistent. ans = 0.0009 -0.0196 -0.0708 0.1974 0.8623 0.8623 0.1974 -0.0708 -0.0196 0.0009 so no error, but the same warning. This is using matlab2013a.
Eelke Spaak - 2013-06-03 10:18:47 +0200
fixed in 8171