23 lines
557 B
Matlab
23 lines
557 B
Matlab
%% -----------------
|
|
%% Copyright © 2022 ACK Cyfronet AGH, Poland.
|
|
%% -----------------
|
|
%%
|
|
%% Sample function created for demonstration of creating custom applications functionality
|
|
%% See also https://docs.cyfronet.pl/display/ISDOC/Creating+Custom+Applications
|
|
%%
|
|
function sampleApp(inVector)
|
|
|
|
%% sampleApp function that plots the input vector
|
|
%
|
|
% Inputs:
|
|
% - inVector - vector of double number values
|
|
%
|
|
% Outputs:
|
|
% - PNG image file 'vectorPlot.png' containing a plot of the inVector
|
|
%
|
|
|
|
plot(inVector);
|
|
print('-dpng', 'vectorPlot.png');
|
|
|
|
end
|