[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
octave 3.2.4 - sprintf error message
From: |
Michael.Eyer |
Subject: |
octave 3.2.4 - sprintf error message |
Date: |
Fri, 29 Oct 2010 11:42:09 +0200 |
Dear Users,
we like to switch in the near future from Version 3.0.5 to 3.2.4 and getting an
error message in the early tests with 3.2.4.
We are using the following script in 3.0.5 and 3.2.4:
# cat rwu_test_sprintf.m
1
2 VL_STIEL_LINIE_ROH= ["a";"b";"c"];
3
4 VL_STIEL_LINIE=cellstr(VL_STIEL_LINIE_ROH);
5
6
7 VL_TEST=sprintf("String ->%s<-",VL_STIEL_LINIE(2))
After executing the script in 3.0.5 we get this result: VL_TEST = String ->b<-
In 3.2.4 we get this error:
error: sprintf: wrong type argument `cell'
error: called from:
error: ./rwu_test_sprintf.m at line 7, column 8
(I added the line numbers above in the script for better reference to the error
message)
Anyone have an idea what's the problem?
Regards,
Michael Eyer
--
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
- octave 3.2.4 - sprintf error message,
Michael.Eyer <=