From 2b04e20429fdd10b6472d6df5006fb659cabe227 Mon Sep 17 00:00:00 2001 From: Maximilian Schnabel <maximilian.schnabel@rwth-aachen.de> Date: Mon, 2 Mar 2020 15:28:16 +0100 Subject: [PATCH] formatting --- source/Motor.m | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/Motor.m b/source/Motor.m index 58ab55f..950202d 100644 --- a/source/Motor.m +++ b/source/Motor.m @@ -769,14 +769,14 @@ classdef Motor < MaskedHandle & dynamicprops p.parse(varargin{:}); if ~isempty(fieldnames(p.Unmatched)) - A = fieldnames(p.Unmatched); - warn = 'The following input parameters were invalid: '; - warn = [warn A{1}]; - for i = 2:length(A) - warn = [warn ', ' A{i}]; - end - warning(warn) - end + A = fieldnames(p.Unmatched); + warn = 'The following input parameters were invalid: '; + warn = [warn A{1}]; + for i = 2:length(A) + warn = [warn ', ' A{i}]; + end + warning(warn) + end % Set properties if motor.init -- GitLab