help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: import command


From: Doug Stewart
Subject: Re: import command
Date: Tue, 26 May 2015 07:57:19 -0400



On Tue, May 26, 2015 at 7:32 AM, ALI Khan <address@hidden> wrote:
Hallo Concerend,

I have used import function to import a package for my coding script

Reference to import function is http://stackoverflow.com/questions/17600696/import-function-in-octave

Consider +pfft to be my folder that i have imported. If I try to implement the following command:

pfft(@inv_r,basis);

It gives me an error....

error: @inv_r: no function and no method found
error: called from
    induct at line 231 column 9
    pmag at line 148 column 11
    Example at line 27 column 7
error: evaluating argument list element number 1
error: called from
    induct at line 231 column 9
    pmag at line 148 column 11
    Example at line 27 column 7


I have made sure that inv_r function is present in my imported +pfft folder. The same command [pfft(@inv_r,basis) ]in matlab works fine with no errors.



Would be thankful if someone can help me ....

--
Your sincerely;
Engineer Mohammad Ali Khan
Master of Science in Computational Engineering (Mechatronics)
University of Erlangen, Bavaria
Germany

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


what does "pkg list"  tell you"
Is it installed and is it loaded?

try help PKG
--
DAS


reply via email to

[Prev in Thread] Current Thread [Next in Thread]