Code covered by the BSD License  

Highlights from
Comparison of C++ and MATLAB Using Object Oriented Application Example

image thumbnail

Comparison of C++ and MATLAB Using Object Oriented Application Example

by

 

28 Feb 2008 (Updated )

Wireless Communications Application Example Used to Compare C++ and MATLABĀ® Code

Channel
% Channel Class
%
% Copyright 2008-2009 The MathWorks, Inc

% C++ Code
%{
#include <math.h>
#include "basetype.h"
#include "util.h"
class Channel {
Channel::Channel()
{
}
\\ No constructor required in MATLAB if does nothing
%}

% This class is not necessary, but included here to match C++ code
classdef Channel < handle
end

Contact us