Category: Matlab
Category Archives: Matlab
Bisection and Fixed Point İterations: Function input
Can you give a hint me to insert a given function. For example I want to ask user to ‘give a function’, it can be any function. And then I am going to ask ‘which method are you going to use?’. According to answer, user will give upper limit, lower limit, and error for the bisection method. And fixed point, max iteration number and error for the iterations method.Can you give a hint me to insert a given function. For example I want to ask user to ‘give a function’, it can be any function. And then I am going to ask ‘which method are you going to use?’. According to answer, user will give upper limit, lower limit, and error for the bisection method. And fixed point, max iteration number and error for the iterations method. Can you give a hint me to insert a given function. For example I want to ask user to ‘give a function’, it can be any function. And then I am going to ask ‘which method are you going to use?’. According to answer, user will give upper limit, lower limit, and error for the bisection method. And fixed point, max iteration number and error for the iterations method. bisection, iteration, numerical analysis, numerical methods, function input MATLAB Answers — New Questions
Optimize size and location of distributed wind generation using NSGA II
Hi Everyone,
I’m trying to optimize the distributed wind generation in a radial distribution system using NSGA II algorithm.
I have voltage profile of the system, system loss, voltage unbalance factor, and saving as the objective function of the system. Each of the system objectives are bound with constraints and I’m using penalty factor approach to handle the constraints.
I have done coding the objective functions. But I do not understand how the NSGA II will identify and change the value of the original input data file of the radial power system bus data. So that NSGA II will test different combination of wind generation size and location to optimize the system.
Can some one help me to code or understand the logic behind inputting objective functions in to NSGA II code.
Do I have to do the power flow inside the objective function since it have to run each iteration to calculate the objective function for different combination of distributed generation size? I can post what I have done up to now if some one would like to help me understand what I have done wrong in my code. But I will omit posting messy lengthy code at the moment.
Any type of help or push toward the right direction would be appreciated.
Thank youHi Everyone,
I’m trying to optimize the distributed wind generation in a radial distribution system using NSGA II algorithm.
I have voltage profile of the system, system loss, voltage unbalance factor, and saving as the objective function of the system. Each of the system objectives are bound with constraints and I’m using penalty factor approach to handle the constraints.
I have done coding the objective functions. But I do not understand how the NSGA II will identify and change the value of the original input data file of the radial power system bus data. So that NSGA II will test different combination of wind generation size and location to optimize the system.
Can some one help me to code or understand the logic behind inputting objective functions in to NSGA II code.
Do I have to do the power flow inside the objective function since it have to run each iteration to calculate the objective function for different combination of distributed generation size? I can post what I have done up to now if some one would like to help me understand what I have done wrong in my code. But I will omit posting messy lengthy code at the moment.
Any type of help or push toward the right direction would be appreciated.
Thank you Hi Everyone,
I’m trying to optimize the distributed wind generation in a radial distribution system using NSGA II algorithm.
I have voltage profile of the system, system loss, voltage unbalance factor, and saving as the objective function of the system. Each of the system objectives are bound with constraints and I’m using penalty factor approach to handle the constraints.
I have done coding the objective functions. But I do not understand how the NSGA II will identify and change the value of the original input data file of the radial power system bus data. So that NSGA II will test different combination of wind generation size and location to optimize the system.
Can some one help me to code or understand the logic behind inputting objective functions in to NSGA II code.
Do I have to do the power flow inside the objective function since it have to run each iteration to calculate the objective function for different combination of distributed generation size? I can post what I have done up to now if some one would like to help me understand what I have done wrong in my code. But I will omit posting messy lengthy code at the moment.
Any type of help or push toward the right direction would be appreciated.
Thank you optimization, nsga ii MATLAB Answers — New Questions
[System Identification] Estimate and validate transfer function
Hi!
There are 4 sets of data in the attached mat file:
Data_estimate_dry
Data_validate_dry
Data_estimate_wet
Data_validate_wet
Note that for the wet, the output data (y1) decreases at a much faster rate than the dry.
I used the following to estimate the transfer function based on dry set of data:
Opt = tfestOptions(‘Display’,’on’);
mtf = tfest(Data_estimate_dry, 2,2,13,Opt);
Used another set to check the fit:
figure, compare(Data_validate_dry,mtf)
The resulting fit looks good with 88% fit.
Then I used wet data to run it through the estimated transfer function:
figure, compare(Data_validate_wet,mtf)
As expected, the fit is not good. However, during the decay phase, I expected to see a big different between simulated data and the wet data.
Is this due to different input signals for wet and dry data?Hi!
There are 4 sets of data in the attached mat file:
Data_estimate_dry
Data_validate_dry
Data_estimate_wet
Data_validate_wet
Note that for the wet, the output data (y1) decreases at a much faster rate than the dry.
I used the following to estimate the transfer function based on dry set of data:
Opt = tfestOptions(‘Display’,’on’);
mtf = tfest(Data_estimate_dry, 2,2,13,Opt);
Used another set to check the fit:
figure, compare(Data_validate_dry,mtf)
The resulting fit looks good with 88% fit.
Then I used wet data to run it through the estimated transfer function:
figure, compare(Data_validate_wet,mtf)
As expected, the fit is not good. However, during the decay phase, I expected to see a big different between simulated data and the wet data.
Is this due to different input signals for wet and dry data? Hi!
There are 4 sets of data in the attached mat file:
Data_estimate_dry
Data_validate_dry
Data_estimate_wet
Data_validate_wet
Note that for the wet, the output data (y1) decreases at a much faster rate than the dry.
I used the following to estimate the transfer function based on dry set of data:
Opt = tfestOptions(‘Display’,’on’);
mtf = tfest(Data_estimate_dry, 2,2,13,Opt);
Used another set to check the fit:
figure, compare(Data_validate_dry,mtf)
The resulting fit looks good with 88% fit.
Then I used wet data to run it through the estimated transfer function:
figure, compare(Data_validate_wet,mtf)
As expected, the fit is not good. However, during the decay phase, I expected to see a big different between simulated data and the wet data.
Is this due to different input signals for wet and dry data? tfest, system identification toolbox MATLAB Answers — New Questions
I’d like to plot color image histograms that combine color as RGB
I’d like to plot a histogram of color images that look like this
when each color band overlaps it change colors according to the RGB combination of it. Like Red-Green overlapped area produces Yellow, Green-Blue produces Cyan etc.
Thank you in advance.I’d like to plot a histogram of color images that look like this
when each color band overlaps it change colors according to the RGB combination of it. Like Red-Green overlapped area produces Yellow, Green-Blue produces Cyan etc.
Thank you in advance. I’d like to plot a histogram of color images that look like this
when each color band overlaps it change colors according to the RGB combination of it. Like Red-Green overlapped area produces Yellow, Green-Blue produces Cyan etc.
Thank you in advance. histogram, image processing, digital image processing, plot MATLAB Answers — New Questions
Matlab GUI cache file
Hi,
I created a exe file of Matlab GUI program, and found that each time I run the exe file, the source codes (.m files) will be generated in a cache folder. I was wondering that is that possible to hide those source codes to prevent other users from finding those when they use the exe file.
Thanks.
Regards,Hi,
I created a exe file of Matlab GUI program, and found that each time I run the exe file, the source codes (.m files) will be generated in a cache folder. I was wondering that is that possible to hide those source codes to prevent other users from finding those when they use the exe file.
Thanks.
Regards, Hi,
I created a exe file of Matlab GUI program, and found that each time I run the exe file, the source codes (.m files) will be generated in a cache folder. I was wondering that is that possible to hide those source codes to prevent other users from finding those when they use the exe file.
Thanks.
Regards, gui, cache, m file MATLAB Answers — New Questions
Error with Vector Length
Hi All,
Trying to get this code to work for a school lab assignment. I keep getting a vector length error, but my classmates are not having the same problem. Not sure what is the difference between my system and theirs. We are all running MATLAB R2022b. Could someone please point me in the right direction and explain why this isn’t working?
Thanks!
Code:
clear;
close all;
t0=0;
t1=-10;
t2=20;
[x,t]=step(t0,t1,t2)
figure
plot(t,x,’r’,’linewidth,2′);
xlabel(‘Time (s)’);
ylabel(‘Signal Amplitude’);
Error Message:Hi All,
Trying to get this code to work for a school lab assignment. I keep getting a vector length error, but my classmates are not having the same problem. Not sure what is the difference between my system and theirs. We are all running MATLAB R2022b. Could someone please point me in the right direction and explain why this isn’t working?
Thanks!
Code:
clear;
close all;
t0=0;
t1=-10;
t2=20;
[x,t]=step(t0,t1,t2)
figure
plot(t,x,’r’,’linewidth,2′);
xlabel(‘Time (s)’);
ylabel(‘Signal Amplitude’);
Error Message: Hi All,
Trying to get this code to work for a school lab assignment. I keep getting a vector length error, but my classmates are not having the same problem. Not sure what is the difference between my system and theirs. We are all running MATLAB R2022b. Could someone please point me in the right direction and explain why this isn’t working?
Thanks!
Code:
clear;
close all;
t0=0;
t1=-10;
t2=20;
[x,t]=step(t0,t1,t2)
figure
plot(t,x,’r’,’linewidth,2′);
xlabel(‘Time (s)’);
ylabel(‘Signal Amplitude’);
Error Message: vector length MATLAB Answers — New Questions
Fzero function error in MATLAB. Need inputs regarding the ways to combat the error
I can’t seem to rectify this error at all.Can anyone let me know how to deal with this error? I always clear all and clc at the beginning of the code so I don’t think there’s a variable remaining in the workspace
Error using fzero>localFirstFcnEvalError
FZERO cannot continue because user-supplied function_handle ==>
@(c_H) closedsys(c_H,Q_rest_Na_Cl(b),v_W,k_1,k_2,ksp_CACO3,k_H,k_W,N_totCa,N_totC,v_G,T)
failed with the error below.
Array indices must be positive integers or logical values.
Error in fzero (line 295)
localFirstFcnEvalError(FunFcn,FunFcnIn,ME);
Error in line 37
c_H_zero = abs(fzero(closesys_func, c_H))
Given below is the line 295 that is in the MATLAB logs
% Put first feval in try catch
try
fx = FunFcn(x,varargin{:});
catch ME
localFirstFcnEvalError(FunFcn,FunFcnIn,ME);
endI can’t seem to rectify this error at all.Can anyone let me know how to deal with this error? I always clear all and clc at the beginning of the code so I don’t think there’s a variable remaining in the workspace
Error using fzero>localFirstFcnEvalError
FZERO cannot continue because user-supplied function_handle ==>
@(c_H) closedsys(c_H,Q_rest_Na_Cl(b),v_W,k_1,k_2,ksp_CACO3,k_H,k_W,N_totCa,N_totC,v_G,T)
failed with the error below.
Array indices must be positive integers or logical values.
Error in fzero (line 295)
localFirstFcnEvalError(FunFcn,FunFcnIn,ME);
Error in line 37
c_H_zero = abs(fzero(closesys_func, c_H))
Given below is the line 295 that is in the MATLAB logs
% Put first feval in try catch
try
fx = FunFcn(x,varargin{:});
catch ME
localFirstFcnEvalError(FunFcn,FunFcnIn,ME);
end I can’t seem to rectify this error at all.Can anyone let me know how to deal with this error? I always clear all and clc at the beginning of the code so I don’t think there’s a variable remaining in the workspace
Error using fzero>localFirstFcnEvalError
FZERO cannot continue because user-supplied function_handle ==>
@(c_H) closedsys(c_H,Q_rest_Na_Cl(b),v_W,k_1,k_2,ksp_CACO3,k_H,k_W,N_totCa,N_totC,v_G,T)
failed with the error below.
Array indices must be positive integers or logical values.
Error in fzero (line 295)
localFirstFcnEvalError(FunFcn,FunFcnIn,ME);
Error in line 37
c_H_zero = abs(fzero(closesys_func, c_H))
Given below is the line 295 that is in the MATLAB logs
% Put first feval in try catch
try
fx = FunFcn(x,varargin{:});
catch ME
localFirstFcnEvalError(FunFcn,FunFcnIn,ME);
end fzero, function MATLAB Answers — New Questions
What could be the cause of poor-shaped sinusoidal current in electric motor drive?
In a synchronous motor drive simscape model, I need to test the motor performance before adding speed or current controllers, so I supplied the PWM generator with input reference sinusoids, but it comes out that the output motor currents aren’t pure sinusoids! What could be the reason of that? Shouldn’t the output currents be Ok with these current settings? Or does the uncontrolled torque somehow affect the current? Or is it something with the filtering at the inverter side? I think I don’t have problems with the sampling time and switching frequency settings.In a synchronous motor drive simscape model, I need to test the motor performance before adding speed or current controllers, so I supplied the PWM generator with input reference sinusoids, but it comes out that the output motor currents aren’t pure sinusoids! What could be the reason of that? Shouldn’t the output currents be Ok with these current settings? Or does the uncontrolled torque somehow affect the current? Or is it something with the filtering at the inverter side? I think I don’t have problems with the sampling time and switching frequency settings. In a synchronous motor drive simscape model, I need to test the motor performance before adding speed or current controllers, so I supplied the PWM generator with input reference sinusoids, but it comes out that the output motor currents aren’t pure sinusoids! What could be the reason of that? Shouldn’t the output currents be Ok with these current settings? Or does the uncontrolled torque somehow affect the current? Or is it something with the filtering at the inverter side? I think I don’t have problems with the sampling time and switching frequency settings. simscape, electric_motor_control, power_electronics_control MATLAB Answers — New Questions
How can change Dem package path in AUTOSAR Dictionary?
Hello. I want change DEM interface package path in AUTOSAR Dictionary.
But, it is inactive as shown in the picture below.
So, Is there a way to change it?Hello. I want change DEM interface package path in AUTOSAR Dictionary.
But, it is inactive as shown in the picture below.
So, Is there a way to change it? Hello. I want change DEM interface package path in AUTOSAR Dictionary.
But, it is inactive as shown in the picture below.
So, Is there a way to change it? dem, autosar blockset MATLAB Answers — New Questions
Find max within due date and find max within due date by class section
I am able to find the max of the date_submitted. How do I find the max of the date_submitted but within the Lab_due_date column? Also, how do I find the max of the date_submitted within the Lab_due_date by class_section?I am able to find the max of the date_submitted. How do I find the max of the date_submitted but within the Lab_due_date column? Also, how do I find the max of the date_submitted within the Lab_due_date by class_section? I am able to find the max of the date_submitted. How do I find the max of the date_submitted but within the Lab_due_date column? Also, how do I find the max of the date_submitted within the Lab_due_date by class_section? max by due date, max by due date and class section MATLAB Answers — New Questions
How do I put a uitable in a tiledlayout?
Hello,
I’m trying to graph some data in a particular way. I need to make the same 4 plots over a variable number of iterations of data and put them all into one fixed-size figure. I need one of these 4 plots to be a table displaying some info about the data. I tried using uitable, but it errors when you try to pass it a tiled layout as it’s parent. I could put the figure handle as the parent, but that seems difficult to position and size correctly.
How can I accomplish what I’m trying to do? Is there an alternative to uitable I could use?
Here is my example code and output:
%variable number of data files to plot; could be 4,8, or 15
thingsToPlot=8;
%creates square for tiles depending on # of files; 2x for double wide plots
n=2*ceil(sqrt(thingsToPlot));
%Parent Figure; Size must stay the same to allow exporting to ppt to be consistent
fig = figure(‘Name’,’Example’,’NumberTitle’,’off’,’units’,’inches’,’Position’,[4 2 10 6.4]);
%Tiled layout parent container, child of fig
TL=tiledlayout(fig,n,n,’TileSpacing’,’tight’);
for i=1:thingsToPlot
%Child container; Need to plot a 2×2 tile for each file and it in parent container
tl=tiledlayout(TL,2,2,’Padding’,’tight’,’TileSpacing’,’tight’);
tl.Title.String=[‘Iteration ‘ num2str(i)];
%double wide tiles so they’re more visible;
tl.Layout.TileSpan=[2 2];
%Positioning math to make the 2×2 tiles fit and sequence correctly
pos=2*i-1;
tl.Layout.Tile=pos+n*floor(pos/n);
%example data
data=rand(3,5);
nexttile(tl)
plot(data(1,:))
nexttile(tl)
plot(data(2,:))
nexttile(tl)
plot(data(3,:))
nexttile(tl)
tab=table();
tab.A=data(1,:);
tab.B=data(2,:);
tab.C=data(3,:);
%want to put a table here
% uit=uitable(tl,tab);
endHello,
I’m trying to graph some data in a particular way. I need to make the same 4 plots over a variable number of iterations of data and put them all into one fixed-size figure. I need one of these 4 plots to be a table displaying some info about the data. I tried using uitable, but it errors when you try to pass it a tiled layout as it’s parent. I could put the figure handle as the parent, but that seems difficult to position and size correctly.
How can I accomplish what I’m trying to do? Is there an alternative to uitable I could use?
Here is my example code and output:
%variable number of data files to plot; could be 4,8, or 15
thingsToPlot=8;
%creates square for tiles depending on # of files; 2x for double wide plots
n=2*ceil(sqrt(thingsToPlot));
%Parent Figure; Size must stay the same to allow exporting to ppt to be consistent
fig = figure(‘Name’,’Example’,’NumberTitle’,’off’,’units’,’inches’,’Position’,[4 2 10 6.4]);
%Tiled layout parent container, child of fig
TL=tiledlayout(fig,n,n,’TileSpacing’,’tight’);
for i=1:thingsToPlot
%Child container; Need to plot a 2×2 tile for each file and it in parent container
tl=tiledlayout(TL,2,2,’Padding’,’tight’,’TileSpacing’,’tight’);
tl.Title.String=[‘Iteration ‘ num2str(i)];
%double wide tiles so they’re more visible;
tl.Layout.TileSpan=[2 2];
%Positioning math to make the 2×2 tiles fit and sequence correctly
pos=2*i-1;
tl.Layout.Tile=pos+n*floor(pos/n);
%example data
data=rand(3,5);
nexttile(tl)
plot(data(1,:))
nexttile(tl)
plot(data(2,:))
nexttile(tl)
plot(data(3,:))
nexttile(tl)
tab=table();
tab.A=data(1,:);
tab.B=data(2,:);
tab.C=data(3,:);
%want to put a table here
% uit=uitable(tl,tab);
end Hello,
I’m trying to graph some data in a particular way. I need to make the same 4 plots over a variable number of iterations of data and put them all into one fixed-size figure. I need one of these 4 plots to be a table displaying some info about the data. I tried using uitable, but it errors when you try to pass it a tiled layout as it’s parent. I could put the figure handle as the parent, but that seems difficult to position and size correctly.
How can I accomplish what I’m trying to do? Is there an alternative to uitable I could use?
Here is my example code and output:
%variable number of data files to plot; could be 4,8, or 15
thingsToPlot=8;
%creates square for tiles depending on # of files; 2x for double wide plots
n=2*ceil(sqrt(thingsToPlot));
%Parent Figure; Size must stay the same to allow exporting to ppt to be consistent
fig = figure(‘Name’,’Example’,’NumberTitle’,’off’,’units’,’inches’,’Position’,[4 2 10 6.4]);
%Tiled layout parent container, child of fig
TL=tiledlayout(fig,n,n,’TileSpacing’,’tight’);
for i=1:thingsToPlot
%Child container; Need to plot a 2×2 tile for each file and it in parent container
tl=tiledlayout(TL,2,2,’Padding’,’tight’,’TileSpacing’,’tight’);
tl.Title.String=[‘Iteration ‘ num2str(i)];
%double wide tiles so they’re more visible;
tl.Layout.TileSpan=[2 2];
%Positioning math to make the 2×2 tiles fit and sequence correctly
pos=2*i-1;
tl.Layout.Tile=pos+n*floor(pos/n);
%example data
data=rand(3,5);
nexttile(tl)
plot(data(1,:))
nexttile(tl)
plot(data(2,:))
nexttile(tl)
plot(data(3,:))
nexttile(tl)
tab=table();
tab.A=data(1,:);
tab.B=data(2,:);
tab.C=data(3,:);
%want to put a table here
% uit=uitable(tl,tab);
end plotting, uitable MATLAB Answers — New Questions
Effecincy in i-v and p-v curves
hey guys i just wanted to ask u if any one could make the matlab simulink pv arrays i-v and p-v curves and getting a normal result after i needed to get some curves with some zigzags and drops and it’s looks like a changing in efficency i accept any thx for u all and i will add a figure to describe what i meanhey guys i just wanted to ask u if any one could make the matlab simulink pv arrays i-v and p-v curves and getting a normal result after i needed to get some curves with some zigzags and drops and it’s looks like a changing in efficency i accept any thx for u all and i will add a figure to describe what i mean hey guys i just wanted to ask u if any one could make the matlab simulink pv arrays i-v and p-v curves and getting a normal result after i needed to get some curves with some zigzags and drops and it’s looks like a changing in efficency i accept any thx for u all and i will add a figure to describe what i mean matlab, matlab code, curve fitting, pv array, i-v curve, p-v curve, simulink, simulation MATLAB Answers — New Questions
Is there any way to speed this up?
I have a large (100x100x100) dataset of very small probabilites for electron locations in the hydrogen atom. I am attempting to create a 3-D heatmap of sorts, which I have done, using isosurface and layering many of them ontop of eachother using this code.
figure()
Psi = importdata("psi.mat");
n = 4;
l = 2;
m = 0;
isovalues1 = 1*10^(-(n+2)):1*10^(-(n+2)):1*10^(-n);
for i=1:length(isovalues1)
isosurface(Psi.^2,isovalues1(i))
alpha(isovalues1(i)*10^(n-2));
end
axis equal
axis vis3d
ax=gca; ax.SortMethod=’childorder’;
colorbar
title([‘N = ‘,num2str(n),’, L = ‘,num2str(l),’, M = ‘,num2str(m)])
This works. But as you can imagine, making 100 isosurfaces at a time can be quite slow. I was wondering if there was any way to speed up what I have or perhaps another way to make a 3-D heatmap.I have a large (100x100x100) dataset of very small probabilites for electron locations in the hydrogen atom. I am attempting to create a 3-D heatmap of sorts, which I have done, using isosurface and layering many of them ontop of eachother using this code.
figure()
Psi = importdata("psi.mat");
n = 4;
l = 2;
m = 0;
isovalues1 = 1*10^(-(n+2)):1*10^(-(n+2)):1*10^(-n);
for i=1:length(isovalues1)
isosurface(Psi.^2,isovalues1(i))
alpha(isovalues1(i)*10^(n-2));
end
axis equal
axis vis3d
ax=gca; ax.SortMethod=’childorder’;
colorbar
title([‘N = ‘,num2str(n),’, L = ‘,num2str(l),’, M = ‘,num2str(m)])
This works. But as you can imagine, making 100 isosurfaces at a time can be quite slow. I was wondering if there was any way to speed up what I have or perhaps another way to make a 3-D heatmap. I have a large (100x100x100) dataset of very small probabilites for electron locations in the hydrogen atom. I am attempting to create a 3-D heatmap of sorts, which I have done, using isosurface and layering many of them ontop of eachother using this code.
figure()
Psi = importdata("psi.mat");
n = 4;
l = 2;
m = 0;
isovalues1 = 1*10^(-(n+2)):1*10^(-(n+2)):1*10^(-n);
for i=1:length(isovalues1)
isosurface(Psi.^2,isovalues1(i))
alpha(isovalues1(i)*10^(n-2));
end
axis equal
axis vis3d
ax=gca; ax.SortMethod=’childorder’;
colorbar
title([‘N = ‘,num2str(n),’, L = ‘,num2str(l),’, M = ‘,num2str(m)])
This works. But as you can imagine, making 100 isosurfaces at a time can be quite slow. I was wondering if there was any way to speed up what I have or perhaps another way to make a 3-D heatmap. speed, isosurface MATLAB Answers — New Questions
Struggling with Custom Motor Integration and PID Tuning in IPMSM Velocity Control
Hello MATLAB Community,
I am currently working on customizing the IPMSM Velocity Control example to incorporate my own motor parameters. Despite several attempts, I have been unsuccessful in achieving the desired control performance. Here are the specific motor parameters I am using:
Pmax: 60,000 W (Maximum power)
Tmax: 80 Nm (Maximum torque)
Ld: 0.0008 H (Stator d-axis inductance)
Lq: 0.001 H (Stator q-axis inductance)
L0: 0.0005 H (Stator zero-sequence inductance)
Rs: 0.01245 Ω (Stator resistance per phase)
psim: 0.06 Wb (Permanent magnet flux linkage)
p: 4 (Number of pole pairs)
Jm: 0.0012 Kg*m^2 (Rotor inertia)
Back EMF constant: 0.233 V/(rad/s)
I have tried using the Step Response Optimizer and the "Tune Field-Oriented Controllers Using Closed-Loop PID Autotuner Block" to adjust the P and I values for D, Q, and the speed control loops, but I have not been successful.
Could anyone provide guidance or suggestions on how to properly adjust these parameters? Specifically, I am looking for advice on:
Properly integrating my motor parameters into the IPMSM Velocity Control example.
Effective methods for tuning the PID controllers for the D-axis, Q-axis, and speed control loops.
Any help or insights would be greatly appreciated.
Thank you!Hello MATLAB Community,
I am currently working on customizing the IPMSM Velocity Control example to incorporate my own motor parameters. Despite several attempts, I have been unsuccessful in achieving the desired control performance. Here are the specific motor parameters I am using:
Pmax: 60,000 W (Maximum power)
Tmax: 80 Nm (Maximum torque)
Ld: 0.0008 H (Stator d-axis inductance)
Lq: 0.001 H (Stator q-axis inductance)
L0: 0.0005 H (Stator zero-sequence inductance)
Rs: 0.01245 Ω (Stator resistance per phase)
psim: 0.06 Wb (Permanent magnet flux linkage)
p: 4 (Number of pole pairs)
Jm: 0.0012 Kg*m^2 (Rotor inertia)
Back EMF constant: 0.233 V/(rad/s)
I have tried using the Step Response Optimizer and the "Tune Field-Oriented Controllers Using Closed-Loop PID Autotuner Block" to adjust the P and I values for D, Q, and the speed control loops, but I have not been successful.
Could anyone provide guidance or suggestions on how to properly adjust these parameters? Specifically, I am looking for advice on:
Properly integrating my motor parameters into the IPMSM Velocity Control example.
Effective methods for tuning the PID controllers for the D-axis, Q-axis, and speed control loops.
Any help or insights would be greatly appreciated.
Thank you! Hello MATLAB Community,
I am currently working on customizing the IPMSM Velocity Control example to incorporate my own motor parameters. Despite several attempts, I have been unsuccessful in achieving the desired control performance. Here are the specific motor parameters I am using:
Pmax: 60,000 W (Maximum power)
Tmax: 80 Nm (Maximum torque)
Ld: 0.0008 H (Stator d-axis inductance)
Lq: 0.001 H (Stator q-axis inductance)
L0: 0.0005 H (Stator zero-sequence inductance)
Rs: 0.01245 Ω (Stator resistance per phase)
psim: 0.06 Wb (Permanent magnet flux linkage)
p: 4 (Number of pole pairs)
Jm: 0.0012 Kg*m^2 (Rotor inertia)
Back EMF constant: 0.233 V/(rad/s)
I have tried using the Step Response Optimizer and the "Tune Field-Oriented Controllers Using Closed-Loop PID Autotuner Block" to adjust the P and I values for D, Q, and the speed control loops, but I have not been successful.
Could anyone provide guidance or suggestions on how to properly adjust these parameters? Specifically, I am looking for advice on:
Properly integrating my motor parameters into the IPMSM Velocity Control example.
Effective methods for tuning the PID controllers for the D-axis, Q-axis, and speed control loops.
Any help or insights would be greatly appreciated.
Thank you! simulink, simscape, electric_motor_control MATLAB Answers — New Questions
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