Undefined function 'int' for input arguments of type 'double'.

2 ビュー (過去 30 日間)
Mostfa Abd El-Aziz
Mostfa Abd El-Aziz 2019 年 4 月 30 日
編集済み: Stephen23 2019 年 4 月 30 日
Hello Every Body .. I am anew matlab user and i have an error on my code i hope to solve it
This My Code :
EDIT: Mostfa Abd El-Aziz's "Answer" moved here and code uploaded as a file:
that is my complete code
code describtion : i want to embed cipher text data in dct coefficients of an image using dct based embeded method
  9 件のコメント
Mostfa Abd El-Aziz
Mostfa Abd El-Aziz 2019 年 4 月 30 日
編集済み: Mostfa Abd El-Aziz 2019 年 4 月 30 日
i have run which int in command window and the result is :
>> which int
C:\Program Files\MATLAB\MATLAB Production Server\R2015a\toolbox\signal\signa\@filtstates\int.m % filtstates method
What does it mean ?
Stephen23
Stephen23 2019 年 4 月 30 日
編集済み: Stephen23 2019 年 4 月 30 日
"What does it mean ?"
That int is a method of a class in a specific toolbox, and that class just happens to have the very same name as the function that you uploaded. Is that just a coincidence? Did you copy a MATLAB toolbox function/class and try to make changes to it? Why does this class have exactly the same name as your function?
Your usage of int (with four output arguments) does not match the syntax any function named int that I can find. Daniel's assessment is likely correct. But as you still have not answered my very first question, I cannot guess what you are trying to do on that line.
By the way, get rid of clear all (which is totally pointless at the start of a function) and close all from the start of your function (which is totally unrelated to the functionality of your code). They really do not help you (no matter how much beginners love them):

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

回答 (1 件)

KSSV
KSSV 2019 年 4 月 30 日
What you are using int is to find the integral for the given sybolic function. I think you need to have a look on int16, int32.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by