26 #if defined (HAVE_CONFIG_H)
43 error (
"plot: can only plot in 2 or 3 dimensions");
49 error (
"unable to convert from %s to %s format", from, to);
54 const std::string& pkg )
57 error (
"%s: support for %s was unavailable or disabled when %s was built",
58 fcn.c_str (), feature.c_str (), pkg.c_str ());
60 error (
"support for %s was unavailable or disabled when %s was built",
61 feature.c_str (), pkg.c_str ());
67 error (
"a cs-list cannot be further indexed");
73 error (
"invalid conversion from %s to %s", from.c_str (), to.c_str ());
79 error (
"invalid dimension inquiry of a non-existent value");
85 error (
"invalid dot name structure assignment because the structure array is empty. Specify a subscript on the structure array to resolve.");
91 error (
"invalid assignment to cs-list outside multiple assignment");
97 error (
"nonconformant matrices");
104 error (
"nonconformant matrices (op1 is %" OCTAVE_IDX_TYPE_FORMAT
105 "x%" OCTAVE_IDX_TYPE_FORMAT
", op2 is %" OCTAVE_IDX_TYPE_FORMAT
106 "x%" OCTAVE_IDX_TYPE_FORMAT
")", r1, c1, r2, c2);
112 error (
"%s: not implemented", fcn);
118 error (
"range constant used in invalid context");
124 error (
"%s: %s must be a square matrix", fcn,
name);
130 error (
"std::string constant used in invalid context");
136 error (
"%s: unrecognized data format requested",
name);
142 error (
"unrecognized floating point format requested");
148 error (
"%s: user-supplied function returned invalid value",
name);
154 octave::execution_exception e;
162 error (e,
"%s: evaluation of user-supplied function failed",
name);
168 octave::execution_exception e;
175 const char *
name,
const char *s)
177 error (e,
"%s: wrong type argument '%s'",
name, s);
183 octave::execution_exception e;
190 const char *
name,
const std::string& s)
198 octave::execution_exception e;
215 octave::execution_exception e;
230 octave::execution_exception e;
238 error (e,
"wrong type argument '%s'", s);
244 octave::execution_exception e;
258 octave::execution_exception e;
275 error (
"invalid operand '%s' for binary operator",
type.c_str ());
282 error (
"invalid operand '%s' for unary operator",
type.c_str ());
289 "Using an object of size %s as "
290 "a boolean value implies all().",
306 "comparing complex numbers is not supported in Matlab");
313 "%s: '%s' found by searching load path",
314 fcn.c_str (), file.c_str ());
319 const std::string& pkg )
322 warning (
"%s: support for %s was unavailable or disabled when %s was built",
323 fcn.c_str (), feature.c_str (), pkg.c_str ());
325 warning (
"support for %s was unavailable or disabled when %s was built",
326 feature.c_str (), pkg.c_str ());
339 "'%s' object indexed with empty index list",
351 const std::string& from,
const std::string& to)
354 "implicit conversion from %s to %s",
355 from.c_str (), to.c_str ());
361 warning (
"invalid value specified for '%s'",
name);
368 "value not equal to 1 or 0 converted to logical 1");
Vector representing the dimensions (size) of an Array.
std::string str(char sep='x') const
std::string type_name(void) const
void warning(const char *fmt,...)
void warning_with_id(const char *id, const char *fmt,...)
void error(const char *fmt,...)
void err_unrecognized_data_fmt(const char *name)
void err_wrong_type_arg_for_unary_op(const octave_value &op)
void err_invalid_inquiry_subscript(void)
void err_square_matrix_required(const char *fcn, const char *name)
void err_unrecognized_float_fmt(void)
void err_data_conversion(const char *from, const char *to)
void err_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
void warn_empty_index(const std::string &type_name)
void warn_wrong_type_arg(const char *name, const octave_value &tc)
void err_wrong_type_arg_for_binary_op(const octave_value &op)
void err_wrong_type_arg(const char *name, const char *s)
void warn_invalid_value_specified(const char *name)
void err_2_or_3_dim_plot(void)
void err_user_supplied_eval(const char *name)
void err_nonconformant(void)
void warn_array_as_logical(const dim_vector &dv)
void err_invalid_structure_assignment(void)
void err_invalid_conversion(const std::string &from, const std::string &to)
void err_string_invalid(void)
void err_range_invalid(void)
void warn_logical_conversion(void)
void err_not_implemented(const char *fcn)
void err_nonbraced_cs_list_assignment(void)
void warn_complex_cmp(void)
void err_user_returned_invalid(const char *name)
void warn_empty_arg(const char *name)
void err_indexed_cs_list(void)
void warn_implicit_conversion(const char *id, const char *from, const char *to)
void warn_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
void warn_data_file_in_path(const std::string &fcn, const std::string &file)