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

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 ?

Sign in to comment.

Answers (0)

Categories

Find more on Operators and Elementary Operations in Help Center and File Exchange

Asked:

on 10 Jan 2013

Community Treasure Hunt

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

Start Hunting!