Menu

#488 Correct \"data\" m-file script fails

v4.0 (major)
open
5
2011-04-07
2010-02-25
Dan
No

When running the attached script, FreeMat fails with error:

--> data_part
Error: Unexpected input at line number: 311 of file /home/dtihelka/Pokusy/PercepcniPodobnost/result_eval/data_part.m
struct('query', 277, 'evals', [0, 0, 0, 0], 'orig_fname', 'problEmU_02_Sentence4326_03_Sentence1267__.wav.mp3', 'test_fname', 'words_277__.mp3');
struct('query', 278, 'evals', [1, 0, 1, 0], 'orig_fname', 'Clovjeka_10_Sentence1418_02_Sentence2777__.wav.mp3', 'test_fname', 'words_278__.mp3');
^
-->

Note this is a small fragment of the whole script I need to run, however, it does not contain any special functions or coding constructs.
Matlab runs this correctly (and the whole, much larger script as well)

Strange thing also is that when I shortened the file (several times), the line when it fails moved (randomly, I would say), although I deleted lines FAR AFTER the line when it failed ...??!!

Discussion

  • Dan

    Dan - 2010-02-25

    The framgment of the failing script

     
  • Samit Basu

    Samit Basu - 2011-03-23
    • assigned_to: nobody --> samitbasu
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • Samit Basu

    Samit Basu - 2011-04-07
    • status: closed --> open
     

Log in to post a comment.