1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2010 - DIGITEO - Vincent COUVERT <vincent.couvert@scilab.org>
//
// This file is distributed under the same license as the Scilab package.
// =============================================================================
// <-- JVM NOT MANDATORY -->
// <-- ENGLISH IMPOSED -->
// <-- LONG TIME EXECUTION -->
// Unitary test for conversion of Matlab function: DOC
exec("SCI/modules/m2sci/tests/unit_tests/utils/m2sciTestConversionNoExe.sci", -1);
mprintf("%s\n", m2sciTestConversionNoExe("DOC"));
****** Beginning of mfile2sci() session ******
File to convert: SCI/modules/m2sci/tests/unit_tests/mfilesnoexec/DOC.m
Result file path: TMPDIR/
Recursive mode: OFF
Only double values used in M-file: NO
Verbose mode: -1
Generate formated code: YES
M-file reading...
M-file reading: Done
Syntax modification...
Syntax modification: Done
Macro to tree conversion...
Conversion of M-tree...
L.6: Unknown variable doc is a M-file.
L.7: Unknown variable doc is a M-file.
!! L.7: No Scilab equivalent for: doc("/")
L.8: Unknown variable doc is a M-file.
L.9: Unknown variable doc is a M-file.
!! L.9: No Scilab equivalent for: doc("toolbox/")
L.10: Unknown variable doc is a M-file.
!! L.10: No Scilab equivalent for: doc("toolbox/function")
L.11: Unknown variable doc is a M-file.
Conversion of M-tree: Done
TESTING M2SCI: creating varslist file...
Macro to tree conversion: Done
Translation may be wrong (see the //!! comments).
****** End of mfile2sci() session ******
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// Test file for function doc()
// Copyright INRIA
// Matlab version: 6.5.1.199709 (R13) Service Pack 1
// V.C.
doc
doc("/")
doc("function")
doc("toolbox/")
doc("toolbox/function")
doc("names")
|