23 #if defined (HAVE_CONFIG_H)
40 error (
"plot: can only plot in 2 or 3 dimensions");
46 error (
"unable to convert from %s to %s format", from, to);
54 error (
"%s: support for %s was unavailable or disabled when %s was built",
55 fcn.c_str (), feature.c_str (), pkg.c_str ());
57 error (
"support for %s was unavailable or disabled when %s was built",
58 feature.c_str (), pkg.c_str ());
64 error (
"a cs-list cannot be further indexed");
70 error (
"invalid conversion from %s to %s", from.c_str (), to.c_str ());
76 error (
"invalid dimension inquiry of a non-existent value");
82 error (
"invalid assignment to cs-list outside multiple assignment");
88 error (
"nonconformant matrices");
95 error (
"nonconformant matrices (op1 is %dx%d, op2 is %dx%d)",
102 error (
"%s: not implemented", fcn);
108 error (
"range constant used in invalid context");
114 error (
"%s: %s must be a square matrix", fcn, name);
120 error (
"std::string constant used in invalid context");
126 error (
"%s: unrecognized data format requested", name);
132 error (
"unrecognized floating point format requested");
138 error (
"%s: user-supplied function returned invalid value", name);
144 octave::execution_exception
e;
152 error (e,
"%s: evaluation of user-supplied function failed", name);
158 octave::execution_exception
e;
165 const char *
name,
const char *
s)
167 error (e,
"%s: wrong type argument '%s'", name, s);
173 octave::execution_exception
e;
188 octave::execution_exception
e;
205 octave::execution_exception
e;
220 octave::execution_exception
e;
228 error (e,
"wrong type argument '%s'", s);
234 octave::execution_exception
e;
248 octave::execution_exception
e;
265 error (
"invalid operand '%s' for binary operator", type.c_str ());
272 error (
"invalid operand '%s' for unary operator", type.c_str ());
279 "Using an object of size %s as "
280 "a boolean value implies all().",
296 "comparing complex numbers is not supported in Matlab");
303 "%s: '%s' found by searching load path",
304 fcn.c_str (), file.c_str ());
312 warning (
"%s: support for %s was unavailable or disabled when %s was built",
313 fcn.c_str (), feature.c_str (), pkg.c_str ());
315 warning (
"support for %s was unavailable or disabled when %s was built",
316 feature.c_str (), pkg.c_str ());
328 warning (
"%s: argument is empty matrix", name);
342 "implicit conversion from %s to %s",
343 from.c_str (), to.c_str ());
349 warning (
"invalid value specified for '%s'", name);
356 "value not equal to 1 or 0 converted to logical 1");
364 warning (
"%s: wrong type argument '%s'", name, type.c_str ());
void warn_empty_arg(const char *name)
void warning_with_id(const char *id, const char *fmt,...)
void err_data_conversion(const char *from, const char *to)
For example cd octave end example noindent changes the current working directory to file
void warn_invalid_value_specified(const char *name)
std::string str(char sep= 'x') const
void err_nonbraced_cs_list_assignment(void)
void warn_logical_conversion(void)
void err_unrecognized_data_fmt(const char *name)
void err_string_invalid(void)
void error(const char *fmt,...)
void err_wrong_type_arg_for_unary_op(const octave_value &op)
void err_square_matrix_required(const char *fcn, const char *name)
void err_nonconformant(void)
void err_indexed_cs_list(void)
void warn_data_file_in_path(const std::string &fcn, const std::string &file)
void err_range_invalid(void)
void err_wrong_type_arg_for_binary_op(const octave_value &op)
void warn_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
void warn_divide_by_zero(void)
void warn_complex_cmp(void)
void err_unrecognized_float_fmt(void)
may be zero for pure relative error test tem the relative tolerance must be greater than or equal to
void err_wrong_type_arg(const char *name, const char *s)
void warning(const char *fmt,...)
std::string type_name(void) const
void err_user_supplied_eval(const char *name)
void err_invalid_conversion(const std::string &from, const std::string &to)
void warn_implicit_conversion(const char *id, const char *from, const char *to)
void warn_wrong_type_arg(const char *name, const octave_value &tc)
void err_invalid_inquiry_subscript(void)
void warn_array_as_logical(const dim_vector &dv)
void err_2_or_3_dim_plot(void)
Vector representing the dimensions (size) of an Array.
void err_not_implemented(const char *fcn)
void err_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
void err_user_returned_invalid(const char *name)