??? Undefined function or method 'mmq' for input arguments of type 'cell'.

I made a program that is supposed to have as input a matrix(D) and a cell array (b), but when I try to use it I get that error. Here's the first part of the program:
function g=mmq(D,b)
syms x;
for i=1:length(b);
b{i}=inline(b{i});
end

4 comentarios

Show the line of code where you call this function. Do you call it from the command line, or from another function or script? And tell us if both this mmq function and the calling function are on the path (type path at the command line).
I call it from the command window.
When you call it from the command window, how do you call it?
Is the function stored in mmq.m and is that on the path ?
it's stored in mmq.m

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Operators and Elementary Operations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de En. de 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by