??? 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 commentaires

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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Operators and Elementary Operations dans Centre d'aide et File Exchange

Question posée :

le 10 Jan 2013

Community Treasure Hunt

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

Start Hunting!

Translated by