Category: Matlab
Category Archives: Matlab
Font size of command window is much larger than the one in Editor
I recently started using MATLAB R2024a on my new MacBook. Strangely, the font size of command window is much larger than the one in the Editor. The image below shows the screenshot of my MATLAB:
I found a relevant document in Zoom and Change Desktop Fonts – MATLAB & Simulink (mathworks.com) about the font size:
"By default, the code font is set to monospaced to preserve vertical alignment. When the font is set to monospaced, the actual displayed font in the Editor is different than the font displayed in the Command Window and Command History. This is because monospaced is a logical font, not a physical font. To avoid this discrepancy, specify the font name as a physical font, for example, Courier New."
Following the recommendation, I changed my font to Courier New, but it didn’t solve the problem. I also suspected that it may have something to do with the MATRLAB color schemer I’m using, so I turned it off and restarted MATLAB, but it didn’t solve the problem either. Could anyone give me some advice?I recently started using MATLAB R2024a on my new MacBook. Strangely, the font size of command window is much larger than the one in the Editor. The image below shows the screenshot of my MATLAB:
I found a relevant document in Zoom and Change Desktop Fonts – MATLAB & Simulink (mathworks.com) about the font size:
"By default, the code font is set to monospaced to preserve vertical alignment. When the font is set to monospaced, the actual displayed font in the Editor is different than the font displayed in the Command Window and Command History. This is because monospaced is a logical font, not a physical font. To avoid this discrepancy, specify the font name as a physical font, for example, Courier New."
Following the recommendation, I changed my font to Courier New, but it didn’t solve the problem. I also suspected that it may have something to do with the MATRLAB color schemer I’m using, so I turned it off and restarted MATLAB, but it didn’t solve the problem either. Could anyone give me some advice? I recently started using MATLAB R2024a on my new MacBook. Strangely, the font size of command window is much larger than the one in the Editor. The image below shows the screenshot of my MATLAB:
I found a relevant document in Zoom and Change Desktop Fonts – MATLAB & Simulink (mathworks.com) about the font size:
"By default, the code font is set to monospaced to preserve vertical alignment. When the font is set to monospaced, the actual displayed font in the Editor is different than the font displayed in the Command Window and Command History. This is because monospaced is a logical font, not a physical font. To avoid this discrepancy, specify the font name as a physical font, for example, Courier New."
Following the recommendation, I changed my font to Courier New, but it didn’t solve the problem. I also suspected that it may have something to do with the MATRLAB color schemer I’m using, so I turned it off and restarted MATLAB, but it didn’t solve the problem either. Could anyone give me some advice? font size MATLAB Answers — New Questions
Plot frequency responses based on the ODE results
Hello all,
I would like to plot the frequency responses based on the ode results to see the behaviors of the system. I have already established the state-space model for my ode equations. Additionally, I use ss2tf to get the transfer fucntion. Now I am to plot the frequency responses of all degrees of freedom on one figure. However, ‘freqz’ does not work in my case.
I checked the details from turtorial. unfortunately, I failed. I hope you can help me with this. My codes can be seen in the following. I appreciate your help.
clear; clc;
global all_F
global ex_F
all_F = [];
ex_F = [];
syms z_T
h_f = 150;
h_R = 144.582; % m the height from the MSL to tower top;
H_T = 129.582; % m tower height from the tower bottom;
h_T = 15; % m height from tower base to tower bottom;
h = 29.94;
h_1 = 164.94;
z = 14.94; % m the distance from rotational centre to mooring line
h_t = 92.61; % m the distance from the centre of gravity of tower to rotational centre
h_p = 14.94; % m the distance from the centre of gravity of platform to rotational centre
g = 9.81;
m = 20093000; % kg /total mass
m_T = 1.263e5; % 8.6e5; % kg / tower
m_N = 1.017e6; % kg / nacelle
m_p = 1.7838e7; % kg /platform mass
xi_TA = 0.01;
I_p = 1.2507*10^10;% kg m2 /mass moment of inertia of platform
m_as = 9.64*10^6; % kg / Added mass for platform surge
I_a = 1.16*10^10; % kg m2 / Added mass for platform pitch
m_asp = -1.01*10^8; % kg m / Coupling effects of added mass bewteen surge and pitch
c_s = 7.94e4; % N s2/m2 / damping in surge motion (x-axis translation)
c_sp = -2.25e5; % coupled damping value between surge and platform pitch
c_p = 5.60e8; % damping in pitch motionS 5
k_p = 2.190e9; % rotational stiffness of platform
k_mooringS = 7.965e4;
k_mooringSP = 1.162e6;
k_mooringP = 2.65e8;
tspan = 0:0.025:200;
% definition of TMD parameters
X0 = [0 0 10*pi/180 0 0 0]’; % initial pitch motion
% ==================== definition of the tower properties===============
mu = 0.0084*z_T^3-1.077*z_T^2-171.5*z_T+2.94e04; % mass per length
EI = 1.905e06*z_T^3-2.47e08*z_T^2-5.208e10*z_T+6.851e12; % tower bending stiffness
Phi_TA = 0.9414*(z_T/H_T)^2+0.3468*(z_T/H_T)^3-1.073*(z_T/H_T)^4+1.3139*(z_T/H_T)^5-0.5289*(z_T/H_T)^6; % tower fore-aft first mode shape
% mass component
fun1 = mu*Phi_TA^2; m_TA = double(int(fun1,z_T,0,H_T));
fun2 = mu*Phi_TA; m_1 = double(int(fun2,z_T,0,H_T));
fun3 = mu*(z_T)*Phi_TA; m_2 = double(int(fun3,z_T,0,H_T));
fun4 = mu*(z_T); m_3 = double(int(fun4,z_T,0,H_T));
fun5 = mu*(z_T)^2; m_4 = double(int(fun5,z_T,0,H_T));
% fun6 = mu; m_T = double(int(fun6,z_T,0,H_T));
% Stiffness of the tower
D2y = diff(Phi_TA,z_T,2); Dy = diff(Phi_TA,z_T,1);
fun6 = EI*D2y^2; f1 = int(fun6,0,H_T);
fun7 = mu; f2 = int(fun7,z_T,H_T);
fun8 = g*(m_N+f2)*Dy^2; f3 = int(fun8,0,H_T);
k_TA = double(f1-f3);
% ================= definition of matrices ======================
M = [m_N+m_TA m_N+m_1 m_N*h_R+m_2;
m_N+m_1 m_N+m_p+m_T (m_N*h_R-m_p*h_p+m_3+m_T*h_T);
m_N*h_R+m_2 (m_N*h_R-m_p*h_p+m_3) m_N*h_R^2+I_p+m_4];
C = [2*xi_TA*sqrt(m_TA*k_TA) 0 0;
0 0 0;
0 0 0];
K = [k_TA 0 -(m_N+m_T)*g;
0 0 0;
-(m_N+m_T)*g 0 -(m_N*h_R+m_3-m_p*h_p)*g];
M_add = [0 0 0;
0 m_as m_asp;
0 m_asp I_a];
C_add = [0 0 0; % problem_
0 c_s c_sp;
0 c_sp c_p];
K_add = [0 0 0;
0 0 0;
0 0 k_p];
K_mooring = [0 0 0;
0 k_mooringS k_mooringSP;
0 k_mooringSP k_mooringP];
M_1 = M+M_add;
K_1 = K+K_mooring+K_add;
C_1 = C+C_add;
% state space model————–
O = zeros(3,3);
O1 = zeros(3,1);
N = ones(3,1);
I = eye(3);
A = [O I;-inv(M_1)*K_1 -inv(M_1)*C_1];
B = [O O; O inv(M_1)];
E = [I O; O O];
D = zeros(6);
% the forces and moments are extracted from Orcaflex
options = odeset(‘RelTol’,1e-10,’AbsTol’,1e-10);
[t,X] = ode45(@(t,X) reducedmodel(t,A,B,X),tspan,X0,options);
[b,a] = ss2tf(A,B,E,D,1);
PtfmPitch_deg = X(:,3)*180/pi;
figure,
subplot(3,1,1), plot(t,X(:,1)),grid, xlabel(‘time/ s’), ylabel(‘TTDspFA/ m’)
subplot(3,1,2), plot(t,X(:,2)),grid, xlabel(‘time/ s’), ylabel(‘surge/ m’)
subplot(3,1,3), plot(t,PtfmPitch_deg),grid, xlabel(‘time/ s’), ylabel(‘platform pitch/ deg’)
function dXdt = reducedmodel(t,A,B,X)
coes = 9.225e5;
coesp = 8.92e6;
coep = 1.68e10;
F1 = -(coes*X(5)*abs(X(5))-coesp*X(6)*abs(X(6)));
F2 = -(coep*X(6)*abs(X(6))-coesp*X(5)*abs(X(5)));
F=[0;0;0;0;F1;F2];
dXdt = A*X+B*F;
disp(t)
end
Best wishes,
YuHello all,
I would like to plot the frequency responses based on the ode results to see the behaviors of the system. I have already established the state-space model for my ode equations. Additionally, I use ss2tf to get the transfer fucntion. Now I am to plot the frequency responses of all degrees of freedom on one figure. However, ‘freqz’ does not work in my case.
I checked the details from turtorial. unfortunately, I failed. I hope you can help me with this. My codes can be seen in the following. I appreciate your help.
clear; clc;
global all_F
global ex_F
all_F = [];
ex_F = [];
syms z_T
h_f = 150;
h_R = 144.582; % m the height from the MSL to tower top;
H_T = 129.582; % m tower height from the tower bottom;
h_T = 15; % m height from tower base to tower bottom;
h = 29.94;
h_1 = 164.94;
z = 14.94; % m the distance from rotational centre to mooring line
h_t = 92.61; % m the distance from the centre of gravity of tower to rotational centre
h_p = 14.94; % m the distance from the centre of gravity of platform to rotational centre
g = 9.81;
m = 20093000; % kg /total mass
m_T = 1.263e5; % 8.6e5; % kg / tower
m_N = 1.017e6; % kg / nacelle
m_p = 1.7838e7; % kg /platform mass
xi_TA = 0.01;
I_p = 1.2507*10^10;% kg m2 /mass moment of inertia of platform
m_as = 9.64*10^6; % kg / Added mass for platform surge
I_a = 1.16*10^10; % kg m2 / Added mass for platform pitch
m_asp = -1.01*10^8; % kg m / Coupling effects of added mass bewteen surge and pitch
c_s = 7.94e4; % N s2/m2 / damping in surge motion (x-axis translation)
c_sp = -2.25e5; % coupled damping value between surge and platform pitch
c_p = 5.60e8; % damping in pitch motionS 5
k_p = 2.190e9; % rotational stiffness of platform
k_mooringS = 7.965e4;
k_mooringSP = 1.162e6;
k_mooringP = 2.65e8;
tspan = 0:0.025:200;
% definition of TMD parameters
X0 = [0 0 10*pi/180 0 0 0]’; % initial pitch motion
% ==================== definition of the tower properties===============
mu = 0.0084*z_T^3-1.077*z_T^2-171.5*z_T+2.94e04; % mass per length
EI = 1.905e06*z_T^3-2.47e08*z_T^2-5.208e10*z_T+6.851e12; % tower bending stiffness
Phi_TA = 0.9414*(z_T/H_T)^2+0.3468*(z_T/H_T)^3-1.073*(z_T/H_T)^4+1.3139*(z_T/H_T)^5-0.5289*(z_T/H_T)^6; % tower fore-aft first mode shape
% mass component
fun1 = mu*Phi_TA^2; m_TA = double(int(fun1,z_T,0,H_T));
fun2 = mu*Phi_TA; m_1 = double(int(fun2,z_T,0,H_T));
fun3 = mu*(z_T)*Phi_TA; m_2 = double(int(fun3,z_T,0,H_T));
fun4 = mu*(z_T); m_3 = double(int(fun4,z_T,0,H_T));
fun5 = mu*(z_T)^2; m_4 = double(int(fun5,z_T,0,H_T));
% fun6 = mu; m_T = double(int(fun6,z_T,0,H_T));
% Stiffness of the tower
D2y = diff(Phi_TA,z_T,2); Dy = diff(Phi_TA,z_T,1);
fun6 = EI*D2y^2; f1 = int(fun6,0,H_T);
fun7 = mu; f2 = int(fun7,z_T,H_T);
fun8 = g*(m_N+f2)*Dy^2; f3 = int(fun8,0,H_T);
k_TA = double(f1-f3);
% ================= definition of matrices ======================
M = [m_N+m_TA m_N+m_1 m_N*h_R+m_2;
m_N+m_1 m_N+m_p+m_T (m_N*h_R-m_p*h_p+m_3+m_T*h_T);
m_N*h_R+m_2 (m_N*h_R-m_p*h_p+m_3) m_N*h_R^2+I_p+m_4];
C = [2*xi_TA*sqrt(m_TA*k_TA) 0 0;
0 0 0;
0 0 0];
K = [k_TA 0 -(m_N+m_T)*g;
0 0 0;
-(m_N+m_T)*g 0 -(m_N*h_R+m_3-m_p*h_p)*g];
M_add = [0 0 0;
0 m_as m_asp;
0 m_asp I_a];
C_add = [0 0 0; % problem_
0 c_s c_sp;
0 c_sp c_p];
K_add = [0 0 0;
0 0 0;
0 0 k_p];
K_mooring = [0 0 0;
0 k_mooringS k_mooringSP;
0 k_mooringSP k_mooringP];
M_1 = M+M_add;
K_1 = K+K_mooring+K_add;
C_1 = C+C_add;
% state space model————–
O = zeros(3,3);
O1 = zeros(3,1);
N = ones(3,1);
I = eye(3);
A = [O I;-inv(M_1)*K_1 -inv(M_1)*C_1];
B = [O O; O inv(M_1)];
E = [I O; O O];
D = zeros(6);
% the forces and moments are extracted from Orcaflex
options = odeset(‘RelTol’,1e-10,’AbsTol’,1e-10);
[t,X] = ode45(@(t,X) reducedmodel(t,A,B,X),tspan,X0,options);
[b,a] = ss2tf(A,B,E,D,1);
PtfmPitch_deg = X(:,3)*180/pi;
figure,
subplot(3,1,1), plot(t,X(:,1)),grid, xlabel(‘time/ s’), ylabel(‘TTDspFA/ m’)
subplot(3,1,2), plot(t,X(:,2)),grid, xlabel(‘time/ s’), ylabel(‘surge/ m’)
subplot(3,1,3), plot(t,PtfmPitch_deg),grid, xlabel(‘time/ s’), ylabel(‘platform pitch/ deg’)
function dXdt = reducedmodel(t,A,B,X)
coes = 9.225e5;
coesp = 8.92e6;
coep = 1.68e10;
F1 = -(coes*X(5)*abs(X(5))-coesp*X(6)*abs(X(6)));
F2 = -(coep*X(6)*abs(X(6))-coesp*X(5)*abs(X(5)));
F=[0;0;0;0;F1;F2];
dXdt = A*X+B*F;
disp(t)
end
Best wishes,
Yu Hello all,
I would like to plot the frequency responses based on the ode results to see the behaviors of the system. I have already established the state-space model for my ode equations. Additionally, I use ss2tf to get the transfer fucntion. Now I am to plot the frequency responses of all degrees of freedom on one figure. However, ‘freqz’ does not work in my case.
I checked the details from turtorial. unfortunately, I failed. I hope you can help me with this. My codes can be seen in the following. I appreciate your help.
clear; clc;
global all_F
global ex_F
all_F = [];
ex_F = [];
syms z_T
h_f = 150;
h_R = 144.582; % m the height from the MSL to tower top;
H_T = 129.582; % m tower height from the tower bottom;
h_T = 15; % m height from tower base to tower bottom;
h = 29.94;
h_1 = 164.94;
z = 14.94; % m the distance from rotational centre to mooring line
h_t = 92.61; % m the distance from the centre of gravity of tower to rotational centre
h_p = 14.94; % m the distance from the centre of gravity of platform to rotational centre
g = 9.81;
m = 20093000; % kg /total mass
m_T = 1.263e5; % 8.6e5; % kg / tower
m_N = 1.017e6; % kg / nacelle
m_p = 1.7838e7; % kg /platform mass
xi_TA = 0.01;
I_p = 1.2507*10^10;% kg m2 /mass moment of inertia of platform
m_as = 9.64*10^6; % kg / Added mass for platform surge
I_a = 1.16*10^10; % kg m2 / Added mass for platform pitch
m_asp = -1.01*10^8; % kg m / Coupling effects of added mass bewteen surge and pitch
c_s = 7.94e4; % N s2/m2 / damping in surge motion (x-axis translation)
c_sp = -2.25e5; % coupled damping value between surge and platform pitch
c_p = 5.60e8; % damping in pitch motionS 5
k_p = 2.190e9; % rotational stiffness of platform
k_mooringS = 7.965e4;
k_mooringSP = 1.162e6;
k_mooringP = 2.65e8;
tspan = 0:0.025:200;
% definition of TMD parameters
X0 = [0 0 10*pi/180 0 0 0]’; % initial pitch motion
% ==================== definition of the tower properties===============
mu = 0.0084*z_T^3-1.077*z_T^2-171.5*z_T+2.94e04; % mass per length
EI = 1.905e06*z_T^3-2.47e08*z_T^2-5.208e10*z_T+6.851e12; % tower bending stiffness
Phi_TA = 0.9414*(z_T/H_T)^2+0.3468*(z_T/H_T)^3-1.073*(z_T/H_T)^4+1.3139*(z_T/H_T)^5-0.5289*(z_T/H_T)^6; % tower fore-aft first mode shape
% mass component
fun1 = mu*Phi_TA^2; m_TA = double(int(fun1,z_T,0,H_T));
fun2 = mu*Phi_TA; m_1 = double(int(fun2,z_T,0,H_T));
fun3 = mu*(z_T)*Phi_TA; m_2 = double(int(fun3,z_T,0,H_T));
fun4 = mu*(z_T); m_3 = double(int(fun4,z_T,0,H_T));
fun5 = mu*(z_T)^2; m_4 = double(int(fun5,z_T,0,H_T));
% fun6 = mu; m_T = double(int(fun6,z_T,0,H_T));
% Stiffness of the tower
D2y = diff(Phi_TA,z_T,2); Dy = diff(Phi_TA,z_T,1);
fun6 = EI*D2y^2; f1 = int(fun6,0,H_T);
fun7 = mu; f2 = int(fun7,z_T,H_T);
fun8 = g*(m_N+f2)*Dy^2; f3 = int(fun8,0,H_T);
k_TA = double(f1-f3);
% ================= definition of matrices ======================
M = [m_N+m_TA m_N+m_1 m_N*h_R+m_2;
m_N+m_1 m_N+m_p+m_T (m_N*h_R-m_p*h_p+m_3+m_T*h_T);
m_N*h_R+m_2 (m_N*h_R-m_p*h_p+m_3) m_N*h_R^2+I_p+m_4];
C = [2*xi_TA*sqrt(m_TA*k_TA) 0 0;
0 0 0;
0 0 0];
K = [k_TA 0 -(m_N+m_T)*g;
0 0 0;
-(m_N+m_T)*g 0 -(m_N*h_R+m_3-m_p*h_p)*g];
M_add = [0 0 0;
0 m_as m_asp;
0 m_asp I_a];
C_add = [0 0 0; % problem_
0 c_s c_sp;
0 c_sp c_p];
K_add = [0 0 0;
0 0 0;
0 0 k_p];
K_mooring = [0 0 0;
0 k_mooringS k_mooringSP;
0 k_mooringSP k_mooringP];
M_1 = M+M_add;
K_1 = K+K_mooring+K_add;
C_1 = C+C_add;
% state space model————–
O = zeros(3,3);
O1 = zeros(3,1);
N = ones(3,1);
I = eye(3);
A = [O I;-inv(M_1)*K_1 -inv(M_1)*C_1];
B = [O O; O inv(M_1)];
E = [I O; O O];
D = zeros(6);
% the forces and moments are extracted from Orcaflex
options = odeset(‘RelTol’,1e-10,’AbsTol’,1e-10);
[t,X] = ode45(@(t,X) reducedmodel(t,A,B,X),tspan,X0,options);
[b,a] = ss2tf(A,B,E,D,1);
PtfmPitch_deg = X(:,3)*180/pi;
figure,
subplot(3,1,1), plot(t,X(:,1)),grid, xlabel(‘time/ s’), ylabel(‘TTDspFA/ m’)
subplot(3,1,2), plot(t,X(:,2)),grid, xlabel(‘time/ s’), ylabel(‘surge/ m’)
subplot(3,1,3), plot(t,PtfmPitch_deg),grid, xlabel(‘time/ s’), ylabel(‘platform pitch/ deg’)
function dXdt = reducedmodel(t,A,B,X)
coes = 9.225e5;
coesp = 8.92e6;
coep = 1.68e10;
F1 = -(coes*X(5)*abs(X(5))-coesp*X(6)*abs(X(6)));
F2 = -(coep*X(6)*abs(X(6))-coesp*X(5)*abs(X(5)));
F=[0;0;0;0;F1;F2];
dXdt = A*X+B*F;
disp(t)
end
Best wishes,
Yu ode45, frequency, transfer function MATLAB Answers — New Questions
How can you update plot data from properties in an object?
I am new to OOP, and would like to plot changing data in an object as various methods are called that change the properties in the object. I have tried using linkdata – however it appears that this doesn’t work across methods.
Is there a way to update the plot without re-plotting the figure?
sections of my code:
classdef VarStiffTDCR
properties (Constant)
F0 = [0 0 1;
0 1 0;
0 0 1];
P0 = [0 0 0]’;
end
properties
%*** some properties defined here ***
end
methods
function obj = VarStiffTDCR(L,N_seg,N_pts,K_soft,K_hard,offsets)
%*** some properties initialized here ***
% Here I am plotting something based on the properties
% initialized above.
obj.figHan = figure(‘Name’,’CR Plot’);
linkdata on
obj = Fkin(obj,0); % Run forward Kinematics to initialize shape.
for j = 1:obj.N_seg
indices = ((j-1)*obj.N_pts/obj.N_seg+1):(j*obj.N_pts/obj.N_seg);
plot3(obj.P(1,indices),obj.P(2,indices),obj.P(3,indices),Color=[(.9*obj.soft(j)) .1 (.9-.9*obj.soft(j))])
end
axis equal
grid on
xlabel(‘X [mm]’);
ylabel(‘Y [mm]’);
zlabel(‘Z [mm]’);
end
%*** some other methods here ***
function obj = Fkin(obj,plotOn)
% This code updates P which contains the data in the plot
ds = obj.L/(obj.N_pts-1);
for j = 1:obj.N_seg
for i = ((j-1)*obj.N_pts/obj.N_seg+1):j*obj.N_pts/obj.N_seg
if i == 1
obj.BFs(:,:,i) = [0 0 1;
0 1 0;
1 0 0];
obj.P(:,i) = [0 0 0]’;
else
obj.BFs(:,:,i) = obj.BFs(:,:,i-1) + ds.*[0 obj.kx(1) obj.ky(1); -obj.kx(1) 0 0; -obj.ky(1) 0 0]*obj.BFs(:,:,i-1);
obj.P(:,i) = obj.P(:,i-1) + ds*obj.BFs(1,:,i-1)’;
end
end
end
if plotOn
% Here I would like the plot to update with the new values in
% P, without having to replot.
figure(obj.figHan)
refreshdata
drawnow
end
endI am new to OOP, and would like to plot changing data in an object as various methods are called that change the properties in the object. I have tried using linkdata – however it appears that this doesn’t work across methods.
Is there a way to update the plot without re-plotting the figure?
sections of my code:
classdef VarStiffTDCR
properties (Constant)
F0 = [0 0 1;
0 1 0;
0 0 1];
P0 = [0 0 0]’;
end
properties
%*** some properties defined here ***
end
methods
function obj = VarStiffTDCR(L,N_seg,N_pts,K_soft,K_hard,offsets)
%*** some properties initialized here ***
% Here I am plotting something based on the properties
% initialized above.
obj.figHan = figure(‘Name’,’CR Plot’);
linkdata on
obj = Fkin(obj,0); % Run forward Kinematics to initialize shape.
for j = 1:obj.N_seg
indices = ((j-1)*obj.N_pts/obj.N_seg+1):(j*obj.N_pts/obj.N_seg);
plot3(obj.P(1,indices),obj.P(2,indices),obj.P(3,indices),Color=[(.9*obj.soft(j)) .1 (.9-.9*obj.soft(j))])
end
axis equal
grid on
xlabel(‘X [mm]’);
ylabel(‘Y [mm]’);
zlabel(‘Z [mm]’);
end
%*** some other methods here ***
function obj = Fkin(obj,plotOn)
% This code updates P which contains the data in the plot
ds = obj.L/(obj.N_pts-1);
for j = 1:obj.N_seg
for i = ((j-1)*obj.N_pts/obj.N_seg+1):j*obj.N_pts/obj.N_seg
if i == 1
obj.BFs(:,:,i) = [0 0 1;
0 1 0;
1 0 0];
obj.P(:,i) = [0 0 0]’;
else
obj.BFs(:,:,i) = obj.BFs(:,:,i-1) + ds.*[0 obj.kx(1) obj.ky(1); -obj.kx(1) 0 0; -obj.ky(1) 0 0]*obj.BFs(:,:,i-1);
obj.P(:,i) = obj.P(:,i-1) + ds*obj.BFs(1,:,i-1)’;
end
end
end
if plotOn
% Here I would like the plot to update with the new values in
% P, without having to replot.
figure(obj.figHan)
refreshdata
drawnow
end
end I am new to OOP, and would like to plot changing data in an object as various methods are called that change the properties in the object. I have tried using linkdata – however it appears that this doesn’t work across methods.
Is there a way to update the plot without re-plotting the figure?
sections of my code:
classdef VarStiffTDCR
properties (Constant)
F0 = [0 0 1;
0 1 0;
0 0 1];
P0 = [0 0 0]’;
end
properties
%*** some properties defined here ***
end
methods
function obj = VarStiffTDCR(L,N_seg,N_pts,K_soft,K_hard,offsets)
%*** some properties initialized here ***
% Here I am plotting something based on the properties
% initialized above.
obj.figHan = figure(‘Name’,’CR Plot’);
linkdata on
obj = Fkin(obj,0); % Run forward Kinematics to initialize shape.
for j = 1:obj.N_seg
indices = ((j-1)*obj.N_pts/obj.N_seg+1):(j*obj.N_pts/obj.N_seg);
plot3(obj.P(1,indices),obj.P(2,indices),obj.P(3,indices),Color=[(.9*obj.soft(j)) .1 (.9-.9*obj.soft(j))])
end
axis equal
grid on
xlabel(‘X [mm]’);
ylabel(‘Y [mm]’);
zlabel(‘Z [mm]’);
end
%*** some other methods here ***
function obj = Fkin(obj,plotOn)
% This code updates P which contains the data in the plot
ds = obj.L/(obj.N_pts-1);
for j = 1:obj.N_seg
for i = ((j-1)*obj.N_pts/obj.N_seg+1):j*obj.N_pts/obj.N_seg
if i == 1
obj.BFs(:,:,i) = [0 0 1;
0 1 0;
1 0 0];
obj.P(:,i) = [0 0 0]’;
else
obj.BFs(:,:,i) = obj.BFs(:,:,i-1) + ds.*[0 obj.kx(1) obj.ky(1); -obj.kx(1) 0 0; -obj.ky(1) 0 0]*obj.BFs(:,:,i-1);
obj.P(:,i) = obj.P(:,i-1) + ds*obj.BFs(1,:,i-1)’;
end
end
end
if plotOn
% Here I would like the plot to update with the new values in
% P, without having to replot.
figure(obj.figHan)
refreshdata
drawnow
end
end oop, plotting MATLAB Answers — New Questions
Can not deploy code to Ti C2000 control board.
Matlab can generate code to hardware. However, it can not deploy code to control board. So I can not debug the code by Matlab/Simulink.
Diagnostic shows:
=== Build (Elapsed: 2:31 min) ===
### Starting build procedure for: first_blink
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw
### Saved 11 global records: [IRInfo, procFamily, c2000TgtPrefOptions, isPIL, buildDir, filesep, subFamily, filePrefix, ProfileGenCode, targetInfo, ISCODERTARGET]
### TLC front end (took 2.075s).
### Invoking Target Language Compiler on first_blink.rtw
### Using System Target File: D:Program FilesMATLABR2024artwcertert.tlc
### Loading TLC function libraries
…….
### Initial pass through model to cache user defined code
.
### Caching model source code
……………………………..
### Writing header file first_blink_types.h
### Writing header file first_blink.h
### Writing header file rtwtypes.h
### Writing source file first_blink.c
.
### Writing header file first_blink_private.h
### Writing source file first_blink_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete (took 7.355s).
### Saving binary information cache.
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2btic2000’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
### Creating CCS Project at : C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtwCCS_Project
### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### ‘C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtwfirst_blink.mk’ is up to date
### Building ‘first_blink’: "D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=%MATLAB_ROOT% ALT_MATLAB_ROOT=%ALT_MATLAB_ROOT% MATLAB_BIN=%MATLAB_BIN% ALT_MATLAB_BIN=%ALT_MATLAB_BIN% DEPRULES=1 -j5 -f first_blink.mk all
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>call "\MM-202307250031D$Program FilesMATLABR2024abinwin64checkMATLABRootForDriveMap.exe" "\MM-202307250031D$Program FilesMATLABR2024a" 1>mlEnv.txt
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>for /F %a in (mlEnv.txt) do set "%a"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "MATLAB_ROOT=G:"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "ALT_MATLAB_ROOT=G:"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "MATLAB_BIN=G:bin"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "ALT_MATLAB_BIN=G:bin"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>cd .
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>if "all" == "" ("D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=G: ALT_MATLAB_ROOT=G: MATLAB_BIN=G:bin ALT_MATLAB_BIN=G:bin DEPRULES=1 -j5 -f first_blink.mk all ) else ("D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=G: ALT_MATLAB_ROOT=G: MATLAB_BIN=G:bin ALT_MATLAB_BIN=G:bin DEPRULES=1 -j5 -f first_blink.mk all )
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xx_csl.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xx_csl.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/MW_c28xx_csl.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xx_board.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xx_board.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/MW_c28xx_board.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="first_blink.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="first_blink.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/first_blink.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="first_blink_data.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="first_blink_data.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/first_blink_data.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDBoard_Realtime_Support.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDBoard_Realtime_Support.obj" "G:/toolbox/c2b/tic2000_shared/src/c2837xDBoard_Realtime_Support.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xGlobalInterrupts.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xGlobalInterrupts.obj" "G:/toolbox/c2b/tic2000_shared/src/MW_c28xGlobalInterrupts.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDInit.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDInit.obj" "G:/toolbox/c2b/tic2000/src/c2837xDInit.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2000HardwareTimerConfig.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2000HardwareTimerConfig.obj" "G:/toolbox/c2b/tic2000/src/c2000HardwareTimerConfig.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xGPIO.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xGPIO.obj" "G:/toolbox/c2b/tic2000_shared/src/MW_c28xGPIO.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDSchedulerTimer0.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDSchedulerTimer0.obj" "G:/toolbox/c2b/tic2000_shared/src/c2837xDSchedulerTimer0.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="ert_main.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="ert_main.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/ert_main.c"
"### Creating standalone executable "../first_blink.out" …"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi -z -IC:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/lib –stack_size=1024 –warn_sections –heap_size=1024 –reread_libs –rom_model –priority -m"first_blink.map" -l"rts2800_fpu32.lib" –define F28379D –define CPU1 –define BOOT_FROM_FLASH=1 –define BOOT_USING_BL=0 –define CPU_RAMLS_PROG_START=0x8000 –define CPU_RAMLS_PROG_LENGTH=0x1800 –define CLA_RAMLS_PROG_START=0xA000 –define CLA_RAMLS_PROG_LENGTH=0x1000 –define CLA_RAMLS_DATA_START=0x9800 –define CLA_RAMLS_DATA_LENGTH=0x800 –output_file=../first_blink.out MW_c28xx_csl.obj MW_c28xx_board.obj first_blink.obj first_blink_data.obj sysctl.obj c2837xDBoard_Realtime_Support.obj MW_c28xGlobalInterrupts.obj c2837xDInit.obj dma.obj F2837xD_CpuTimers.obj F2837xD_DefaultISR.obj F2837xD_GlobalVariableDefs.obj F2837xD_PieCtrl.obj F2837xD_PieVect.obj F2837xD_SysCtrl.obj F2837xD_usDelay.obj F2837xD_CodeStartBranch.obj F2837xD_Dma.obj F2837xD_Adc.obj F2837xD_Gpio.obj F2837xD_Ipc_Driver_Lite.obj c2000HardwareTimerConfig.obj MW_c28xGPIO.obj clb.obj memcpy_fast.obj c2837xDSchedulerTimer0.obj mw_soc_c2000_ipc.obj ert_main.obj D:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/IQmath/c28/lib/IQmath_fpu32.lib G:/toolbox/c2b/tic2000_shared/src/c2837xDPeripherals.cmd G:/toolbox/c2b/tic2000/src/c28377D.cmd
<Linking>
"### Created: ../first_blink.out"
"### Updating dependency files …"
"### Invoking postbuild tool "Hex Converter" on "../first_blink.out"…"
PowerShell -ExecutionPolicy Bypass -command "& ‘G:/toolbox/c2b/tic2000_shared/tools/PostBuildDepedency/win64/DepedencyFileUpdate.ps1’"
"### Invoking postbuild tool "DWO Converter" on "../first_blink.out"…"
C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/hex2000 -i "../first_blink.out" -o "../first_blink.hex" -order MS -romwidth 16 -q
G:/toolbox/c2b/tic2000_shared/tools/bin/win64/extractDWARF.exe "../first_blink.out"
*** Starting extraction of debug information from TI-COFF ***
Loaded : ../first_blink.out, and identified as TI-COFF
Opened : ../first_blink.dwo for write
coff -> dwo conversion completed successfully..
"### Done Invoking postbuild tool "Hex Converter" …"
"### Done Invoking postbuild tool "DWO Converter" …"
"### Done Updating dependency files …"
"### Successfully generated all binary outputs."
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>exit /B 0
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2bTIC200~3/CCS_CO~1/RUNPRO~1.JS’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2btic2000/CCS_CO~1/F28379~1.CCX’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
Initiating the executable load sequence on the target hardware using TI Code Composer Studio.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
js: Couldn’t open file "D:Program".
### Build procedure for first_blink aborted due to an error.
Top model targets built:
Model Action Rebuild Reason
=======================================================================
first_blink Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 2m 28.992s
Error:The following error occurred during deployment to your hardware board:
Error occurred during deployment to the hardware board. Check the ‘Download Executable to Hardware’ stage above for more details.Matlab can generate code to hardware. However, it can not deploy code to control board. So I can not debug the code by Matlab/Simulink.
Diagnostic shows:
=== Build (Elapsed: 2:31 min) ===
### Starting build procedure for: first_blink
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw
### Saved 11 global records: [IRInfo, procFamily, c2000TgtPrefOptions, isPIL, buildDir, filesep, subFamily, filePrefix, ProfileGenCode, targetInfo, ISCODERTARGET]
### TLC front end (took 2.075s).
### Invoking Target Language Compiler on first_blink.rtw
### Using System Target File: D:Program FilesMATLABR2024artwcertert.tlc
### Loading TLC function libraries
…….
### Initial pass through model to cache user defined code
.
### Caching model source code
……………………………..
### Writing header file first_blink_types.h
### Writing header file first_blink.h
### Writing header file rtwtypes.h
### Writing source file first_blink.c
.
### Writing header file first_blink_private.h
### Writing source file first_blink_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete (took 7.355s).
### Saving binary information cache.
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2btic2000’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
### Creating CCS Project at : C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtwCCS_Project
### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### ‘C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtwfirst_blink.mk’ is up to date
### Building ‘first_blink’: "D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=%MATLAB_ROOT% ALT_MATLAB_ROOT=%ALT_MATLAB_ROOT% MATLAB_BIN=%MATLAB_BIN% ALT_MATLAB_BIN=%ALT_MATLAB_BIN% DEPRULES=1 -j5 -f first_blink.mk all
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>call "\MM-202307250031D$Program FilesMATLABR2024abinwin64checkMATLABRootForDriveMap.exe" "\MM-202307250031D$Program FilesMATLABR2024a" 1>mlEnv.txt
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>for /F %a in (mlEnv.txt) do set "%a"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "MATLAB_ROOT=G:"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "ALT_MATLAB_ROOT=G:"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "MATLAB_BIN=G:bin"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "ALT_MATLAB_BIN=G:bin"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>cd .
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>if "all" == "" ("D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=G: ALT_MATLAB_ROOT=G: MATLAB_BIN=G:bin ALT_MATLAB_BIN=G:bin DEPRULES=1 -j5 -f first_blink.mk all ) else ("D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=G: ALT_MATLAB_ROOT=G: MATLAB_BIN=G:bin ALT_MATLAB_BIN=G:bin DEPRULES=1 -j5 -f first_blink.mk all )
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xx_csl.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xx_csl.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/MW_c28xx_csl.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xx_board.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xx_board.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/MW_c28xx_board.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="first_blink.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="first_blink.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/first_blink.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="first_blink_data.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="first_blink_data.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/first_blink_data.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDBoard_Realtime_Support.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDBoard_Realtime_Support.obj" "G:/toolbox/c2b/tic2000_shared/src/c2837xDBoard_Realtime_Support.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xGlobalInterrupts.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xGlobalInterrupts.obj" "G:/toolbox/c2b/tic2000_shared/src/MW_c28xGlobalInterrupts.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDInit.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDInit.obj" "G:/toolbox/c2b/tic2000/src/c2837xDInit.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2000HardwareTimerConfig.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2000HardwareTimerConfig.obj" "G:/toolbox/c2b/tic2000/src/c2000HardwareTimerConfig.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xGPIO.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xGPIO.obj" "G:/toolbox/c2b/tic2000_shared/src/MW_c28xGPIO.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDSchedulerTimer0.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDSchedulerTimer0.obj" "G:/toolbox/c2b/tic2000_shared/src/c2837xDSchedulerTimer0.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="ert_main.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="ert_main.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/ert_main.c"
"### Creating standalone executable "../first_blink.out" …"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi -z -IC:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/lib –stack_size=1024 –warn_sections –heap_size=1024 –reread_libs –rom_model –priority -m"first_blink.map" -l"rts2800_fpu32.lib" –define F28379D –define CPU1 –define BOOT_FROM_FLASH=1 –define BOOT_USING_BL=0 –define CPU_RAMLS_PROG_START=0x8000 –define CPU_RAMLS_PROG_LENGTH=0x1800 –define CLA_RAMLS_PROG_START=0xA000 –define CLA_RAMLS_PROG_LENGTH=0x1000 –define CLA_RAMLS_DATA_START=0x9800 –define CLA_RAMLS_DATA_LENGTH=0x800 –output_file=../first_blink.out MW_c28xx_csl.obj MW_c28xx_board.obj first_blink.obj first_blink_data.obj sysctl.obj c2837xDBoard_Realtime_Support.obj MW_c28xGlobalInterrupts.obj c2837xDInit.obj dma.obj F2837xD_CpuTimers.obj F2837xD_DefaultISR.obj F2837xD_GlobalVariableDefs.obj F2837xD_PieCtrl.obj F2837xD_PieVect.obj F2837xD_SysCtrl.obj F2837xD_usDelay.obj F2837xD_CodeStartBranch.obj F2837xD_Dma.obj F2837xD_Adc.obj F2837xD_Gpio.obj F2837xD_Ipc_Driver_Lite.obj c2000HardwareTimerConfig.obj MW_c28xGPIO.obj clb.obj memcpy_fast.obj c2837xDSchedulerTimer0.obj mw_soc_c2000_ipc.obj ert_main.obj D:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/IQmath/c28/lib/IQmath_fpu32.lib G:/toolbox/c2b/tic2000_shared/src/c2837xDPeripherals.cmd G:/toolbox/c2b/tic2000/src/c28377D.cmd
<Linking>
"### Created: ../first_blink.out"
"### Updating dependency files …"
"### Invoking postbuild tool "Hex Converter" on "../first_blink.out"…"
PowerShell -ExecutionPolicy Bypass -command "& ‘G:/toolbox/c2b/tic2000_shared/tools/PostBuildDepedency/win64/DepedencyFileUpdate.ps1’"
"### Invoking postbuild tool "DWO Converter" on "../first_blink.out"…"
C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/hex2000 -i "../first_blink.out" -o "../first_blink.hex" -order MS -romwidth 16 -q
G:/toolbox/c2b/tic2000_shared/tools/bin/win64/extractDWARF.exe "../first_blink.out"
*** Starting extraction of debug information from TI-COFF ***
Loaded : ../first_blink.out, and identified as TI-COFF
Opened : ../first_blink.dwo for write
coff -> dwo conversion completed successfully..
"### Done Invoking postbuild tool "Hex Converter" …"
"### Done Invoking postbuild tool "DWO Converter" …"
"### Done Updating dependency files …"
"### Successfully generated all binary outputs."
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>exit /B 0
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2bTIC200~3/CCS_CO~1/RUNPRO~1.JS’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2btic2000/CCS_CO~1/F28379~1.CCX’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
Initiating the executable load sequence on the target hardware using TI Code Composer Studio.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
js: Couldn’t open file "D:Program".
### Build procedure for first_blink aborted due to an error.
Top model targets built:
Model Action Rebuild Reason
=======================================================================
first_blink Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 2m 28.992s
Error:The following error occurred during deployment to your hardware board:
Error occurred during deployment to the hardware board. Check the ‘Download Executable to Hardware’ stage above for more details. Matlab can generate code to hardware. However, it can not deploy code to control board. So I can not debug the code by Matlab/Simulink.
Diagnostic shows:
=== Build (Elapsed: 2:31 min) ===
### Starting build procedure for: first_blink
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw
### Saved 11 global records: [IRInfo, procFamily, c2000TgtPrefOptions, isPIL, buildDir, filesep, subFamily, filePrefix, ProfileGenCode, targetInfo, ISCODERTARGET]
### TLC front end (took 2.075s).
### Invoking Target Language Compiler on first_blink.rtw
### Using System Target File: D:Program FilesMATLABR2024artwcertert.tlc
### Loading TLC function libraries
…….
### Initial pass through model to cache user defined code
.
### Caching model source code
……………………………..
### Writing header file first_blink_types.h
### Writing header file first_blink.h
### Writing header file rtwtypes.h
### Writing source file first_blink.c
.
### Writing header file first_blink_private.h
### Writing source file first_blink_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete (took 7.355s).
### Saving binary information cache.
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2btic2000’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
### Creating CCS Project at : C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtwCCS_Project
### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### ‘C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtwfirst_blink.mk’ is up to date
### Building ‘first_blink’: "D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=%MATLAB_ROOT% ALT_MATLAB_ROOT=%ALT_MATLAB_ROOT% MATLAB_BIN=%MATLAB_BIN% ALT_MATLAB_BIN=%ALT_MATLAB_BIN% DEPRULES=1 -j5 -f first_blink.mk all
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>call "\MM-202307250031D$Program FilesMATLABR2024abinwin64checkMATLABRootForDriveMap.exe" "\MM-202307250031D$Program FilesMATLABR2024a" 1>mlEnv.txt
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>for /F %a in (mlEnv.txt) do set "%a"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "MATLAB_ROOT=G:"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "ALT_MATLAB_ROOT=G:"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "MATLAB_BIN=G:bin"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>set "ALT_MATLAB_BIN=G:bin"n
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>cd .
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>if "all" == "" ("D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=G: ALT_MATLAB_ROOT=G: MATLAB_BIN=G:bin ALT_MATLAB_BIN=G:bin DEPRULES=1 -j5 -f first_blink.mk all ) else ("D:Program FilesMATLABR2024abinwin64gmake" MATLAB_ROOT=G: ALT_MATLAB_ROOT=G: MATLAB_BIN=G:bin ALT_MATLAB_BIN=G:bin DEPRULES=1 -j5 -f first_blink.mk all )
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xx_csl.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xx_csl.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/MW_c28xx_csl.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xx_board.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xx_board.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/MW_c28xx_board.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="first_blink.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="first_blink.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/first_blink.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="first_blink_data.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="first_blink_data.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/first_blink_data.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDBoard_Realtime_Support.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDBoard_Realtime_Support.obj" "G:/toolbox/c2b/tic2000_shared/src/c2837xDBoard_Realtime_Support.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xGlobalInterrupts.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xGlobalInterrupts.obj" "G:/toolbox/c2b/tic2000_shared/src/MW_c28xGlobalInterrupts.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDInit.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDInit.obj" "G:/toolbox/c2b/tic2000/src/c2837xDInit.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2000HardwareTimerConfig.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2000HardwareTimerConfig.obj" "G:/toolbox/c2b/tic2000/src/c2000HardwareTimerConfig.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="MW_c28xGPIO.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="MW_c28xGPIO.obj" "G:/toolbox/c2b/tic2000_shared/src/MW_c28xGPIO.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="c2837xDSchedulerTimer0.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="c2837xDSchedulerTimer0.obj" "G:/toolbox/c2b/tic2000_shared/src/c2837xDSchedulerTimer0.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="ert_main.dep" –preproc_with_compile –large_memory_model –silicon_version=28 –define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 –float_support=fpu32 -ml -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 –tmu_support=tmu0 –fp_mode=relaxed -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=1024 -DRT -DF28379D -DCPU1 -DBOOT_FROM_FLASH=1 -DCPU_RAMLS_PROG_START=0x8000 -DCPU_RAMLS_PROG_LENGTH=0x1800 -DCLA_RAMLS_PROG_START=0xA000 -DCLA_RAMLS_PROG_LENGTH=0x1000 -DCLA_RAMLS_DATA_START=0x9800 -DCLA_RAMLS_DATA_LENGTH=0x800 -DMODEL=first_blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample -IC:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw -IG:/extern/include -IG:/simulink/include -IG:/rtw/c/src -IG:/rtw/c/src/ext_mode/common -IG:/rtw/c/ert -IG:/toolbox/c2b/tic2000/inc -IG:/toolbox/shared/can/src/scanutil -IG:/toolbox/c2b/tic2000/src -IG:/toolbox/c2b/tic2000_shared/src -IG:/toolbox/c2b/tic2000_shared/inc -ID:/ti/c2000/C2000W~1/LIBRAR~1/CALIBR~1/hrpwm/f2837xd/include -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1 -ID:/ti/c2000/C2000W~1/DRIVER~1/f2837xd/DRIVER~1/inc -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/headers/include -ID:/ti/c2000/C2000W~1/DEVICE~1/f2837xd/common -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/IQmath/c28/include -ID:/ti/c2000/C2000W~1/LIBRAR~1/math/CLAmath/c28/include -IG:/toolbox/c2b/tic2000_soc/src -IG:/toolbox/c2b/tic2000_soc/inc –output_file="ert_main.obj" "C:/Users/Administrator/Documents/MATLAB/Examples/R2024a/c2b/UsingEPWMExample/first_blink_ert_rtw/ert_main.c"
"### Creating standalone executable "../first_blink.out" …"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi -z -IC:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/lib –stack_size=1024 –warn_sections –heap_size=1024 –reread_libs –rom_model –priority -m"first_blink.map" -l"rts2800_fpu32.lib" –define F28379D –define CPU1 –define BOOT_FROM_FLASH=1 –define BOOT_USING_BL=0 –define CPU_RAMLS_PROG_START=0x8000 –define CPU_RAMLS_PROG_LENGTH=0x1800 –define CLA_RAMLS_PROG_START=0xA000 –define CLA_RAMLS_PROG_LENGTH=0x1000 –define CLA_RAMLS_DATA_START=0x9800 –define CLA_RAMLS_DATA_LENGTH=0x800 –output_file=../first_blink.out MW_c28xx_csl.obj MW_c28xx_board.obj first_blink.obj first_blink_data.obj sysctl.obj c2837xDBoard_Realtime_Support.obj MW_c28xGlobalInterrupts.obj c2837xDInit.obj dma.obj F2837xD_CpuTimers.obj F2837xD_DefaultISR.obj F2837xD_GlobalVariableDefs.obj F2837xD_PieCtrl.obj F2837xD_PieVect.obj F2837xD_SysCtrl.obj F2837xD_usDelay.obj F2837xD_CodeStartBranch.obj F2837xD_Dma.obj F2837xD_Adc.obj F2837xD_Gpio.obj F2837xD_Ipc_Driver_Lite.obj c2000HardwareTimerConfig.obj MW_c28xGPIO.obj clb.obj memcpy_fast.obj c2837xDSchedulerTimer0.obj mw_soc_c2000_ipc.obj ert_main.obj D:/ti/c2000/C2000Ware_5_00_00_00/libraries/math/IQmath/c28/lib/IQmath_fpu32.lib G:/toolbox/c2b/tic2000_shared/src/c2837xDPeripherals.cmd G:/toolbox/c2b/tic2000/src/c28377D.cmd
<Linking>
"### Created: ../first_blink.out"
"### Updating dependency files …"
"### Invoking postbuild tool "Hex Converter" on "../first_blink.out"…"
PowerShell -ExecutionPolicy Bypass -command "& ‘G:/toolbox/c2b/tic2000_shared/tools/PostBuildDepedency/win64/DepedencyFileUpdate.ps1’"
"### Invoking postbuild tool "DWO Converter" on "../first_blink.out"…"
C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/hex2000 -i "../first_blink.out" -o "../first_blink.hex" -order MS -romwidth 16 -q
G:/toolbox/c2b/tic2000_shared/tools/bin/win64/extractDWARF.exe "../first_blink.out"
*** Starting extraction of debug information from TI-COFF ***
Loaded : ../first_blink.out, and identified as TI-COFF
Opened : ../first_blink.dwo for write
coff -> dwo conversion completed successfully..
"### Done Invoking postbuild tool "Hex Converter" …"
"### Done Invoking postbuild tool "DWO Converter" …"
"### Done Updating dependency files …"
"### Successfully generated all binary outputs."
C:UsersAdministratorDocumentsMATLABExamplesR2024ac2bUsingEPWMExamplefirst_blink_ert_rtw>exit /B 0
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2bTIC200~3/CCS_CO~1/RUNPRO~1.JS’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
Warning:Warning: Unable to remove spaces from file path ‘D:Program FilesMATLABR2024atoolboxc2btic2000/CCS_CO~1/F28379~1.CCX’. Spaces in build-related folder paths can cause the build process to fail. For more information, see Build Process Support for Folder Names with Spaces or Special Characters.
Initiating the executable load sequence on the target hardware using TI Code Composer Studio.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
js: Couldn’t open file "D:Program".
### Build procedure for first_blink aborted due to an error.
Top model targets built:
Model Action Rebuild Reason
=======================================================================
first_blink Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 2m 28.992s
Error:The following error occurred during deployment to your hardware board:
Error occurred during deployment to the hardware board. Check the ‘Download Executable to Hardware’ stage above for more details. deployment, c2000 microcontroller blockset, c2000, ti MATLAB Answers — New Questions
Resolution of the gamultiobj’s variable
Hi community!
To what resolution does the random search algorithm generates new samples? Is it possible to specify a certain resolution to search for a varible?
For example, the independent variable I want to search over, , has the limit of . Is it possible to only search for that is as accurate as the level of 0.01? It reduces the search space to only 200 points.
I assume doing this would make the search converge faster and also, in my application, I do not really care about the $a$ at the decimal of 0.001.
Thank you in advance for your help!
XiaoweiHi community!
To what resolution does the random search algorithm generates new samples? Is it possible to specify a certain resolution to search for a varible?
For example, the independent variable I want to search over, , has the limit of . Is it possible to only search for that is as accurate as the level of 0.01? It reduces the search space to only 200 points.
I assume doing this would make the search converge faster and also, in my application, I do not really care about the $a$ at the decimal of 0.001.
Thank you in advance for your help!
Xiaowei Hi community!
To what resolution does the random search algorithm generates new samples? Is it possible to specify a certain resolution to search for a varible?
For example, the independent variable I want to search over, , has the limit of . Is it possible to only search for that is as accurate as the level of 0.01? It reduces the search space to only 200 points.
I assume doing this would make the search converge faster and also, in my application, I do not really care about the $a$ at the decimal of 0.001.
Thank you in advance for your help!
Xiaowei ga, gamultiobj, genetic algorithm, optimization MATLAB Answers — New Questions
Why do I get an “Expected hostname to be nonempty” error when connecting to my NVIDIA Jetson DRIVE Developer Kit?
I am using an NVIDIA Jetson-series Developer Kit that supports NVIDIA DRIVE, such as the Jetson Orin AGX. I am able to complete the following example without any issues:
https://www.mathworks.com/help/releases/R2023b/coder/nvidia/ug/getting-started-with-the-gpu-coder-support-package-for-nvidia-gpus.html
After adapting my own code according to the above example, I am no longer able to connect to the board. When I run the "codegen" command, I get the following error:
Expected hostname to be nonempty.
But I know the hostname, username, and password are all correct. The relevant part of my code looks like this:
hwobj = jetson(‘correctHostname’, ‘correctUsername’, ‘correctPassword’); codegen(‘-codegen’, cfg, ‘segnet_predict’, ‘-args’, {img}, ‘-report’);I am using an NVIDIA Jetson-series Developer Kit that supports NVIDIA DRIVE, such as the Jetson Orin AGX. I am able to complete the following example without any issues:
https://www.mathworks.com/help/releases/R2023b/coder/nvidia/ug/getting-started-with-the-gpu-coder-support-package-for-nvidia-gpus.html
After adapting my own code according to the above example, I am no longer able to connect to the board. When I run the "codegen" command, I get the following error:
Expected hostname to be nonempty.
But I know the hostname, username, and password are all correct. The relevant part of my code looks like this:
hwobj = jetson(‘correctHostname’, ‘correctUsername’, ‘correctPassword’); codegen(‘-codegen’, cfg, ‘segnet_predict’, ‘-args’, {img}, ‘-report’); I am using an NVIDIA Jetson-series Developer Kit that supports NVIDIA DRIVE, such as the Jetson Orin AGX. I am able to complete the following example without any issues:
https://www.mathworks.com/help/releases/R2023b/coder/nvidia/ug/getting-started-with-the-gpu-coder-support-package-for-nvidia-gpus.html
After adapting my own code according to the above example, I am no longer able to connect to the board. When I run the "codegen" command, I get the following error:
Expected hostname to be nonempty.
But I know the hostname, username, and password are all correct. The relevant part of my code looks like this:
hwobj = jetson(‘correctHostname’, ‘correctUsername’, ‘correctPassword’); codegen(‘-codegen’, cfg, ‘segnet_predict’, ‘-args’, {img}, ‘-report’); nvidia-jetson, nvidia-drive, matlab-coder, gpu-coder, hardware-support-package MATLAB Answers — New Questions
how get the range from FFT on FMCW radar data
The data from an FMCW radar is 256×128, so I got 256 samples of every of the 128 ramps. There is only one target being scanned.
Now I would just use fft(), calculate the magnitude and then find the index peak. But when I know where the peak is, which Im not too sure how to do as well, how do I use that index to then calculate the range and also the velocity of the target with matlab code?The data from an FMCW radar is 256×128, so I got 256 samples of every of the 128 ramps. There is only one target being scanned.
Now I would just use fft(), calculate the magnitude and then find the index peak. But when I know where the peak is, which Im not too sure how to do as well, how do I use that index to then calculate the range and also the velocity of the target with matlab code? The data from an FMCW radar is 256×128, so I got 256 samples of every of the 128 ramps. There is only one target being scanned.
Now I would just use fft(), calculate the magnitude and then find the index peak. But when I know where the peak is, which Im not too sure how to do as well, how do I use that index to then calculate the range and also the velocity of the target with matlab code? fmcw, radar, fft MATLAB Answers — New Questions
Band-pass filter extraction.
Dear all, How are you?
Currently, I’m dealing with a band-pass filter that extracts a specific frequency band from a synthetic time series. Unfortunately, my band-pass filter is not extracting the original series as the following code shows. I would appreciate any suggestions on how to make the filter process more effective.
clear all,close all;
Inertial_period = 20.215;
K1_period = 24; % K1 period (hours)
M2_period = 12;
Inertial_amplitude = 1.0;
K1_amplitude = 0.3;
M2_amplitude = 0.5;
Inertial_phase = 0; % Example phase (radians)
K1_phase = pi/4;
M2_phase = pi/2;
% Time Vector (1 Month)
Fs = 1; % Sampling frequency (1 sample per hour)
duration_hours = 510; % 510 Hours
t = 0:1/Fs:duration_hours;
% Generate Components
I = Inertial_amplitude * cos(2*pi*t/Inertial_period + M2_phase);
K1 = K1_amplitude * cos(2*pi*t/K1_period + K1_phase);
M2 = M2_amplitude * cos(2*pi*t/M2_period + M2_phase);
u = K1+M2+I; %Time Serie
clearvars -except u I;
Now, I built a band-pass filter to extract the original signal "I" from the time series ‘u’.
Fs = 1; % 1 sample per hour
In = 20.215;
low_cutoff = 1/(In+1); % I + 1hour
high_cutoff = 1/(In-1); % I – 1Hour
% Normalize the cutoff frequencies by the Nyquist frequency (Fs/2)
Wn = [low_cutoff, high_cutoff] / (Fs/2);
% Design the Butterworth bandpass filter
[b, a] = butter(2, Wn, ‘bandpass’);
clear Fs low_cutoff_I high_cutoff_I Wn_I
fu = filtfilt(b,a,u);
Clearly, the band-pass filter with a central frequency +/- 1 hour is more accurate than the same band-pass filter with +/- 0.2 hours, but it is not identical to the original signal (orange). Is there any way I can better extract the frequency so the filtered signal will be almost identical to the original? Thanks to all; I would appreciate any suggestions.Dear all, How are you?
Currently, I’m dealing with a band-pass filter that extracts a specific frequency band from a synthetic time series. Unfortunately, my band-pass filter is not extracting the original series as the following code shows. I would appreciate any suggestions on how to make the filter process more effective.
clear all,close all;
Inertial_period = 20.215;
K1_period = 24; % K1 period (hours)
M2_period = 12;
Inertial_amplitude = 1.0;
K1_amplitude = 0.3;
M2_amplitude = 0.5;
Inertial_phase = 0; % Example phase (radians)
K1_phase = pi/4;
M2_phase = pi/2;
% Time Vector (1 Month)
Fs = 1; % Sampling frequency (1 sample per hour)
duration_hours = 510; % 510 Hours
t = 0:1/Fs:duration_hours;
% Generate Components
I = Inertial_amplitude * cos(2*pi*t/Inertial_period + M2_phase);
K1 = K1_amplitude * cos(2*pi*t/K1_period + K1_phase);
M2 = M2_amplitude * cos(2*pi*t/M2_period + M2_phase);
u = K1+M2+I; %Time Serie
clearvars -except u I;
Now, I built a band-pass filter to extract the original signal "I" from the time series ‘u’.
Fs = 1; % 1 sample per hour
In = 20.215;
low_cutoff = 1/(In+1); % I + 1hour
high_cutoff = 1/(In-1); % I – 1Hour
% Normalize the cutoff frequencies by the Nyquist frequency (Fs/2)
Wn = [low_cutoff, high_cutoff] / (Fs/2);
% Design the Butterworth bandpass filter
[b, a] = butter(2, Wn, ‘bandpass’);
clear Fs low_cutoff_I high_cutoff_I Wn_I
fu = filtfilt(b,a,u);
Clearly, the band-pass filter with a central frequency +/- 1 hour is more accurate than the same band-pass filter with +/- 0.2 hours, but it is not identical to the original signal (orange). Is there any way I can better extract the frequency so the filtered signal will be almost identical to the original? Thanks to all; I would appreciate any suggestions. Dear all, How are you?
Currently, I’m dealing with a band-pass filter that extracts a specific frequency band from a synthetic time series. Unfortunately, my band-pass filter is not extracting the original series as the following code shows. I would appreciate any suggestions on how to make the filter process more effective.
clear all,close all;
Inertial_period = 20.215;
K1_period = 24; % K1 period (hours)
M2_period = 12;
Inertial_amplitude = 1.0;
K1_amplitude = 0.3;
M2_amplitude = 0.5;
Inertial_phase = 0; % Example phase (radians)
K1_phase = pi/4;
M2_phase = pi/2;
% Time Vector (1 Month)
Fs = 1; % Sampling frequency (1 sample per hour)
duration_hours = 510; % 510 Hours
t = 0:1/Fs:duration_hours;
% Generate Components
I = Inertial_amplitude * cos(2*pi*t/Inertial_period + M2_phase);
K1 = K1_amplitude * cos(2*pi*t/K1_period + K1_phase);
M2 = M2_amplitude * cos(2*pi*t/M2_period + M2_phase);
u = K1+M2+I; %Time Serie
clearvars -except u I;
Now, I built a band-pass filter to extract the original signal "I" from the time series ‘u’.
Fs = 1; % 1 sample per hour
In = 20.215;
low_cutoff = 1/(In+1); % I + 1hour
high_cutoff = 1/(In-1); % I – 1Hour
% Normalize the cutoff frequencies by the Nyquist frequency (Fs/2)
Wn = [low_cutoff, high_cutoff] / (Fs/2);
% Design the Butterworth bandpass filter
[b, a] = butter(2, Wn, ‘bandpass’);
clear Fs low_cutoff_I high_cutoff_I Wn_I
fu = filtfilt(b,a,u);
Clearly, the band-pass filter with a central frequency +/- 1 hour is more accurate than the same band-pass filter with +/- 0.2 hours, but it is not identical to the original signal (orange). Is there any way I can better extract the frequency so the filtered signal will be almost identical to the original? Thanks to all; I would appreciate any suggestions. time series, matlab MATLAB Answers — New Questions
Why do I receive a “Restricted Download Access” message when using Add-Ons manager?
When using the Add-Ons manager, I receive the following message, which prohibits me from installing anything:
ERROR: Restricted Download AccessYour administrator has restricted your download access to this Mathworks product.
Contact your MATLAB administrator(s) to request access.
In the Add-Ons manager, I see that I am logged in under a Mathworks account that is the administrator for a MATLAB license. How can I proceed with installing my toolbox?When using the Add-Ons manager, I receive the following message, which prohibits me from installing anything:
ERROR: Restricted Download AccessYour administrator has restricted your download access to this Mathworks product.
Contact your MATLAB administrator(s) to request access.
In the Add-Ons manager, I see that I am logged in under a Mathworks account that is the administrator for a MATLAB license. How can I proceed with installing my toolbox? When using the Add-Ons manager, I receive the following message, which prohibits me from installing anything:
ERROR: Restricted Download AccessYour administrator has restricted your download access to this Mathworks product.
Contact your MATLAB administrator(s) to request access.
In the Add-Ons manager, I see that I am logged in under a Mathworks account that is the administrator for a MATLAB license. How can I proceed with installing my toolbox? MATLAB Answers — New Questions
Name for adjancy-to-graph algorithm?
I am using the "graph" function for a research project, and I would like to say "graphs are created from adjacency matrices using the MATLAB "graph" function which uses the _____ algorithm," but I don’t know the name of the algorithm MATLAB uses. Is there a specific one? Or is it something too basic that it doesn’t even have a name.I am using the "graph" function for a research project, and I would like to say "graphs are created from adjacency matrices using the MATLAB "graph" function which uses the _____ algorithm," but I don’t know the name of the algorithm MATLAB uses. Is there a specific one? Or is it something too basic that it doesn’t even have a name. I am using the "graph" function for a research project, and I would like to say "graphs are created from adjacency matrices using the MATLAB "graph" function which uses the _____ algorithm," but I don’t know the name of the algorithm MATLAB uses. Is there a specific one? Or is it something too basic that it doesn’t even have a name. graph, adjacency, algorithm MATLAB Answers — New Questions
UAV Toolbox – Reference Frame Definition
I am able to attain data using the UAV Toolbox functions waypointTrajectory and lookupPose, but I don’t understand the reference frame in which the data is being provided. Take the UAV Toolbox waypointTrajectory function example titled "Create Trajectory using Waypoint and Ground Speed" linked here. The default reference frame for the waypointTrajectory function is said to be "NED", but in either reference frame case ("NED" or "ENU") the position values output are both positive. I assumed that when climbing in altitude the position value output for the "NED" frame would be negative. My assumption, at this point, is the "NED" frame is set at latitude, longitude, and height of 0 and the information being output is given with respect to the body frame. Does this sound correct or does anyone have a better explanation to the frame of reference in which the data is being provided?I am able to attain data using the UAV Toolbox functions waypointTrajectory and lookupPose, but I don’t understand the reference frame in which the data is being provided. Take the UAV Toolbox waypointTrajectory function example titled "Create Trajectory using Waypoint and Ground Speed" linked here. The default reference frame for the waypointTrajectory function is said to be "NED", but in either reference frame case ("NED" or "ENU") the position values output are both positive. I assumed that when climbing in altitude the position value output for the "NED" frame would be negative. My assumption, at this point, is the "NED" frame is set at latitude, longitude, and height of 0 and the information being output is given with respect to the body frame. Does this sound correct or does anyone have a better explanation to the frame of reference in which the data is being provided? I am able to attain data using the UAV Toolbox functions waypointTrajectory and lookupPose, but I don’t understand the reference frame in which the data is being provided. Take the UAV Toolbox waypointTrajectory function example titled "Create Trajectory using Waypoint and Ground Speed" linked here. The default reference frame for the waypointTrajectory function is said to be "NED", but in either reference frame case ("NED" or "ENU") the position values output are both positive. I assumed that when climbing in altitude the position value output for the "NED" frame would be negative. My assumption, at this point, is the "NED" frame is set at latitude, longitude, and height of 0 and the information being output is given with respect to the body frame. Does this sound correct or does anyone have a better explanation to the frame of reference in which the data is being provided? uavtoolbox, lookuppose, waypointtrajectory, referenceframe MATLAB Answers — New Questions
app designer how to make zoom out for my plot ?
I am using plot in my app designer ,how to make zoom out into my plot in the app designer ?
I found command for doing zoom in the plot of the plot of the appdesigner , how to do zoom out ?
1)is there a command ? becouse I tried zoom(app.UIAxes,’out’) but I get error .
2) also in the matlab there is the command ytickes ( this command is giving me to the option to control y numbers of the y label ) , is there a similier command in the app designer ?
zoom(app.UIAxes,’on’) %% zoom in the plot of matlab app designerI am using plot in my app designer ,how to make zoom out into my plot in the app designer ?
I found command for doing zoom in the plot of the plot of the appdesigner , how to do zoom out ?
1)is there a command ? becouse I tried zoom(app.UIAxes,’out’) but I get error .
2) also in the matlab there is the command ytickes ( this command is giving me to the option to control y numbers of the y label ) , is there a similier command in the app designer ?
zoom(app.UIAxes,’on’) %% zoom in the plot of matlab app designer I am using plot in my app designer ,how to make zoom out into my plot in the app designer ?
I found command for doing zoom in the plot of the plot of the appdesigner , how to do zoom out ?
1)is there a command ? becouse I tried zoom(app.UIAxes,’out’) but I get error .
2) also in the matlab there is the command ytickes ( this command is giving me to the option to control y numbers of the y label ) , is there a similier command in the app designer ?
zoom(app.UIAxes,’on’) %% zoom in the plot of matlab app designer app designer, uiaxes, zoom, pan, interactive MATLAB Answers — New Questions
Help with 3D Data Contour Plot (Missing Values as Zeros)
I’m working with a 3D data set in MATLAB where two planes (y1 and y3) have 65 rows and 4 columns each. The third plane (y2) has only 26 rows and 4 columns. I need to create a contour plot where missing values in y2 are treated as zeros. (raw data attached)
Desired Functionality:
All three planes (y1, y2, y3) should have the same number of rows for consistent plotting.
Missing points (represented by NaN) in y2 should be filled with zeros (treated as valid data for the contour plot).
The original data in y2 (including non-NaN values) should be preserved.
The contour plot should accurately represent the data in all three planes.
stack output three contour plots based on split y values apllied in a 3D Plot
rewrite the code. any help appreciated.
clear all
close all
clc
set(0,’DefaultaxesFontSize’,20);
set(0,’DefaulttextFontsize’,20);
set(0,’DefaultaxesFontName’,’Times-Roman’);
set(0,’DefaulttextFontName’,’Times-Roman’);
set(0,’defaulttextinterpreter’,’latex’)
set(0, ‘DefaultAxesLineWidth’, 4)
set(0,’DefaultAxesFontWeight’,’bold’)
set(gcf, ‘DefaultLineLineWidth’, 4)
set(gca, ‘DefaultLineLineWidth’, 4)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
T = readtable(‘HB2B_4298.csv’,’PreserveVariableNames’,true);%reading the data
Vx = table2array(T(:,:));%converting to arrays
TTT = Vx(:,11:14);%Pick your columns based on the data.EG., dsapce columns number = 13
A = unique(TTT,’rows’);
Acell = splitapply(@(x){x}, A,findgroups(A(:,2)));%split group based on column 2=vy
Acell{:};
y1 = [Acell{1,:}];%first plane values
y2 = [Acell{2,:}];%second plane values
y3 = [Acell{3,:}];%third plane values
% y4 = [Acell{4,:}];%fourth plane values
y = {y1, y2, y3};
N = length(y);
rg = cell(N,1); cg = cell(N,1);
Rg = cell(N,1); Cg = cell(N,1);
Zg = cell(N,1);
for i= 1:N
rg{i} = linspace(min(y{i}(:,1)), max(y{i}(:,1)), 100);%x axis
cg{i} = linspace(min(y{i}(:,3)), max(y{i}(:,3)), 100);%z axis
[Rg{i}, Cg{i}] = meshgrid(rg{i}, cg{i});% x and z
Zg{i} = griddata(y{i}(:,1), y{i}(:,3), y{i}(:,4), Rg{i}, Cg{i});%important change acoriding to data
h = figure
% subplot(N,1,i);
[CC,HH]= contourf(Rg{i}, Cg{i}, Zg{i});%plot contour
set(HH,’LineColor’,’none’)
colormap("default");
BB = colorbar
BB.Label.String = ‘d spacing’;%change
xlabel(‘X(mm)’)%change
ylabel(‘Z(mm)’)%change
saveas(h,sprintf(‘FIG%d.png’,i));%change the FIG name to whatever the name you need
% Create contour plot with transparency (adjust alpha value)
endI’m working with a 3D data set in MATLAB where two planes (y1 and y3) have 65 rows and 4 columns each. The third plane (y2) has only 26 rows and 4 columns. I need to create a contour plot where missing values in y2 are treated as zeros. (raw data attached)
Desired Functionality:
All three planes (y1, y2, y3) should have the same number of rows for consistent plotting.
Missing points (represented by NaN) in y2 should be filled with zeros (treated as valid data for the contour plot).
The original data in y2 (including non-NaN values) should be preserved.
The contour plot should accurately represent the data in all three planes.
stack output three contour plots based on split y values apllied in a 3D Plot
rewrite the code. any help appreciated.
clear all
close all
clc
set(0,’DefaultaxesFontSize’,20);
set(0,’DefaulttextFontsize’,20);
set(0,’DefaultaxesFontName’,’Times-Roman’);
set(0,’DefaulttextFontName’,’Times-Roman’);
set(0,’defaulttextinterpreter’,’latex’)
set(0, ‘DefaultAxesLineWidth’, 4)
set(0,’DefaultAxesFontWeight’,’bold’)
set(gcf, ‘DefaultLineLineWidth’, 4)
set(gca, ‘DefaultLineLineWidth’, 4)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
T = readtable(‘HB2B_4298.csv’,’PreserveVariableNames’,true);%reading the data
Vx = table2array(T(:,:));%converting to arrays
TTT = Vx(:,11:14);%Pick your columns based on the data.EG., dsapce columns number = 13
A = unique(TTT,’rows’);
Acell = splitapply(@(x){x}, A,findgroups(A(:,2)));%split group based on column 2=vy
Acell{:};
y1 = [Acell{1,:}];%first plane values
y2 = [Acell{2,:}];%second plane values
y3 = [Acell{3,:}];%third plane values
% y4 = [Acell{4,:}];%fourth plane values
y = {y1, y2, y3};
N = length(y);
rg = cell(N,1); cg = cell(N,1);
Rg = cell(N,1); Cg = cell(N,1);
Zg = cell(N,1);
for i= 1:N
rg{i} = linspace(min(y{i}(:,1)), max(y{i}(:,1)), 100);%x axis
cg{i} = linspace(min(y{i}(:,3)), max(y{i}(:,3)), 100);%z axis
[Rg{i}, Cg{i}] = meshgrid(rg{i}, cg{i});% x and z
Zg{i} = griddata(y{i}(:,1), y{i}(:,3), y{i}(:,4), Rg{i}, Cg{i});%important change acoriding to data
h = figure
% subplot(N,1,i);
[CC,HH]= contourf(Rg{i}, Cg{i}, Zg{i});%plot contour
set(HH,’LineColor’,’none’)
colormap("default");
BB = colorbar
BB.Label.String = ‘d spacing’;%change
xlabel(‘X(mm)’)%change
ylabel(‘Z(mm)’)%change
saveas(h,sprintf(‘FIG%d.png’,i));%change the FIG name to whatever the name you need
% Create contour plot with transparency (adjust alpha value)
end I’m working with a 3D data set in MATLAB where two planes (y1 and y3) have 65 rows and 4 columns each. The third plane (y2) has only 26 rows and 4 columns. I need to create a contour plot where missing values in y2 are treated as zeros. (raw data attached)
Desired Functionality:
All three planes (y1, y2, y3) should have the same number of rows for consistent plotting.
Missing points (represented by NaN) in y2 should be filled with zeros (treated as valid data for the contour plot).
The original data in y2 (including non-NaN values) should be preserved.
The contour plot should accurately represent the data in all three planes.
stack output three contour plots based on split y values apllied in a 3D Plot
rewrite the code. any help appreciated.
clear all
close all
clc
set(0,’DefaultaxesFontSize’,20);
set(0,’DefaulttextFontsize’,20);
set(0,’DefaultaxesFontName’,’Times-Roman’);
set(0,’DefaulttextFontName’,’Times-Roman’);
set(0,’defaulttextinterpreter’,’latex’)
set(0, ‘DefaultAxesLineWidth’, 4)
set(0,’DefaultAxesFontWeight’,’bold’)
set(gcf, ‘DefaultLineLineWidth’, 4)
set(gca, ‘DefaultLineLineWidth’, 4)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
T = readtable(‘HB2B_4298.csv’,’PreserveVariableNames’,true);%reading the data
Vx = table2array(T(:,:));%converting to arrays
TTT = Vx(:,11:14);%Pick your columns based on the data.EG., dsapce columns number = 13
A = unique(TTT,’rows’);
Acell = splitapply(@(x){x}, A,findgroups(A(:,2)));%split group based on column 2=vy
Acell{:};
y1 = [Acell{1,:}];%first plane values
y2 = [Acell{2,:}];%second plane values
y3 = [Acell{3,:}];%third plane values
% y4 = [Acell{4,:}];%fourth plane values
y = {y1, y2, y3};
N = length(y);
rg = cell(N,1); cg = cell(N,1);
Rg = cell(N,1); Cg = cell(N,1);
Zg = cell(N,1);
for i= 1:N
rg{i} = linspace(min(y{i}(:,1)), max(y{i}(:,1)), 100);%x axis
cg{i} = linspace(min(y{i}(:,3)), max(y{i}(:,3)), 100);%z axis
[Rg{i}, Cg{i}] = meshgrid(rg{i}, cg{i});% x and z
Zg{i} = griddata(y{i}(:,1), y{i}(:,3), y{i}(:,4), Rg{i}, Cg{i});%important change acoriding to data
h = figure
% subplot(N,1,i);
[CC,HH]= contourf(Rg{i}, Cg{i}, Zg{i});%plot contour
set(HH,’LineColor’,’none’)
colormap("default");
BB = colorbar
BB.Label.String = ‘d spacing’;%change
xlabel(‘X(mm)’)%change
ylabel(‘Z(mm)’)%change
saveas(h,sprintf(‘FIG%d.png’,i));%change the FIG name to whatever the name you need
% Create contour plot with transparency (adjust alpha value)
end contour, 3d plots MATLAB Answers — New Questions
How to use ODE function for modelling tanks in series
Hi,
I’m learning how to use functions and ODEs and am trying to recreate a tanks in series model that i made in a programme called Berkeley Madona many years ago. It’s purpose is to model a series of cascaded stirred tank reactors where the output of one is passed to the next. Hence i need to use a series of ODEs and pass the output of one to the next. The cascade of CSTRs is used to approximate a PFR.
The basic is N tanks in series of identical volume V. A reacting to B and B reacting back to A.
The overall model is based on Octave Levinspiel’s Chemcial Reaction Engineering Text, tanks in series model, and some good starting point for a single tank on youtube.
looking forward to your hints and guidance for a matlab novice…many thanks.
For the first tank….the function cstr1.m
function xa_dot = cstr1(t,xa,xa_in)
xb = 1 – xa; % a + b = 1, no other components.
F= 0.1; %flow in m3/s
V = 0.1; %tank vol m3
k1 = 0.45; % rate constant 1
k2 = 0.1; % rate constant 2
xa_dot = (F/V * (xa_in-xa)) + k1*xa*xb – k2 * xa^2;
%function to model tanks in series 1..N
% Molar Balance
%Tank 1 d/dt(Ca[1] = (F/V)*(Ca_in – Ca[1]) – Ra[1]
%Tank 2..N d/dt(Ca[N] = (F/V*(Ca[N-1]-Ca[N]) – Ra[N]
% Ca = XaC, xa + xb = 1, If C = 1 then Ca = xa (X = molar fracctional conversion)
%hence dxa/dt = (F/V * (xa[N-1] – xa[N]) – Ra[N]
% ra = sum of making a (k1*xa*xb) – destroying a by reverse reaction (k2*xa^2).
% xa_dot = d(xa)/dt.
main.m to model 1 tank….
clear all; close all; clc
xa_in = 0.3; % inital concentration of A flowing in.
xa = 1.0; % inital concentration of A in the reactor 1.
run = 5; %runtime seconds
[t1,xa1] = ode15s(@(t,x)cstr1(t,x,xa_in),[0 run],xa); % (Odefun, timespan, y0)
%xa1 represents the conversion in the first tank….
The first tank works and I can calculate xa1, I now need to find xa in the tanks 2..N, how do I do this…?
Each tank N uses the input from the previous (N-1) tank for the concentration of A and B.
Do I create a second function, or nest it in the first? and I presume I need to initalise the values of xa(2..N)
I’m not sure how to set up a function for a matrix of outputs 2..N, and in the main function how to relate the CSTR1 with CSTR2..NHi,
I’m learning how to use functions and ODEs and am trying to recreate a tanks in series model that i made in a programme called Berkeley Madona many years ago. It’s purpose is to model a series of cascaded stirred tank reactors where the output of one is passed to the next. Hence i need to use a series of ODEs and pass the output of one to the next. The cascade of CSTRs is used to approximate a PFR.
The basic is N tanks in series of identical volume V. A reacting to B and B reacting back to A.
The overall model is based on Octave Levinspiel’s Chemcial Reaction Engineering Text, tanks in series model, and some good starting point for a single tank on youtube.
looking forward to your hints and guidance for a matlab novice…many thanks.
For the first tank….the function cstr1.m
function xa_dot = cstr1(t,xa,xa_in)
xb = 1 – xa; % a + b = 1, no other components.
F= 0.1; %flow in m3/s
V = 0.1; %tank vol m3
k1 = 0.45; % rate constant 1
k2 = 0.1; % rate constant 2
xa_dot = (F/V * (xa_in-xa)) + k1*xa*xb – k2 * xa^2;
%function to model tanks in series 1..N
% Molar Balance
%Tank 1 d/dt(Ca[1] = (F/V)*(Ca_in – Ca[1]) – Ra[1]
%Tank 2..N d/dt(Ca[N] = (F/V*(Ca[N-1]-Ca[N]) – Ra[N]
% Ca = XaC, xa + xb = 1, If C = 1 then Ca = xa (X = molar fracctional conversion)
%hence dxa/dt = (F/V * (xa[N-1] – xa[N]) – Ra[N]
% ra = sum of making a (k1*xa*xb) – destroying a by reverse reaction (k2*xa^2).
% xa_dot = d(xa)/dt.
main.m to model 1 tank….
clear all; close all; clc
xa_in = 0.3; % inital concentration of A flowing in.
xa = 1.0; % inital concentration of A in the reactor 1.
run = 5; %runtime seconds
[t1,xa1] = ode15s(@(t,x)cstr1(t,x,xa_in),[0 run],xa); % (Odefun, timespan, y0)
%xa1 represents the conversion in the first tank….
The first tank works and I can calculate xa1, I now need to find xa in the tanks 2..N, how do I do this…?
Each tank N uses the input from the previous (N-1) tank for the concentration of A and B.
Do I create a second function, or nest it in the first? and I presume I need to initalise the values of xa(2..N)
I’m not sure how to set up a function for a matrix of outputs 2..N, and in the main function how to relate the CSTR1 with CSTR2..N Hi,
I’m learning how to use functions and ODEs and am trying to recreate a tanks in series model that i made in a programme called Berkeley Madona many years ago. It’s purpose is to model a series of cascaded stirred tank reactors where the output of one is passed to the next. Hence i need to use a series of ODEs and pass the output of one to the next. The cascade of CSTRs is used to approximate a PFR.
The basic is N tanks in series of identical volume V. A reacting to B and B reacting back to A.
The overall model is based on Octave Levinspiel’s Chemcial Reaction Engineering Text, tanks in series model, and some good starting point for a single tank on youtube.
looking forward to your hints and guidance for a matlab novice…many thanks.
For the first tank….the function cstr1.m
function xa_dot = cstr1(t,xa,xa_in)
xb = 1 – xa; % a + b = 1, no other components.
F= 0.1; %flow in m3/s
V = 0.1; %tank vol m3
k1 = 0.45; % rate constant 1
k2 = 0.1; % rate constant 2
xa_dot = (F/V * (xa_in-xa)) + k1*xa*xb – k2 * xa^2;
%function to model tanks in series 1..N
% Molar Balance
%Tank 1 d/dt(Ca[1] = (F/V)*(Ca_in – Ca[1]) – Ra[1]
%Tank 2..N d/dt(Ca[N] = (F/V*(Ca[N-1]-Ca[N]) – Ra[N]
% Ca = XaC, xa + xb = 1, If C = 1 then Ca = xa (X = molar fracctional conversion)
%hence dxa/dt = (F/V * (xa[N-1] – xa[N]) – Ra[N]
% ra = sum of making a (k1*xa*xb) – destroying a by reverse reaction (k2*xa^2).
% xa_dot = d(xa)/dt.
main.m to model 1 tank….
clear all; close all; clc
xa_in = 0.3; % inital concentration of A flowing in.
xa = 1.0; % inital concentration of A in the reactor 1.
run = 5; %runtime seconds
[t1,xa1] = ode15s(@(t,x)cstr1(t,x,xa_in),[0 run],xa); % (Odefun, timespan, y0)
%xa1 represents the conversion in the first tank….
The first tank works and I can calculate xa1, I now need to find xa in the tanks 2..N, how do I do this…?
Each tank N uses the input from the previous (N-1) tank for the concentration of A and B.
Do I create a second function, or nest it in the first? and I presume I need to initalise the values of xa(2..N)
I’m not sure how to set up a function for a matrix of outputs 2..N, and in the main function how to relate the CSTR1 with CSTR2..N matlab, ode, reaction engineering, functions MATLAB Answers — New Questions
creating sine wave with variable frequency
I used this configuration to create sine wave with variable frequency , i tried changing gain , simulation time , scope’s sampling time but ofcourse they all changed wave form but with same frequencyI used this configuration to create sine wave with variable frequency , i tried changing gain , simulation time , scope’s sampling time but ofcourse they all changed wave form but with same frequency I used this configuration to create sine wave with variable frequency , i tried changing gain , simulation time , scope’s sampling time but ofcourse they all changed wave form but with same frequency variable frequency, simulink, sine wave MATLAB Answers — New Questions
How to receive a sine wave signal from USRP2?
I am a student using the USRP N210 for the first time.
I have a USRP N210 with the LFRX daughter board. I am using Matlab to communicate with the USRP. Right now I am trying to familiarize myself with the USRP.
Using a signal generator, I am feeding a simple sine wave at around 2Mhz, 0dBm. I am trying to write a simple Matlab program that will be able to read the received sine wave through the USRP and plot it. I am having trouble producing the correct code to do so. Would the code below be in the right direction? Thanks.
RXObj = comm.SDRuReceiver(findsdru, …
‘CenterFrequency’, 2e6, …
‘DecimationFactor’, 100, …
‘OutputDataType’, ‘double’)
SigLog = dsp.SignalSink;
SigCount = 0;
while 1
% Get samples from RX at 100MHz/100 sample rate
[x, len] = step(RXObj);
if len > 0
step(SigLog, x)
SigCount = SigCount + 1;
end
if SigCount > 2000
break
end
end
data = SigLog.Buffer; %put logged data into array
release(hSDRu);
Now, this code just outputs complex doubles of really small magnitudes to data.
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 3.05185094759972e-05i
6.10370189519944e-05 + 3.05185094759972e-05i
0.00000000000000 + 3.05185094759972e-05i
0.00000000000000 + 3.05185094759972e-05i
0.00000000000000 + 0.00000000000000i
-3.05185094759972e-05 + 0.00000000000000i
-3.05185094759972e-05 – 3.05185094759972e-05i
-3.05185094759972e-05 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
-3.05185094759972e-05 + 0.00000000000000iI am a student using the USRP N210 for the first time.
I have a USRP N210 with the LFRX daughter board. I am using Matlab to communicate with the USRP. Right now I am trying to familiarize myself with the USRP.
Using a signal generator, I am feeding a simple sine wave at around 2Mhz, 0dBm. I am trying to write a simple Matlab program that will be able to read the received sine wave through the USRP and plot it. I am having trouble producing the correct code to do so. Would the code below be in the right direction? Thanks.
RXObj = comm.SDRuReceiver(findsdru, …
‘CenterFrequency’, 2e6, …
‘DecimationFactor’, 100, …
‘OutputDataType’, ‘double’)
SigLog = dsp.SignalSink;
SigCount = 0;
while 1
% Get samples from RX at 100MHz/100 sample rate
[x, len] = step(RXObj);
if len > 0
step(SigLog, x)
SigCount = SigCount + 1;
end
if SigCount > 2000
break
end
end
data = SigLog.Buffer; %put logged data into array
release(hSDRu);
Now, this code just outputs complex doubles of really small magnitudes to data.
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 3.05185094759972e-05i
6.10370189519944e-05 + 3.05185094759972e-05i
0.00000000000000 + 3.05185094759972e-05i
0.00000000000000 + 3.05185094759972e-05i
0.00000000000000 + 0.00000000000000i
-3.05185094759972e-05 + 0.00000000000000i
-3.05185094759972e-05 – 3.05185094759972e-05i
-3.05185094759972e-05 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
-3.05185094759972e-05 + 0.00000000000000i I am a student using the USRP N210 for the first time.
I have a USRP N210 with the LFRX daughter board. I am using Matlab to communicate with the USRP. Right now I am trying to familiarize myself with the USRP.
Using a signal generator, I am feeding a simple sine wave at around 2Mhz, 0dBm. I am trying to write a simple Matlab program that will be able to read the received sine wave through the USRP and plot it. I am having trouble producing the correct code to do so. Would the code below be in the right direction? Thanks.
RXObj = comm.SDRuReceiver(findsdru, …
‘CenterFrequency’, 2e6, …
‘DecimationFactor’, 100, …
‘OutputDataType’, ‘double’)
SigLog = dsp.SignalSink;
SigCount = 0;
while 1
% Get samples from RX at 100MHz/100 sample rate
[x, len] = step(RXObj);
if len > 0
step(SigLog, x)
SigCount = SigCount + 1;
end
if SigCount > 2000
break
end
end
data = SigLog.Buffer; %put logged data into array
release(hSDRu);
Now, this code just outputs complex doubles of really small magnitudes to data.
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
0.00000000000000 + 3.05185094759972e-05i
6.10370189519944e-05 + 3.05185094759972e-05i
0.00000000000000 + 3.05185094759972e-05i
0.00000000000000 + 3.05185094759972e-05i
0.00000000000000 + 0.00000000000000i
-3.05185094759972e-05 + 0.00000000000000i
-3.05185094759972e-05 – 3.05185094759972e-05i
-3.05185094759972e-05 + 0.00000000000000i
0.00000000000000 + 0.00000000000000i
-3.05185094759972e-05 + 0.00000000000000i usrp, dsp, communication MATLAB Answers — New Questions
i need to plus all numbers in my Array of 3×3 then divide that number by its area using save ,for loop, function
i want to plus all my numbers in my array of 3×3 then divide it by its area using for loop function and save pleasei want to plus all my numbers in my array of 3×3 then divide it by its area using for loop function and save please i want to plus all my numbers in my array of 3×3 then divide it by its area using for loop function and save please "calculation" MATLAB Answers — New Questions
Inclusive random numbers on a matrix in matlab
Hi I need to make a 20×10 matrix with random numbers between 0 and 5, inclusive. I already have the matrix but I can’t manage to make it inclusive, all the numbers go up tu 4.9999, does anyone know how to do it? I used this formula M=0+(5-0).*rand(20,10)Hi I need to make a 20×10 matrix with random numbers between 0 and 5, inclusive. I already have the matrix but I can’t manage to make it inclusive, all the numbers go up tu 4.9999, does anyone know how to do it? I used this formula M=0+(5-0).*rand(20,10) Hi I need to make a 20×10 matrix with random numbers between 0 and 5, inclusive. I already have the matrix but I can’t manage to make it inclusive, all the numbers go up tu 4.9999, does anyone know how to do it? I used this formula M=0+(5-0).*rand(20,10) matrix, array, random number generator, random, inclusive MATLAB Answers — New Questions
Legend for multiple plots
I want to generate a legend for multiple plots on the same figure using ‘hold on;’. I am using a certain method I found through googling but I am not getting expected results. Here is my code.
sf = 1; % scaling factor
lambda_b = 10; % BS process density
lambda_c = 10; % cluster process density c <= b
lambda_u = 50; % user process density; large enough to make each BS active
% Base station process
npointsb = poissrnd(lambda_b*sf); % poisson variable; no. of points
pprocb = rand(npointsb,2); % uniform dist of points
xb = pprocb(:,1);
yb = pprocb(:,2);
% Cluster process
npointsc = poissrnd(lambda_c*sf);
pprocc = rand(npointsc,2);
xc = pprocc(:,1);
yc = pprocc(:,2);
% User process
npointsu = poissrnd(lambda_u*sf);
pprocu = rand(npointsu,2);
xu = pprocu(:,1);
yu = pprocu(:,2);
figure();
[vxb,vyb] = voronoi(xb,yb);
[vxc,vyc] = voronoi(xc,yc);
p1 = plot(vxb,vyb,’b’,’userdata’,’BS tessellation’); hold on;
p2 = plot(xb,yb,’rs’,’userdata’,’BS’);
p3 = plot(vxc,vyc,’r’,’userdata’,’Cluster tessellation’);
p4 = plot(xu,yu,’go’,’userdata’,’User’); hold off;
legend(get(gca, ‘children’), get(get(gca, ‘children’), ‘userdata’));
axis([0 1 0 1]);
The result of this code is illustrated in the image.
<</matlabcentral/answers/uploaded_files/56370/legend.png>>
You can see there are multiple entries and I suspect that is because the variables returned by the voronoi function are matrices and not vectors like the other variables. It seems this is making the plot function return a column vector of Line objects and this is why I am getting the multiple legend entries.
How do I get around this and plot the correct legend ignoring the multiple entries?I want to generate a legend for multiple plots on the same figure using ‘hold on;’. I am using a certain method I found through googling but I am not getting expected results. Here is my code.
sf = 1; % scaling factor
lambda_b = 10; % BS process density
lambda_c = 10; % cluster process density c <= b
lambda_u = 50; % user process density; large enough to make each BS active
% Base station process
npointsb = poissrnd(lambda_b*sf); % poisson variable; no. of points
pprocb = rand(npointsb,2); % uniform dist of points
xb = pprocb(:,1);
yb = pprocb(:,2);
% Cluster process
npointsc = poissrnd(lambda_c*sf);
pprocc = rand(npointsc,2);
xc = pprocc(:,1);
yc = pprocc(:,2);
% User process
npointsu = poissrnd(lambda_u*sf);
pprocu = rand(npointsu,2);
xu = pprocu(:,1);
yu = pprocu(:,2);
figure();
[vxb,vyb] = voronoi(xb,yb);
[vxc,vyc] = voronoi(xc,yc);
p1 = plot(vxb,vyb,’b’,’userdata’,’BS tessellation’); hold on;
p2 = plot(xb,yb,’rs’,’userdata’,’BS’);
p3 = plot(vxc,vyc,’r’,’userdata’,’Cluster tessellation’);
p4 = plot(xu,yu,’go’,’userdata’,’User’); hold off;
legend(get(gca, ‘children’), get(get(gca, ‘children’), ‘userdata’));
axis([0 1 0 1]);
The result of this code is illustrated in the image.
<</matlabcentral/answers/uploaded_files/56370/legend.png>>
You can see there are multiple entries and I suspect that is because the variables returned by the voronoi function are matrices and not vectors like the other variables. It seems this is making the plot function return a column vector of Line objects and this is why I am getting the multiple legend entries.
How do I get around this and plot the correct legend ignoring the multiple entries? I want to generate a legend for multiple plots on the same figure using ‘hold on;’. I am using a certain method I found through googling but I am not getting expected results. Here is my code.
sf = 1; % scaling factor
lambda_b = 10; % BS process density
lambda_c = 10; % cluster process density c <= b
lambda_u = 50; % user process density; large enough to make each BS active
% Base station process
npointsb = poissrnd(lambda_b*sf); % poisson variable; no. of points
pprocb = rand(npointsb,2); % uniform dist of points
xb = pprocb(:,1);
yb = pprocb(:,2);
% Cluster process
npointsc = poissrnd(lambda_c*sf);
pprocc = rand(npointsc,2);
xc = pprocc(:,1);
yc = pprocc(:,2);
% User process
npointsu = poissrnd(lambda_u*sf);
pprocu = rand(npointsu,2);
xu = pprocu(:,1);
yu = pprocu(:,2);
figure();
[vxb,vyb] = voronoi(xb,yb);
[vxc,vyc] = voronoi(xc,yc);
p1 = plot(vxb,vyb,’b’,’userdata’,’BS tessellation’); hold on;
p2 = plot(xb,yb,’rs’,’userdata’,’BS’);
p3 = plot(vxc,vyc,’r’,’userdata’,’Cluster tessellation’);
p4 = plot(xu,yu,’go’,’userdata’,’User’); hold off;
legend(get(gca, ‘children’), get(get(gca, ‘children’), ‘userdata’));
axis([0 1 0 1]);
The result of this code is illustrated in the image.
<</matlabcentral/answers/uploaded_files/56370/legend.png>>
You can see there are multiple entries and I suspect that is because the variables returned by the voronoi function are matrices and not vectors like the other variables. It seems this is making the plot function return a column vector of Line objects and this is why I am getting the multiple legend entries.
How do I get around this and plot the correct legend ignoring the multiple entries? plot, plotting, legend MATLAB Answers — New Questions
how to get Integrated circuit pads in image?
I want to detect integrated circuit pads in this image. But I don’t understand how to get only pads. is there any method or suggestion. thank youI want to detect integrated circuit pads in this image. But I don’t understand how to get only pads. is there any method or suggestion. thank you I want to detect integrated circuit pads in this image. But I don’t understand how to get only pads. is there any method or suggestion. thank you pcb, image processing MATLAB Answers — New Questions