diff --git a/MCU_Wrapper/mcu_wrapper_conf.h b/MCU_Wrapper/mcu_wrapper_conf.h index 35e49c0..266c1bd 100644 --- a/MCU_Wrapper/mcu_wrapper_conf.h +++ b/MCU_Wrapper/mcu_wrapper_conf.h @@ -50,7 +50,7 @@ #define PORT_WIDTH 16 ///< width of one port -#define PORT_NUMB 3 ///< amount of ports +#define PORT_NUMB 4 ///< amount of ports // Parameters of S_Function #define NPARAMS 1 ///< number of input parametrs (only Ts) #define IN_PORT_WIDTH (10) ///< width of input ports diff --git a/mexing.m b/mexing.m index f06de8e..525e2f7 100644 --- a/mexing.m +++ b/mexing.m @@ -4,7 +4,7 @@ clear, clc, set = mex.getCompilerConfigurations('C', 'Selected'); Ts = 0.00001; -Unom = 460; +Unom = 220; Udc = Unom*sqrt(2); freq = 20000; Rload = 2;