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

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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기

질문:

2013년 1월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by