Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f3eba489 authored by Unknown's avatar Unknown
Browse files

Merge remote-tracking branch 'origin/develop' into develop

parents c5693add e2d77a67
Branches
No related tags found
No related merge requests found
function decode(varargin) function p = decode(varargin)
%DECODE Summary of this function goes here %DECODE Summary of this function goes here
% Detailed explanation goes here % Detailed explanation goes here
...@@ -24,7 +24,8 @@ values = struct2cell(p.Results); ...@@ -24,7 +24,8 @@ values = struct2cell(p.Results);
% argList = paramToArg([parameters;extraParameters],[values;extraValues]); % argList = paramToArg([parameters;extraParameters],[values;extraValues]);
argList = paramToArg(parameters,values); argList = paramToArg(parameters,values);
system([TAppDecoder,' ',argList]); command = [TAppDecoder,' ',argList];
system(command);
end end
......
function encode(varargin) function p = encode(varargin)
%ENCODE Summary of this function goes here %ENCODE Summary of this function goes here
% Detailed explanation goes here % Detailed explanation goes here
...@@ -45,7 +45,9 @@ end ...@@ -45,7 +45,9 @@ end
try try
argList = paramToArg([parameters;extraParameters],[values;extraValues]); argList = paramToArg([parameters;extraParameters],[values;extraValues]);
status = system([TAppEncoder,' ',argList]); command = [TAppEncoder,' ',argList];
disp(command)
status = system(command);
if status if status
error('Execution with extra parameters failed, trying execution without'); error('Execution with extra parameters failed, trying execution without');
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment