File: castDouble2Float.m

package info (click to toggle)
psychtoolbox-3 3.0.9%2Bsvn2579.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 63,408 kB
  • sloc: ansic: 73,310; cpp: 11,139; objc: 3,129; sh: 1,669; python: 382; php: 272; makefile: 172; java: 113
file content (14 lines) | stat: -rw-r--r-- 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function rc = castDouble2Float(arg1, arg2)
% rc = castDouble2Float(arg1, arg2)
%
% This is a dummy function, just here as a placeholder for the
% castDouble2Float.oct file which is needed when running under Octave.
% castDouble2Float.m is needed on Matlab, so Matlab does not complain
% about non-existing functions.
%
% Update: castDouble2Float is not even needed on Octave anymore, so this is
% really a placeholder just to keep old code working that relied on its now
% "no op" presence.
%

rc = arg1;