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 dot name structure assignment because the structure array is empty. Specify a subscript on the structure array to resolve.");
88 error (
"invalid assignment to cs-list outside multiple assignment");
94 error (
"nonconformant matrices");
101 error (
"nonconformant matrices (op1 is %dx%d, op2 is %dx%d)",
114 error (
"range constant used in invalid context");
126 error (
"std::string constant used in invalid context");
132 error (
"%s: unrecognized data format requested",
name);
138 error (
"unrecognized floating point format requested");
144 error (
"%s: user-supplied function returned invalid value",
name);
158 error (
e,
"%s: evaluation of user-supplied function failed",
name);
171 const char *
name,
const char *
s)
173 error (
e,
"%s: wrong type argument '%s'",
name,
s);
234 error (
e,
"wrong type argument '%s'",
s);
271 error (
"invalid operand '%s' for binary operator",
type.c_str ());
278 error (
"invalid operand '%s' for unary operator",
type.c_str ());
285 "Using an object of size %s as " 286 "a boolean value implies all().",
302 "comparing complex numbers is not supported in Matlab");
309 "%s: '%s' found by searching load path",
318 warning (
"%s: support for %s was unavailable or disabled when %s was built",
319 fcn.c_str (), feature.c_str (), pkg.c_str ());
321 warning (
"support for %s was unavailable or disabled when %s was built",
322 feature.c_str (), pkg.c_str ());
348 "implicit conversion from %s to %s",
349 from.c_str (), to.c_str ());
355 warning (
"invalid value specified for '%s'",
name);
362 "value not equal to 1 or 0 converted to logical 1");
void warn_empty_arg(const char *name)
std::string str(char sep='x') const
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)
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)
nd deftypefn *std::string name
void warn_data_file_in_path(const std::string &fcn, const std::string &file)
void err_range_invalid(void)
void err_invalid_structure_assignment(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)
void err_wrong_type_arg(const char *name, const char *s)
void warning(const char *fmt,...)
void err_user_supplied_eval(const char *name)
void err_invalid_conversion(const std::string &from, const std::string &to)
octave::execution_exception make_execution_exception(const char *who)
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)
std::string type_name(void) const
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)