Selaa lähdekoodia

Addressed Namespace and Class Conflict

Haobin Luo 2 vuotta sitten
vanhempi
commit
3d7f2a9b9e
41 muutettua tiedostoa jossa 233 lisäystä ja 233 poistoa
  1. 49 49
      RadarSim.pro
  2. 2 2
      SigGen/Radar101/RadarSignalGenerator101.cpp
  3. 4 4
      SigGen/Radar101/RectangularWaveform101.cpp
  4. 5 5
      SigGen/Radar101/RectangularWaveform101.h
  5. 2 2
      SigGen/Radar102/RadarSignalGenerator102.cpp
  6. 8 8
      SigGen/Radar102/RectangularWaveform102.cpp
  7. 5 5
      SigGen/Radar102/RectangularWaveform102.h
  8. 4 4
      SigGen/Radar103/RadarSignalGenerator103.cpp
  9. 5 5
      SigGen/Radar103/RectangularWaveform103.cpp
  10. 5 5
      SigGen/Radar103/RectangularWaveform103.h
  11. 2 2
      SigGen/Radar201/AbstractPhaseCodedWaveform201.cpp
  12. 3 3
      SigGen/Radar201/AbstractPhaseCodedWaveform201.h
  13. 4 4
      SigGen/Radar201/PhaseCodedWaveform201.cpp
  14. 5 5
      SigGen/Radar201/PhaseCodedWaveform201.h
  15. 4 4
      SigGen/Radar201/RadarSignalGenerator201.cpp
  16. 8 8
      SigGen/Radar202/PhaseCodedWaveform202.cpp
  17. 5 5
      SigGen/Radar202/PhaseCodedWaveform202.h
  18. 2 2
      SigGen/Radar202/RadarSignalGenerator202.cpp
  19. 8 8
      SigGen/Radar203/PhaseCodedWaveform203.cpp
  20. 5 5
      SigGen/Radar203/PhaseCodedWaveform203.h
  21. 4 4
      SigGen/Radar203/RadarSignalGenerator203.cpp
  22. 2 2
      SigGen/Radar301/AbstractLinearFMWaveform301.cpp
  23. 1 1
      SigGen/Radar301/AbstractLinearFMWaveform301.h
  24. 7 7
      SigGen/Radar301/LinearFMWaveform301.cpp
  25. 7 7
      SigGen/Radar301/LinearFMWaveform301.h
  26. 5 5
      SigGen/Radar301/RadarSignalGenerator301.cpp
  27. 11 11
      SigGen/Radar302/LinearFMWaveform302.cpp
  28. 7 7
      SigGen/Radar302/LinearFMWaveform302.h
  29. 2 2
      SigGen/Radar302/RadarSignalGenerator302.cpp
  30. 8 8
      SigGen/Radar303/LinearFMWaveform303.cpp
  31. 7 7
      SigGen/Radar303/LinearFMWaveform303.h
  32. 4 4
      SigGen/Radar303/RadarSignalGenerator303.cpp
  33. 4 4
      SigGen/Radar401/FMCWWaveform401.cpp
  34. 5 5
      SigGen/Radar401/FMCWWaveform401.h
  35. 2 2
      SigGen/Radar401/RadarSignalGenerator401.cpp
  36. 4 4
      SigGen/Radar402/FMCWWaveform402.cpp
  37. 5 5
      SigGen/Radar402/FMCWWaveform402.h
  38. 2 2
      SigGen/Radar402/RadarSignalGenerator402.cpp
  39. 4 4
      SigGen/Radar403/FMCWWaveform403.cpp
  40. 5 5
      SigGen/Radar403/FMCWWaveform403.h
  41. 2 2
      SigGen/Radar403/RadarSignalGenerator403.cpp

+ 49 - 49
RadarSim.pro

@@ -12,81 +12,81 @@ CONFIG += c++11
 SOURCES += \
     SigGen/Radar001/LinearFMWaveform.cpp \
     SigGen/Radar001/RadarSignalGenerator.cpp \
-    SigGen/rtGetInf.cpp \
-    SigGen/rtGetNaN.cpp \
-    SigGen/rt_nonfinite.cpp \
-    main.cpp \
-    mainwindow.cpp \
-    radarserver.cpp \
-    radarsiggen.cpp \
-    interceptradar.cpp \
-    simdisplay.cpp \
     SigGen/Radar101/RadarSignalGenerator101.cpp \
-    SigGen/Radar101/RectangularWaveform.cpp \
+    SigGen/Radar101/RectangularWaveform101.cpp \
     SigGen/Radar102/RadarSignalGenerator102.cpp \
-    SigGen/Radar102/RectangularWaveform.cpp \
+    SigGen/Radar102/RectangularWaveform102.cpp \
     SigGen/Radar103/RadarSignalGenerator103.cpp \
-    SigGen/Radar103/RectangularWaveform.cpp \
-    SigGen/Radar201/AbstractPhaseCodedWaveform.cpp \
-    SigGen/Radar201/PhaseCodedWaveform.cpp \
+    SigGen/Radar103/RectangularWaveform103.cpp \
+    SigGen/Radar201/AbstractPhaseCodedWaveform201.cpp \
+    SigGen/Radar201/PhaseCodedWaveform201.cpp \
     SigGen/Radar201/RadarSignalGenerator201.cpp \
-    SigGen/Radar202/PhaseCodedWaveform.cpp \
+    SigGen/Radar202/PhaseCodedWaveform202.cpp \
     SigGen/Radar202/RadarSignalGenerator202.cpp \
-    SigGen/Radar203/PhaseCodedWaveform.cpp \
+    SigGen/Radar203/PhaseCodedWaveform203.cpp \
     SigGen/Radar203/RadarSignalGenerator203.cpp \
-    SigGen/Radar301/AbstractLinearFMWaveform.cpp \
-    SigGen/Radar301/LinearFMWaveform.cpp \
+    SigGen/Radar301/AbstractLinearFMWaveform301.cpp \
+    SigGen/Radar301/LinearFMWaveform301.cpp \
     SigGen/Radar301/RadarSignalGenerator301.cpp \
-    SigGen/Radar302/LinearFMWaveform.cpp \
+    SigGen/Radar302/LinearFMWaveform302.cpp \
     SigGen/Radar302/RadarSignalGenerator302.cpp \
-    SigGen/Radar303/LinearFMWaveform.cpp \
+    SigGen/Radar303/LinearFMWaveform303.cpp \
     SigGen/Radar303/RadarSignalGenerator303.cpp \
-    SigGen/Radar401/FMCWWaveform.cpp \
+    SigGen/Radar401/FMCWWaveform401.cpp \
     SigGen/Radar401/RadarSignalGenerator401.cpp \
-    SigGen/Radar402/FMCWWaveform.cpp \
+    SigGen/Radar402/FMCWWaveform402.cpp \
     SigGen/Radar402/RadarSignalGenerator402.cpp \
-    SigGen/Radar403/FMCWWaveform.cpp \
-    SigGen/Radar403/RadarSignalGenerator403.cpp
+    SigGen/Radar403/FMCWWaveform403.cpp \
+    SigGen/Radar403/RadarSignalGenerator403.cpp \
+    SigGen/rtGetInf.cpp \
+    SigGen/rtGetNaN.cpp \
+    SigGen/rt_nonfinite.cpp \
+    main.cpp \
+    mainwindow.cpp \
+    radarserver.cpp \
+    radarsiggen.cpp \
+    interceptradar.cpp \
+    simdisplay.cpp \
 
 HEADERS += \
     SigGen/Radar001/LinearFMWaveform.h \
     SigGen/Radar001/RadarSignalGenerator.h \
-    SigGen/rtGetInf.h \
-    SigGen/rtGetNaN.h \
-    SigGen/rt_nonfinite.h \
-    SigGen/rtwtypes.h \
-    SigGen/tmwtypes.h \
-    mainwindow.h \
-    radarserver.h \
-    radarsiggen.h \
-    interceptradar.h \
-    simdisplay.h \
     SigGen/Radar101/RadarSignalGenerator101.h \
-    SigGen/Radar101/RectangularWaveform.h \
+    SigGen/Radar101/RectangularWaveform101.h \
     SigGen/Radar102/RadarSignalGenerator102.h \
-    SigGen/Radar102/RectangularWaveform.h \
+    SigGen/Radar102/RectangularWaveform102.h \
     SigGen/Radar103/RadarSignalGenerator103.h \
-    SigGen/Radar103/RectangularWaveform.h \
-    SigGen/Radar201/AbstractPhaseCodedWaveform.h \
-    SigGen/Radar201/PhaseCodedWaveform.h \
+    SigGen/Radar103/RectangularWaveform103.h \
+    SigGen/Radar201/AbstractPhaseCodedWaveform201.h \
+    SigGen/Radar201/PhaseCodedWaveform201.h \
     SigGen/Radar201/RadarSignalGenerator201.h \
-    SigGen/Radar202/PhaseCodedWaveform.h \
+    SigGen/Radar202/PhaseCodedWaveform202.h \
     SigGen/Radar202/RadarSignalGenerator202.h \
-    SigGen/Radar203/PhaseCodedWaveform.h \
+    SigGen/Radar203/PhaseCodedWaveform203.h \
     SigGen/Radar203/RadarSignalGenerator203.h \
-    SigGen/Radar301/AbstractLinearFMWaveform.h \
-    SigGen/Radar301/LinearFMWaveform.h \
+    SigGen/Radar301/AbstractLinearFMWaveform301.h \
+    SigGen/Radar301/LinearFMWaveform301.h \
     SigGen/Radar301/RadarSignalGenerator301.h \
-    SigGen/Radar302/LinearFMWaveform.h \
+    SigGen/Radar302/LinearFMWaveform302.h \
     SigGen/Radar302/RadarSignalGenerator302.h \
-    SigGen/Radar303/LinearFMWaveform.h \
+    SigGen/Radar303/LinearFMWaveform303.h \
     SigGen/Radar303/RadarSignalGenerator303.h \
-    SigGen/Radar401/FMCWWaveform.h \
+    SigGen/Radar401/FMCWWaveform401.h \
     SigGen/Radar401/RadarSignalGenerator401.h \
-    SigGen/Radar402/FMCWWaveform.h \
+    SigGen/Radar402/FMCWWaveform402.h \
     SigGen/Radar402/RadarSignalGenerator402.h \
-    SigGen/Radar403/FMCWWaveform.h \
-    SigGen/Radar403/RadarSignalGenerator403.h
+    SigGen/Radar403/FMCWWaveform403.h \
+    SigGen/Radar403/RadarSignalGenerator403.h \
+    SigGen/rtGetInf.h \
+    SigGen/rtGetNaN.h \
+    SigGen/rt_nonfinite.h \
+    SigGen/rtwtypes.h \
+    SigGen/tmwtypes.h \
+    mainwindow.h \
+    radarserver.h \
+    radarsiggen.h \
+    interceptradar.h \
+    simdisplay.h \
 
 FORMS += \
     mainwindow.ui \

+ 2 - 2
SigGen/Radar101/RadarSignalGenerator101.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator101.h"
-#include "RectangularWaveform.h"
+#include "RectangularWaveform101.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -77,7 +77,7 @@ static void times(coder::array<creal_T, 1U> &xt,
 void RadarSignalGenerator101(coder::array<double, 1U> &sig, double *fs,
                              double PRF[3], double *len)
 {
-  coder::phased::RectangularWaveform wavGen;
+  coder::phased::RectangularWaveform101 wavGen;
   coder::array<creal_T, 1U> b_x;
   coder::array<creal_T, 1U> r;
   coder::array<creal_T, 1U> r1;

+ 4 - 4
SigGen/Radar101/RectangularWaveform.cpp → SigGen/Radar101/RectangularWaveform101.cpp

@@ -9,7 +9,7 @@
 //
 
 // Include Files
-#include "RectangularWaveform.h"
+#include "RectangularWaveform101.h"
 #include "../rt_nonfinite.h"
 
 // Function Definitions
@@ -19,7 +19,7 @@
 //
 namespace coder {
 namespace phased {
-RectangularWaveform::RectangularWaveform()
+RectangularWaveform101::RectangularWaveform101()
 {
   matlabCodegenIsDeleted = true;
 }
@@ -28,7 +28,7 @@ RectangularWaveform::RectangularWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-RectangularWaveform::~RectangularWaveform()
+RectangularWaveform101::~RectangularWaveform101()
 {
   matlabCodegenDestructor();
 }
@@ -37,7 +37,7 @@ RectangularWaveform::~RectangularWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-void RectangularWaveform::matlabCodegenDestructor()
+void RectangularWaveform101::matlabCodegenDestructor()
 {
   if (!matlabCodegenIsDeleted) {
     matlabCodegenIsDeleted = true;

+ 5 - 5
SigGen/Radar101/RectangularWaveform.h → SigGen/Radar101/RectangularWaveform101.h

@@ -8,8 +8,8 @@
 // C/C++ source code generated on  : 26-Apr-2023 23:32:52
 //
 
-#ifndef RECTANGULARWAVEFORM_H
-#define RECTANGULARWAVEFORM_H
+#ifndef RECTANGULARWAVEFORM101_H
+#define RECTANGULARWAVEFORM101_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,11 +19,11 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class RectangularWaveform {
+class RectangularWaveform101 {
 public:
   void matlabCodegenDestructor();
-  ~RectangularWaveform();
-  RectangularWaveform();
+  ~RectangularWaveform101();
+  RectangularWaveform101();
   boolean_T matlabCodegenIsDeleted;
   int isInitialized;
   boolean_T isSetupComplete;

+ 2 - 2
SigGen/Radar102/RadarSignalGenerator102.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator102.h"
-#include "RectangularWaveform.h"
+#include "RectangularWaveform102.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -31,7 +31,7 @@ void RadarSignalGenerator102(coder::array<double, 1U> &sig, double *fs,
 {
   static creal_T xt[60000];
   static double b_xt[60000];
-  coder::phased::RectangularWaveform wavGen;
+  coder::phased::RectangularWaveform102 wavGen;
   double idx;
   int i;
   int ii;

+ 8 - 8
SigGen/Radar102/RectangularWaveform.cpp → SigGen/Radar102/RectangularWaveform102.cpp

@@ -9,7 +9,7 @@
 //
 
 // Include Files
-#include "RectangularWaveform.h"
+#include "RectangularWaveform102.h"
 #include "../rt_nonfinite.h"
 #include <algorithm>
 #include <cmath>
@@ -22,7 +22,7 @@
 //
 namespace coder {
 namespace phased {
-void RectangularWaveform::getMatchingWaveform(creal_T s[20000])
+void RectangularWaveform102::getMatchingWaveform(creal_T s[20000])
 {
   for (int k{0}; k < 20000; k++) {
     s[k].re = 1.0;
@@ -34,7 +34,7 @@ void RectangularWaveform::getMatchingWaveform(creal_T s[20000])
 // Arguments    : void
 // Return Type  : RectangularWaveform
 //
-RectangularWaveform::RectangularWaveform()
+RectangularWaveform102::RectangularWaveform102()
 {
   matlabCodegenIsDeleted = true;
 }
@@ -43,7 +43,7 @@ RectangularWaveform::RectangularWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-RectangularWaveform::~RectangularWaveform()
+RectangularWaveform102::~RectangularWaveform102()
 {
   matlabCodegenDestructor();
 }
@@ -52,7 +52,7 @@ RectangularWaveform::~RectangularWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-void RectangularWaveform::matlabCodegenDestructor()
+void RectangularWaveform102::matlabCodegenDestructor()
 {
   if (!matlabCodegenIsDeleted) {
     matlabCodegenIsDeleted = true;
@@ -66,7 +66,7 @@ void RectangularWaveform::matlabCodegenDestructor()
 // Arguments    : creal_T varargout_1[60000]
 // Return Type  : void
 //
-void RectangularWaveform::step(creal_T varargout_1[60000])
+void RectangularWaveform102::step(creal_T varargout_1[60000])
 {
   static creal_T unusedExpr[20000];
   double d;
@@ -94,9 +94,9 @@ void RectangularWaveform::step(creal_T varargout_1[60000])
   }
   pOutputStartPulseIndex = r + 1.0;
   std::memset(&varargout_1[0], 0, 60000U * sizeof(creal_T));
-  RectangularWaveform::getMatchingWaveform(unusedExpr);
+  RectangularWaveform102::getMatchingWaveform(unusedExpr);
   std::copy(&unusedExpr[0], &unusedExpr[20000], &varargout_1[0]);
-  RectangularWaveform::getMatchingWaveform(unusedExpr);
+  RectangularWaveform102::getMatchingWaveform(unusedExpr);
 }
 
 } // namespace phased

+ 5 - 5
SigGen/Radar102/RectangularWaveform.h → SigGen/Radar102/RectangularWaveform102.h

@@ -8,8 +8,8 @@
 // C/C++ source code generated on  : 26-Apr-2023 23:37:46
 //
 
-#ifndef RECTANGULARWAVEFORM_H
-#define RECTANGULARWAVEFORM_H
+#ifndef RECTANGULARWAVEFORM102_H
+#define RECTANGULARWAVEFORM102_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,12 +19,12 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class RectangularWaveform {
+class RectangularWaveform102 {
 public:
   void step(creal_T varargout_1[60000]);
   void matlabCodegenDestructor();
-  ~RectangularWaveform();
-  RectangularWaveform();
+  ~RectangularWaveform102();
+  RectangularWaveform102();
 
 protected:
   static void getMatchingWaveform(creal_T s[20000]);

+ 4 - 4
SigGen/Radar103/RadarSignalGenerator103.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator103.h"
-#include "RectangularWaveform.h"
+#include "RectangularWaveform103.h"
 #include "../coder_array.h"
 #include <algorithm>
 #include <cmath>
@@ -32,7 +32,7 @@ void RadarSignalGenerator103(coder::array<double, 1U> &sig, double *fs,
 {
   static creal_T xt[40000];
   static double b_xt[40000];
-  coder::phased::RectangularWaveform wavGen;
+  coder::phased::RectangularWaveform103 wavGen;
   creal_T unusedExpr[10000];
   double idx;
   int i;
@@ -67,9 +67,9 @@ void RadarSignalGenerator103(coder::array<double, 1U> &sig, double *fs,
       wavGen.pOutputPulseInterval[1] = 1.0;
     }
     std::memset(&xt[0], 0, 40000U * sizeof(creal_T));
-    coder::phased::RectangularWaveform::getMatchingWaveform(unusedExpr);
+    coder::phased::RectangularWaveform103::getMatchingWaveform(unusedExpr);
     std::copy(&unusedExpr[0], &unusedExpr[10000], &xt[0]);
-    coder::phased::RectangularWaveform::getMatchingWaveform(unusedExpr);
+    coder::phased::RectangularWaveform103::getMatchingWaveform(unusedExpr);
     //  载波调制
     b_xt[0] = 0.0;
     b_xt[39999] = 1.99995E-6;

+ 5 - 5
SigGen/Radar103/RectangularWaveform.cpp → SigGen/Radar103/RectangularWaveform103.cpp

@@ -9,7 +9,7 @@
 //
 
 // Include Files
-#include "RectangularWaveform.h"
+#include "RectangularWaveform103.h"
 
 // Function Definitions
 //
@@ -18,7 +18,7 @@
 //
 namespace coder {
 namespace phased {
-RectangularWaveform::RectangularWaveform()
+RectangularWaveform103::RectangularWaveform103()
 {
   matlabCodegenIsDeleted = true;
 }
@@ -27,7 +27,7 @@ RectangularWaveform::RectangularWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-RectangularWaveform::~RectangularWaveform()
+RectangularWaveform103::~RectangularWaveform103()
 {
   matlabCodegenDestructor();
 }
@@ -36,7 +36,7 @@ RectangularWaveform::~RectangularWaveform()
 // Arguments    : creal_T s[10000]
 // Return Type  : void
 //
-void RectangularWaveform::getMatchingWaveform(creal_T s[10000])
+void RectangularWaveform103::getMatchingWaveform(creal_T s[10000])
 {
   for (int k{0}; k < 10000; k++) {
     s[k].re = 1.0;
@@ -48,7 +48,7 @@ void RectangularWaveform::getMatchingWaveform(creal_T s[10000])
 // Arguments    : void
 // Return Type  : void
 //
-void RectangularWaveform::matlabCodegenDestructor()
+void RectangularWaveform103::matlabCodegenDestructor()
 {
   if (!matlabCodegenIsDeleted) {
     matlabCodegenIsDeleted = true;

+ 5 - 5
SigGen/Radar103/RectangularWaveform.h → SigGen/Radar103/RectangularWaveform103.h

@@ -8,8 +8,8 @@
 // C/C++ source code generated on  : 26-Apr-2023 23:41:22
 //
 
-#ifndef RECTANGULARWAVEFORM_H
-#define RECTANGULARWAVEFORM_H
+#ifndef RECTANGULARWAVEFORM103_H
+#define RECTANGULARWAVEFORM103_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,12 +19,12 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class RectangularWaveform {
+class RectangularWaveform103 {
 public:
   void matlabCodegenDestructor();
   static void getMatchingWaveform(creal_T s[10000]);
-  ~RectangularWaveform();
-  RectangularWaveform();
+  ~RectangularWaveform103();
+  RectangularWaveform103();
   boolean_T matlabCodegenIsDeleted;
   int isInitialized;
   boolean_T isSetupComplete;

+ 2 - 2
SigGen/Radar201/AbstractPhaseCodedWaveform.cpp → SigGen/Radar201/AbstractPhaseCodedWaveform201.cpp

@@ -9,7 +9,7 @@
 //
 
 // Include Files
-#include "AbstractPhaseCodedWaveform.h"
+#include "AbstractPhaseCodedWaveform201.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <math.h>
@@ -21,7 +21,7 @@
 //
 namespace coder {
 namespace phased {
-void AbstractPhaseCodedWaveform::getMatchingWaveform(creal_T s[20000])
+void AbstractPhaseCodedWaveform201::getMatchingWaveform(creal_T s[20000])
 {
   array<creal_T, 1U> x;
   int exponent;

+ 3 - 3
SigGen/Radar201/AbstractPhaseCodedWaveform.h → SigGen/Radar201/AbstractPhaseCodedWaveform201.h

@@ -8,8 +8,8 @@
 // C/C++ source code generated on  : 26-Apr-2023 23:47:33
 //
 
-#ifndef ABSTRACTPHASECODEDWAVEFORM_H
-#define ABSTRACTPHASECODEDWAVEFORM_H
+#ifndef ABSTRACTPHASECODEDWAVEFORM201_H
+#define ABSTRACTPHASECODEDWAVEFORM201_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,7 +19,7 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class AbstractPhaseCodedWaveform {
+class AbstractPhaseCodedWaveform201 {
 public:
   static void getMatchingWaveform(creal_T s[20000]);
 };

+ 4 - 4
SigGen/Radar201/PhaseCodedWaveform.cpp → SigGen/Radar201/PhaseCodedWaveform201.cpp

@@ -9,7 +9,7 @@
 //
 
 // Include Files
-#include "PhaseCodedWaveform.h"
+#include "PhaseCodedWaveform201.h"
 #include "../rt_nonfinite.h"
 
 // Function Definitions
@@ -19,7 +19,7 @@
 //
 namespace coder {
 namespace phased {
-PhaseCodedWaveform::PhaseCodedWaveform()
+PhaseCodedWaveform201::PhaseCodedWaveform201()
 {
   matlabCodegenIsDeleted = true;
 }
@@ -28,7 +28,7 @@ PhaseCodedWaveform::PhaseCodedWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-PhaseCodedWaveform::~PhaseCodedWaveform()
+PhaseCodedWaveform201::~PhaseCodedWaveform201()
 {
   matlabCodegenDestructor();
 }
@@ -37,7 +37,7 @@ PhaseCodedWaveform::~PhaseCodedWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-void PhaseCodedWaveform::matlabCodegenDestructor()
+void PhaseCodedWaveform201::matlabCodegenDestructor()
 {
   if (!matlabCodegenIsDeleted) {
     matlabCodegenIsDeleted = true;

+ 5 - 5
SigGen/Radar201/PhaseCodedWaveform.h → SigGen/Radar201/PhaseCodedWaveform201.h

@@ -8,8 +8,8 @@
 // C/C++ source code generated on  : 26-Apr-2023 23:47:33
 //
 
-#ifndef PHASECODEDWAVEFORM_H
-#define PHASECODEDWAVEFORM_H
+#ifndef PHASECODEDWAVEFORM201_H
+#define PHASECODEDWAVEFORM201_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,11 +19,11 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class PhaseCodedWaveform {
+class PhaseCodedWaveform201 {
 public:
   void matlabCodegenDestructor();
-  ~PhaseCodedWaveform();
-  PhaseCodedWaveform();
+  ~PhaseCodedWaveform201();
+  PhaseCodedWaveform201();
   boolean_T matlabCodegenIsDeleted;
   int isInitialized;
   boolean_T isSetupComplete;

+ 4 - 4
SigGen/Radar201/RadarSignalGenerator201.cpp

@@ -10,8 +10,8 @@
 
 // Include Files
 #include "RadarSignalGenerator201.h"
-#include "AbstractPhaseCodedWaveform.h"
-#include "PhaseCodedWaveform.h"
+#include "AbstractPhaseCodedWaveform201.h"
+#include "PhaseCodedWaveform201.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -78,7 +78,7 @@ void RadarSignalGenerator201(coder::array<double, 1U> &sig, double *fs,
                              double PRF[3], double *len)
 {
   static creal_T dcv[20000];
-  coder::phased::PhaseCodedWaveform wavGen;
+  coder::phased::PhaseCodedWaveform201 wavGen;
   coder::array<creal_T, 1U> r1;
   coder::array<creal_T, 1U> xt;
   coder::array<double, 2U> r;
@@ -166,7 +166,7 @@ void RadarSignalGenerator201(coder::array<double, 1U> &sig, double *fs,
       xt[k].re = 0.0;
       xt[k].im = 0.0;
     }
-    coder::phased::AbstractPhaseCodedWaveform::getMatchingWaveform(dcv);
+    coder::phased::AbstractPhaseCodedWaveform201::getMatchingWaveform(dcv);
     for (k = 0; k < 20000; k++) {
       xt[k] = dcv[k];
     }

+ 8 - 8
SigGen/Radar202/PhaseCodedWaveform.cpp → SigGen/Radar202/PhaseCodedWaveform202.cpp

@@ -9,7 +9,7 @@
 //
 
 // Include Files
-#include "PhaseCodedWaveform.h"
+#include "PhaseCodedWaveform202.h"
 #include "../rt_nonfinite.h"
 #include <algorithm>
 #include <cmath>
@@ -22,7 +22,7 @@
 //
 namespace coder {
 namespace phased {
-void PhaseCodedWaveform::getMatchingWaveform(creal_T s[20000])
+void PhaseCodedWaveform202::getMatchingWaveform(creal_T s[20000])
 {
   int ibtile;
   int k;
@@ -55,7 +55,7 @@ void PhaseCodedWaveform::getMatchingWaveform(creal_T s[20000])
 // Arguments    : void
 // Return Type  : PhaseCodedWaveform
 //
-PhaseCodedWaveform::PhaseCodedWaveform()
+PhaseCodedWaveform202::PhaseCodedWaveform202()
 {
   matlabCodegenIsDeleted = true;
 }
@@ -64,7 +64,7 @@ PhaseCodedWaveform::PhaseCodedWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-PhaseCodedWaveform::~PhaseCodedWaveform()
+PhaseCodedWaveform202::~PhaseCodedWaveform202()
 {
   matlabCodegenDestructor();
 }
@@ -73,7 +73,7 @@ PhaseCodedWaveform::~PhaseCodedWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-void PhaseCodedWaveform::matlabCodegenDestructor()
+void PhaseCodedWaveform202::matlabCodegenDestructor()
 {
   if (!matlabCodegenIsDeleted) {
     matlabCodegenIsDeleted = true;
@@ -87,7 +87,7 @@ void PhaseCodedWaveform::matlabCodegenDestructor()
 // Arguments    : creal_T varargout_1[60000]
 // Return Type  : void
 //
-void PhaseCodedWaveform::step(creal_T varargout_1[60000])
+void PhaseCodedWaveform202::step(creal_T varargout_1[60000])
 {
   static creal_T unusedExpr[20000];
   double d;
@@ -119,9 +119,9 @@ void PhaseCodedWaveform::step(creal_T varargout_1[60000])
   }
   pOutputStartPulseIndex = r + 1.0;
   std::memset(&varargout_1[0], 0, 60000U * sizeof(creal_T));
-  PhaseCodedWaveform::getMatchingWaveform(unusedExpr);
+  PhaseCodedWaveform202::getMatchingWaveform(unusedExpr);
   std::copy(&unusedExpr[0], &unusedExpr[20000], &varargout_1[0]);
-  PhaseCodedWaveform::getMatchingWaveform(unusedExpr);
+  PhaseCodedWaveform202::getMatchingWaveform(unusedExpr);
 }
 
 } // namespace phased

+ 5 - 5
SigGen/Radar202/PhaseCodedWaveform.h → SigGen/Radar202/PhaseCodedWaveform202.h

@@ -8,8 +8,8 @@
 // C/C++ source code generated on  : 26-Apr-2023 23:50:19
 //
 
-#ifndef PHASECODEDWAVEFORM_H
-#define PHASECODEDWAVEFORM_H
+#ifndef PHASECODEDWAVEFORM202_H
+#define PHASECODEDWAVEFORM202_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,12 +19,12 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class PhaseCodedWaveform {
+class PhaseCodedWaveform202 {
 public:
   void step(creal_T varargout_1[60000]);
   void matlabCodegenDestructor();
-  ~PhaseCodedWaveform();
-  PhaseCodedWaveform();
+  ~PhaseCodedWaveform202();
+  PhaseCodedWaveform202();
 
 protected:
   static void getMatchingWaveform(creal_T s[20000]);

+ 2 - 2
SigGen/Radar202/RadarSignalGenerator202.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator202.h"
-#include "PhaseCodedWaveform.h"
+#include "PhaseCodedWaveform202.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -31,7 +31,7 @@ void RadarSignalGenerator202(coder::array<double, 1U> &sig, double *fs,
 {
   static creal_T xt[60000];
   static double b_xt[60000];
-  coder::phased::PhaseCodedWaveform wavGen;
+  coder::phased::PhaseCodedWaveform202 wavGen;
   double idx;
   int i;
   int ii;

+ 8 - 8
SigGen/Radar203/PhaseCodedWaveform.cpp → SigGen/Radar203/PhaseCodedWaveform203.cpp

@@ -2,23 +2,23 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: PhaseCodedWaveform.cpp
+// File: PhaseCodedWaveform203.cpp
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 26-Apr-2023 23:54:03
 //
 
 // Include Files
-#include "PhaseCodedWaveform.h"
+#include "PhaseCodedWaveform203.h"
 
 // Function Definitions
 //
 // Arguments    : void
-// Return Type  : PhaseCodedWaveform
+// Return Type  : PhaseCodedWaveform203
 //
 namespace coder {
 namespace phased {
-PhaseCodedWaveform::PhaseCodedWaveform()
+PhaseCodedWaveform203::PhaseCodedWaveform203()
 {
   matlabCodegenIsDeleted = true;
 }
@@ -27,7 +27,7 @@ PhaseCodedWaveform::PhaseCodedWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-PhaseCodedWaveform::~PhaseCodedWaveform()
+PhaseCodedWaveform203::~PhaseCodedWaveform203()
 {
   matlabCodegenDestructor();
 }
@@ -36,7 +36,7 @@ PhaseCodedWaveform::~PhaseCodedWaveform()
 // Arguments    : creal_T s[10000]
 // Return Type  : void
 //
-void PhaseCodedWaveform::getMatchingWaveform(creal_T s[10000])
+void PhaseCodedWaveform203::getMatchingWaveform(creal_T s[10000])
 {
   int ibtile;
   int k;
@@ -69,7 +69,7 @@ void PhaseCodedWaveform::getMatchingWaveform(creal_T s[10000])
 // Arguments    : void
 // Return Type  : void
 //
-void PhaseCodedWaveform::matlabCodegenDestructor()
+void PhaseCodedWaveform203::matlabCodegenDestructor()
 {
   if (!matlabCodegenIsDeleted) {
     matlabCodegenIsDeleted = true;
@@ -83,7 +83,7 @@ void PhaseCodedWaveform::matlabCodegenDestructor()
 } // namespace coder
 
 //
-// File trailer for PhaseCodedWaveform.cpp
+// File trailer for PhaseCodedWaveform203.cpp
 //
 // [EOF]
 //

+ 5 - 5
SigGen/Radar203/PhaseCodedWaveform.h → SigGen/Radar203/PhaseCodedWaveform203.h

@@ -8,8 +8,8 @@
 // C/C++ source code generated on  : 26-Apr-2023 23:54:03
 //
 
-#ifndef PHASECODEDWAVEFORM_H
-#define PHASECODEDWAVEFORM_H
+#ifndef PHASECODEDWAVEFORM203_H
+#define PHASECODEDWAVEFORM203_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,12 +19,12 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class PhaseCodedWaveform {
+class PhaseCodedWaveform203 {
 public:
   void matlabCodegenDestructor();
   static void getMatchingWaveform(creal_T s[10000]);
-  ~PhaseCodedWaveform();
-  PhaseCodedWaveform();
+  ~PhaseCodedWaveform203();
+  PhaseCodedWaveform203();
   boolean_T matlabCodegenIsDeleted;
   int isInitialized;
   boolean_T isSetupComplete;

+ 4 - 4
SigGen/Radar203/RadarSignalGenerator203.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator203.h"
-#include "PhaseCodedWaveform.h"
+#include "PhaseCodedWaveform203.h"
 #include "../coder_array.h"
 #include <algorithm>
 #include <cmath>
@@ -32,7 +32,7 @@ void RadarSignalGenerator203(coder::array<double, 1U> &sig, double *fs,
 {
   static creal_T xt[40000];
   static double b_xt[40000];
-  coder::phased::PhaseCodedWaveform wavGen;
+  coder::phased::PhaseCodedWaveform203 wavGen;
   creal_T unusedExpr[10000];
   double idx;
   int i;
@@ -67,9 +67,9 @@ void RadarSignalGenerator203(coder::array<double, 1U> &sig, double *fs,
       wavGen.pOutputPulseInterval[1] = 1.0;
     }
     std::memset(&xt[0], 0, 40000U * sizeof(creal_T));
-    coder::phased::PhaseCodedWaveform::getMatchingWaveform(unusedExpr);
+    coder::phased::PhaseCodedWaveform203::getMatchingWaveform(unusedExpr);
     std::copy(&unusedExpr[0], &unusedExpr[10000], &xt[0]);
-    coder::phased::PhaseCodedWaveform::getMatchingWaveform(unusedExpr);
+    coder::phased::PhaseCodedWaveform203::getMatchingWaveform(unusedExpr);
     //  载波调制
     b_xt[0] = 0.0;
     b_xt[39999] = 1.99995E-6;

+ 2 - 2
SigGen/Radar301/AbstractLinearFMWaveform.cpp → SigGen/Radar301/AbstractLinearFMWaveform301.cpp

@@ -9,7 +9,7 @@
 //
 
 // Include Files
-#include "AbstractLinearFMWaveform.h"
+#include "AbstractLinearFMWaveform301.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -22,7 +22,7 @@
 //
 namespace coder {
 namespace phased {
-void AbstractLinearFMWaveform::getMatchingWaveform(
+void AbstractLinearFMWaveform301::getMatchingWaveform(
     ::coder::array<creal_T, 1U> &wav)
 {
   array<creal_T, 1U> b_x;

+ 1 - 1
SigGen/Radar301/AbstractLinearFMWaveform.h → SigGen/Radar301/AbstractLinearFMWaveform301.h

@@ -20,7 +20,7 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class AbstractLinearFMWaveform {
+class AbstractLinearFMWaveform301 {
 public:
   static void getMatchingWaveform(::coder::array<creal_T, 1U> &wav);
 };

+ 7 - 7
SigGen/Radar301/LinearFMWaveform.cpp → SigGen/Radar301/LinearFMWaveform301.cpp

@@ -2,24 +2,24 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: LinearFMWaveform.cpp
+// File: LinearFMWaveform301.cpp
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:24:12
 //
 
 // Include Files
-#include "LinearFMWaveform.h"
+#include "LinearFMWaveform301.h"
 #include "../rt_nonfinite.h"
 
 // Function Definitions
 //
 // Arguments    : void
-// Return Type  : LinearFMWaveform
+// Return Type  : LinearFMWaveform301
 //
 namespace coder {
 namespace phased {
-LinearFMWaveform::LinearFMWaveform()
+LinearFMWaveform301::LinearFMWaveform301()
 {
   matlabCodegenIsDeleted = true;
 }
@@ -28,7 +28,7 @@ LinearFMWaveform::LinearFMWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-LinearFMWaveform::~LinearFMWaveform()
+LinearFMWaveform301::~LinearFMWaveform301()
 {
   matlabCodegenDestructor();
 }
@@ -37,7 +37,7 @@ LinearFMWaveform::~LinearFMWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-void LinearFMWaveform::matlabCodegenDestructor()
+void LinearFMWaveform301::matlabCodegenDestructor()
 {
   if (!matlabCodegenIsDeleted) {
     matlabCodegenIsDeleted = true;
@@ -51,7 +51,7 @@ void LinearFMWaveform::matlabCodegenDestructor()
 } // namespace coder
 
 //
-// File trailer for LinearFMWaveform.cpp
+// File trailer for LinearFMWaveform301.cpp
 //
 // [EOF]
 //

+ 7 - 7
SigGen/Radar301/LinearFMWaveform.h → SigGen/Radar301/LinearFMWaveform301.h

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: LinearFMWaveform.h
+// File: LinearFMWaveform301.h
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:24:12
 //
 
-#ifndef LINEARFMWAVEFORM_H
-#define LINEARFMWAVEFORM_H
+#ifndef LinearFMWaveform301_H
+#define LinearFMWaveform301_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,11 +19,11 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class LinearFMWaveform {
+class LinearFMWaveform301 {
 public:
   void matlabCodegenDestructor();
-  ~LinearFMWaveform();
-  LinearFMWaveform();
+  ~LinearFMWaveform301();
+  LinearFMWaveform301();
   boolean_T matlabCodegenIsDeleted;
   int isInitialized;
   boolean_T isSetupComplete;
@@ -36,7 +36,7 @@ public:
 
 #endif
 //
-// File trailer for LinearFMWaveform.h
+// File trailer for LinearFMWaveform301.h
 //
 // [EOF]
 //

+ 5 - 5
SigGen/Radar301/RadarSignalGenerator301.cpp

@@ -10,8 +10,8 @@
 
 // Include Files
 #include "RadarSignalGenerator301.h"
-#include "AbstractLinearFMWaveform.h"
-#include "LinearFMWaveform.h"
+#include "AbstractLinearFMWaveform301.h"
+#include "LinearFMWaveform301.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -77,7 +77,7 @@ static void times(coder::array<creal_T, 1U> &xt,
 void RadarSignalGenerator301(coder::array<double, 1U> &sig, double *fs,
                              double PRF[3], double *len)
 {
-  coder::phased::LinearFMWaveform wavGen;
+  coder::phased::LinearFMWaveform301 wavGen;
   coder::array<creal_T, 1U> r;
   coder::array<creal_T, 1U> r1;
   coder::array<creal_T, 1U> r3;
@@ -163,11 +163,11 @@ void RadarSignalGenerator301(coder::array<double, 1U> &sig, double *fs,
       xt[k].re = 0.0;
       xt[k].im = 0.0;
     }
-    coder::phased::AbstractLinearFMWaveform::getMatchingWaveform(r);
+    coder::phased::AbstractLinearFMWaveform301::getMatchingWaveform(r);
     for (k = 0; k < 20000; k++) {
       xt[k] = r[k];
     }
-    coder::phased::AbstractLinearFMWaveform::getMatchingWaveform(r1);
+    coder::phased::AbstractLinearFMWaveform301::getMatchingWaveform(r1);
     //  载波调制
     kd = (static_cast<double>(xt.size(0)) - 1.0) / 2.0E+10;
     ndbl = static_cast<int>(std::floor(kd / 5.0E-11 + 0.5));

+ 11 - 11
SigGen/Radar302/LinearFMWaveform.cpp → SigGen/Radar302/LinearFMWaveform302.cpp

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: LinearFMWaveform.cpp
+// File: LinearFMWaveform302.cpp
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 26-Apr-2023 23:59:19
 //
 
 // Include Files
-#include "LinearFMWaveform.h"
+#include "LinearFMWaveform302.h"
 #include "../rt_nonfinite.h"
 #include <algorithm>
 #include <cmath>
@@ -24,7 +24,7 @@ namespace coder
 {
   namespace phased
   {
-    void LinearFMWaveform::getMatchingWaveform(creal_T wav[20000])
+    void LinearFMWaveform302::getMatchingWaveform(creal_T wav[20000])
     {
       static const double a[20000]{ 0.0, 5.0E-11, 1.0E-10, 1.5E-10, 2.0E-10,
         2.5E-10, 3.0E-10, 3.5E-10, 4.0E-10, 4.5E-10, 5.0E-10, 5.5E-10, 6.0E-10,
@@ -2904,9 +2904,9 @@ namespace coder
 
     //
     // Arguments    : void
-    // Return Type  : LinearFMWaveform
+    // Return Type  : LinearFMWaveform302
     //
-    LinearFMWaveform::LinearFMWaveform()
+    LinearFMWaveform302::LinearFMWaveform302()
     {
       matlabCodegenIsDeleted = true;
     }
@@ -2915,7 +2915,7 @@ namespace coder
     // Arguments    : void
     // Return Type  : void
     //
-    LinearFMWaveform::~LinearFMWaveform()
+    LinearFMWaveform302::~LinearFMWaveform302()
     {
       matlabCodegenDestructor();
     }
@@ -2924,7 +2924,7 @@ namespace coder
     // Arguments    : void
     // Return Type  : void
     //
-    void LinearFMWaveform::matlabCodegenDestructor()
+    void LinearFMWaveform302::matlabCodegenDestructor()
     {
       if (!matlabCodegenIsDeleted) {
         matlabCodegenIsDeleted = true;
@@ -2938,7 +2938,7 @@ namespace coder
     // Arguments    : creal_T varargout_1[60000]
     // Return Type  : void
     //
-    void LinearFMWaveform::step(creal_T varargout_1[60000])
+    void LinearFMWaveform302::step(creal_T varargout_1[60000])
     {
       static creal_T unusedExpr[20000];
       double d;
@@ -2968,15 +2968,15 @@ namespace coder
 
       pOutputStartPulseIndex = r + 1.0;
       std::memset(&varargout_1[0], 0, 60000U * sizeof(creal_T));
-      LinearFMWaveform::getMatchingWaveform(unusedExpr);
+      LinearFMWaveform302::getMatchingWaveform(unusedExpr);
       std::copy(&unusedExpr[0], &unusedExpr[20000], &varargout_1[0]);
-      LinearFMWaveform::getMatchingWaveform(unusedExpr);
+      LinearFMWaveform302::getMatchingWaveform(unusedExpr);
     }
   }
 }
 
 //
-// File trailer for LinearFMWaveform.cpp
+// File trailer for LinearFMWaveform302.cpp
 //
 // [EOF]
 //

+ 7 - 7
SigGen/Radar302/LinearFMWaveform.h → SigGen/Radar302/LinearFMWaveform302.h

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: LinearFMWaveform.h
+// File: LinearFMWaveform302.h
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 26-Apr-2023 23:59:19
 //
 
-#ifndef LINEARFMWAVEFORM_H
-#define LINEARFMWAVEFORM_H
+#ifndef LinearFMWaveform302_H
+#define LinearFMWaveform302_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,12 +19,12 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class LinearFMWaveform {
+class LinearFMWaveform302 {
 public:
   void step(creal_T varargout_1[60000]);
   void matlabCodegenDestructor();
-  ~LinearFMWaveform();
-  LinearFMWaveform();
+  ~LinearFMWaveform302();
+  LinearFMWaveform302();
 
 protected:
   static void getMatchingWaveform(creal_T wav[20000]);
@@ -46,7 +46,7 @@ private:
 
 #endif
 //
-// File trailer for LinearFMWaveform.h
+// File trailer for LinearFMWaveform302.h
 //
 // [EOF]
 //

+ 2 - 2
SigGen/Radar302/RadarSignalGenerator302.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator302.h"
-#include "LinearFMWaveform.h"
+#include "LinearFMWaveform302.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -31,7 +31,7 @@ void RadarSignalGenerator302(coder::array<double, 1U> &sig, double *fs,
 {
   static creal_T xt[60000];
   static double b_xt[60000];
-  coder::phased::LinearFMWaveform wavGen;
+  coder::phased::LinearFMWaveform302 wavGen;
   double idx;
   int i;
   int ii;

+ 8 - 8
SigGen/Radar303/LinearFMWaveform.cpp → SigGen/Radar303/LinearFMWaveform303.cpp

@@ -2,24 +2,24 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: LinearFMWaveform.cpp
+// File: LinearFMWaveform303.cpp
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:02:16
 //
 
 // Include Files
-#include "LinearFMWaveform.h"
+#include "LinearFMWaveform303.h"
 #include <cmath>
 
 // Function Definitions
 //
 // Arguments    : void
-// Return Type  : LinearFMWaveform
+// Return Type  : LinearFMWaveform303
 //
 namespace coder {
 namespace phased {
-LinearFMWaveform::LinearFMWaveform()
+LinearFMWaveform303::LinearFMWaveform303()
 {
   matlabCodegenIsDeleted = true;
 }
@@ -28,7 +28,7 @@ LinearFMWaveform::LinearFMWaveform()
 // Arguments    : void
 // Return Type  : void
 //
-LinearFMWaveform::~LinearFMWaveform()
+LinearFMWaveform303::~LinearFMWaveform303()
 {
   matlabCodegenDestructor();
 }
@@ -37,7 +37,7 @@ LinearFMWaveform::~LinearFMWaveform()
 // Arguments    : creal_T wav[10000]
 // Return Type  : void
 //
-void LinearFMWaveform::getMatchingWaveform(creal_T wav[10000])
+void LinearFMWaveform303::getMatchingWaveform(creal_T wav[10000])
 {
   static const double a[10000]{
       0.0,      5.0E-11,   1.0E-10,  1.5E-10,   2.0E-10,  2.5E-10,
@@ -1731,7 +1731,7 @@ void LinearFMWaveform::getMatchingWaveform(creal_T wav[10000])
 // Arguments    : void
 // Return Type  : void
 //
-void LinearFMWaveform::matlabCodegenDestructor()
+void LinearFMWaveform303::matlabCodegenDestructor()
 {
   if (!matlabCodegenIsDeleted) {
     matlabCodegenIsDeleted = true;
@@ -1745,7 +1745,7 @@ void LinearFMWaveform::matlabCodegenDestructor()
 } // namespace coder
 
 //
-// File trailer for LinearFMWaveform.cpp
+// File trailer for LinearFMWaveform303.cpp
 //
 // [EOF]
 //

+ 7 - 7
SigGen/Radar303/LinearFMWaveform.h → SigGen/Radar303/LinearFMWaveform303.h

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: LinearFMWaveform.h
+// File: LinearFMWaveform303.h
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:02:16
 //
 
-#ifndef LINEARFMWAVEFORM_H
-#define LINEARFMWAVEFORM_H
+#ifndef LinearFMWaveform303_H
+#define LinearFMWaveform303_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,12 +19,12 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class LinearFMWaveform {
+class LinearFMWaveform303 {
 public:
   void matlabCodegenDestructor();
   static void getMatchingWaveform(creal_T wav[10000]);
-  ~LinearFMWaveform();
-  LinearFMWaveform();
+  ~LinearFMWaveform303();
+  LinearFMWaveform303();
   boolean_T matlabCodegenIsDeleted;
   int isInitialized;
   boolean_T isSetupComplete;
@@ -37,7 +37,7 @@ public:
 
 #endif
 //
-// File trailer for LinearFMWaveform.h
+// File trailer for LinearFMWaveform303.h
 //
 // [EOF]
 //

+ 4 - 4
SigGen/Radar303/RadarSignalGenerator303.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator303.h"
-#include "LinearFMWaveform.h"
+#include "LinearFMWaveform303.h"
 #include "../coder_array.h"
 #include <algorithm>
 #include <cmath>
@@ -32,7 +32,7 @@ void RadarSignalGenerator303(coder::array<double, 1U> &sig, double *fs,
 {
   static creal_T xt[40000];
   static double b_xt[40000];
-  coder::phased::LinearFMWaveform wavGen;
+  coder::phased::LinearFMWaveform303 wavGen;
   creal_T unusedExpr[10000];
   double idx;
   int i;
@@ -66,9 +66,9 @@ void RadarSignalGenerator303(coder::array<double, 1U> &sig, double *fs,
       wavGen.pOutputPulseInterval[1] = 1.0;
     }
     std::memset(&xt[0], 0, 40000U * sizeof(creal_T));
-    coder::phased::LinearFMWaveform::getMatchingWaveform(unusedExpr);
+    coder::phased::LinearFMWaveform303::getMatchingWaveform(unusedExpr);
     std::copy(&unusedExpr[0], &unusedExpr[10000], &xt[0]);
-    coder::phased::LinearFMWaveform::getMatchingWaveform(unusedExpr);
+    coder::phased::LinearFMWaveform303::getMatchingWaveform(unusedExpr);
     //  载波调制
     b_xt[0] = 0.0;
     b_xt[39999] = 1.99995E-6;

+ 4 - 4
SigGen/Radar401/FMCWWaveform.cpp → SigGen/Radar401/FMCWWaveform401.cpp

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: FMCWWaveform.cpp
+// File: FMCWWaveform401.cpp
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:06:45
 //
 
 // Include Files
-#include "FMCWWaveform.h"
+#include "FMCWWaveform401.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -22,7 +22,7 @@
 //
 namespace coder {
 namespace phased {
-void FMCWWaveform::setupImpl()
+void FMCWWaveform401::setupImpl()
 {
   static const double dv[3]{2.0E-6, 3.0E-6, 4.0E-6};
   array<creal_T, 1U> r1;
@@ -123,7 +123,7 @@ void FMCWWaveform::setupImpl()
 } // namespace coder
 
 //
-// File trailer for FMCWWaveform.cpp
+// File trailer for FMCWWaveform401.cpp
 //
 // [EOF]
 //

+ 5 - 5
SigGen/Radar401/FMCWWaveform.h → SigGen/Radar401/FMCWWaveform401.h

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: FMCWWaveform.h
+// File: FMCWWaveform401.h
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:06:45
 //
 
-#ifndef FMCWWAVEFORM_H
-#define FMCWWAVEFORM_H
+#ifndef FMCWWaveform401_H
+#define FMCWWaveform401_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,7 +19,7 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class FMCWWaveform {
+class FMCWWaveform401 {
 public:
   void setupImpl();
   int isInitialized;
@@ -33,7 +33,7 @@ public:
 
 #endif
 //
-// File trailer for FMCWWaveform.h
+// File trailer for FMCWWaveform401.h
 //
 // [EOF]
 //

+ 2 - 2
SigGen/Radar401/RadarSignalGenerator401.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator401.h"
-#include "FMCWWaveform.h"
+#include "FMCWWaveform401.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -76,7 +76,7 @@ static void times(coder::array<creal_T, 1U> &xt,
 void RadarSignalGenerator401(coder::array<double, 1U> &sig, double *fs,
                              double PRF[3], double *len)
 {
-  static coder::phased::FMCWWaveform wavGen;
+  static coder::phased::FMCWWaveform401 wavGen;
   static const int iv[3]{1, 40001, 100001};
   static const int iv1[3]{40000, 100000, 180000};
   coder::array<creal_T, 1U> r1;

+ 4 - 4
SigGen/Radar402/FMCWWaveform.cpp → SigGen/Radar402/FMCWWaveform402.cpp

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: FMCWWaveform.cpp
+// File: FMCWWaveform402.cpp
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:11:07
 //
 
 // Include Files
-#include "FMCWWaveform.h"
+#include "FMCWWaveform402.h"
 #include "../rt_nonfinite.h"
 #include <algorithm>
 #include <cmath>
@@ -23,7 +23,7 @@ namespace coder
 {
   namespace phased
   {
-    void FMCWWaveform::step(creal_T varargout_1[60000])
+    void FMCWWaveform402::step(creal_T varargout_1[60000])
     {
       static const double a[60000]{ 0.0, 5.0E-11, 1.0E-10, 1.5E-10, 2.0E-10,
         2.5E-10, 3.0E-10, 3.5E-10, 4.0E-10, 4.5E-10, 5.0E-10, 5.5E-10, 6.0E-10,
@@ -9596,7 +9596,7 @@ namespace coder
 }
 
 //
-// File trailer for FMCWWaveform.cpp
+// File trailer for FMCWWaveform402.cpp
 //
 // [EOF]
 //

+ 5 - 5
SigGen/Radar402/FMCWWaveform.h → SigGen/Radar402/FMCWWaveform402.h

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: FMCWWaveform.h
+// File: FMCWWaveform402.h
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:11:07
 //
 
-#ifndef FMCWWAVEFORM_H
-#define FMCWWAVEFORM_H
+#ifndef FMCWWaveform402_H
+#define FMCWWaveform402_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,7 +19,7 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class FMCWWaveform {
+class FMCWWaveform402 {
 public:
   void step(creal_T varargout_1[60000]);
   int isInitialized;
@@ -35,7 +35,7 @@ private:
 
 #endif
 //
-// File trailer for FMCWWaveform.h
+// File trailer for FMCWWaveform402.h
 //
 // [EOF]
 //

+ 2 - 2
SigGen/Radar402/RadarSignalGenerator402.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator402.h"
-#include "FMCWWaveform.h"
+#include "FMCWWaveform402.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -29,7 +29,7 @@
 void RadarSignalGenerator402(coder::array<double, 1U> &sig, double *fs,
                              double *PRF, double *len)
 {
-  static coder::phased::FMCWWaveform wavGen;
+  static coder::phased::FMCWWaveform402 wavGen;
   static creal_T xt[60000];
   static double b_xt[60000];
   double idx;

+ 4 - 4
SigGen/Radar403/FMCWWaveform.cpp → SigGen/Radar403/FMCWWaveform403.cpp

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: FMCWWaveform.cpp
+// File: FMCWWaveform403.cpp
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:13:52
 //
 
 // Include Files
-#include "FMCWWaveform.h"
+#include "FMCWWaveform403.h"
 #include "../rt_nonfinite.h"
 #include <algorithm>
 #include <cmath>
@@ -23,7 +23,7 @@ namespace coder
 {
   namespace phased
   {
-    void FMCWWaveform::step(creal_T varargout_1[40000])
+    void FMCWWaveform403::step(creal_T varargout_1[40000])
     {
       static const double a[40000]{ 0.0, 5.0E-11, 1.0E-10, 1.5E-10, 2.0E-10,
         2.5E-10, 3.0E-10, 3.5E-10, 4.0E-10, 4.5E-10, 5.0E-10, 5.5E-10, 6.0E-10,
@@ -6263,7 +6263,7 @@ namespace coder
 }
 
 //
-// File trailer for FMCWWaveform.cpp
+// File trailer for FMCWWaveform403.cpp
 //
 // [EOF]
 //

+ 5 - 5
SigGen/Radar403/FMCWWaveform.h → SigGen/Radar403/FMCWWaveform403.h

@@ -2,14 +2,14 @@
 // Academic License - for use in teaching, academic research, and meeting
 // course requirements at degree granting institutions only.  Not for
 // government, commercial, or other organizational use.
-// File: FMCWWaveform.h
+// File: FMCWWaveform403.h
 //
 // MATLAB Coder version            : 5.3
 // C/C++ source code generated on  : 27-Apr-2023 00:13:52
 //
 
-#ifndef FMCWWAVEFORM_H
-#define FMCWWAVEFORM_H
+#ifndef FMCWWaveform403_H
+#define FMCWWaveform403_H
 
 // Include Files
 #include "../rtwtypes.h"
@@ -19,7 +19,7 @@
 // Type Definitions
 namespace coder {
 namespace phased {
-class FMCWWaveform {
+class FMCWWaveform403 {
 public:
   void step(creal_T varargout_1[40000]);
   int isInitialized;
@@ -35,7 +35,7 @@ private:
 
 #endif
 //
-// File trailer for FMCWWaveform.h
+// File trailer for FMCWWaveform403.h
 //
 // [EOF]
 //

+ 2 - 2
SigGen/Radar403/RadarSignalGenerator403.cpp

@@ -10,7 +10,7 @@
 
 // Include Files
 #include "RadarSignalGenerator403.h"
-#include "FMCWWaveform.h"
+#include "FMCWWaveform403.h"
 #include "../rt_nonfinite.h"
 #include "../coder_array.h"
 #include <cmath>
@@ -29,7 +29,7 @@
 void RadarSignalGenerator403(coder::array<double, 1U> &sig, double *fs,
                              double *PRF, double *len)
 {
-  static coder::phased::FMCWWaveform wavGen;
+  static coder::phased::FMCWWaveform403 wavGen;
   static creal_T xt[40000];
   static double b_xt[40000];
   double idx;