// // 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: RectangularWaveform.cpp // // MATLAB Coder version : 5.3 // C/C++ source code generated on : 26-Apr-2023 23:41:22 // // Include Files #include "RectangularWaveform103.h" // Function Definitions // // Arguments : void // Return Type : RectangularWaveform // namespace coder { namespace phased { RectangularWaveform103::RectangularWaveform103() { matlabCodegenIsDeleted = true; } // // Arguments : void // Return Type : void // RectangularWaveform103::~RectangularWaveform103() { matlabCodegenDestructor(); } // // Arguments : creal_T s[10000] // Return Type : void // void RectangularWaveform103::getMatchingWaveform(creal_T s[10000]) { for (int k{0}; k < 10000; k++) { s[k].re = 1.0; s[k].im = 0.0; } } // // Arguments : void // Return Type : void // void RectangularWaveform103::matlabCodegenDestructor() { if (!matlabCodegenIsDeleted) { matlabCodegenIsDeleted = true; if (isInitialized == 1) { isInitialized = 2; } } } } // namespace phased } // namespace coder // // File trailer for RectangularWaveform.cpp // // [EOF] //