- Convert those scripts to functions (scripts are used by beginners because they want to see all their data in the workspace viewer. Functions are used by experienced users because they want their code to work).
- Return the required values from the first function as output arguments.
- Input those values to the second function as input arguments.
how to use the output of a 1st part of a program to the 2nd part of the same program as a input?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Anindya Banerjee
am 15 Sep. 2018
Kommentiert: KALYAN ACHARJYA
am 25 Sep. 2018
suppose i need the output of the file "img-acqi.m" as a input of the "gabor_fn.m" in a single program. Here the code is spllitted in two parts but i want to merge them all together.
1 Kommentar
Stephen23
am 15 Sep. 2018
Simple:
Akzeptierte Antwort
KALYAN ACHARJYA
am 15 Sep. 2018
%First Part
function ......
end
%2nd Part
%Call the function
%Do finding
4 Kommentare
KALYAN ACHARJYA
am 25 Sep. 2018
OK, Yes Why Not, Better to ask the question as a new one, so that other user also get notified about the question.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Preview and Device Configuration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!