From ad15c97e5077370ac1e7f4f0047f0d7f151837dd Mon Sep 17 00:00:00 2001 From: "TCS portal test user (insilicolab@gmail.com)" Date: Tue, 18 Oct 2022 10:58:06 +0200 Subject: [PATCH] Update of application code --- sampleApp1.m => sampleApp.m | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename sampleApp1.m => sampleApp.m (53%) diff --git a/sampleApp1.m b/sampleApp.m similarity index 53% rename from sampleApp1.m rename to sampleApp.m index 4882d87..17dd0d3 100644 --- a/sampleApp1.m +++ b/sampleApp.m @@ -5,20 +5,18 @@ %% Sample function created for demonstration of creating custom applications functionality %% See also https://docs.cyfronet.pl/display/ISDOC/Creating+Custom+Applications %% -function sampleApp1(inVector, multiplicator) +function outVector = sampleApp(inVector, multiplicator) -%% sampleApp1 function that multiplies a vector of number values by a multiplicator and plots the result +%% sampleApp function that multiplies a vector of number values by a multiplicator and plots the result % % Inputs: % - inVector - vector of double number values % - multiplicator - scalar number by which the inVector will be multiplied % % Outputs: -% - PNG image file 'multipliedVec.png' containing a plot of the inVector multiplied by multiplicator +% - outVector - vector of double being a result of multiplicatio of inVector by multiplicator % - multipliedVec = inVector .* multiplicator; - plot(multipliedVec); - print('-dpng', 'multipliedVec.png'); + outVector = inVector .* multiplicator; end