??? 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 件のコメント

Image Analyst
Image Analyst 2013 年 1 月 10 日
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).
Misa
Misa 2013 年 1 月 10 日
I call it from the command window.
Walter Roberson
Walter Roberson 2013 年 1 月 10 日
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 ?
Misa
Misa 2013 年 1 月 10 日
it's stored in mmq.m

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeShifting and Sorting Matrices についてさらに検索

質問済み:

2013 年 1 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by