Tag Archives: matlab
Simulink HDL model of Envelope detector
I’m new here, I have a simple envelope detector model designed on simulink following these instructions: https://www.mathworks.com/help/dsp/ug/envelope-detection.html?searchHighlight=envelope&s_tid=srchtitle_support_results_5_envelope. I tried but the input signal’s envelope still shows unwanted word parts at the beginning and end of the envelope (I marked it in red in the image below). Does anyone know where my design problem lies? I spent 2 days with it and still no progress. We hope to receive your help. Thanks a lot
The simulink model and file m contains the filter coefficients is attached below. I hope someone can help me solve this problem, it’s very important to me. Sorry for disturbingI’m new here, I have a simple envelope detector model designed on simulink following these instructions: https://www.mathworks.com/help/dsp/ug/envelope-detection.html?searchHighlight=envelope&s_tid=srchtitle_support_results_5_envelope. I tried but the input signal’s envelope still shows unwanted word parts at the beginning and end of the envelope (I marked it in red in the image below). Does anyone know where my design problem lies? I spent 2 days with it and still no progress. We hope to receive your help. Thanks a lot
The simulink model and file m contains the filter coefficients is attached below. I hope someone can help me solve this problem, it’s very important to me. Sorry for disturbing I’m new here, I have a simple envelope detector model designed on simulink following these instructions: https://www.mathworks.com/help/dsp/ug/envelope-detection.html?searchHighlight=envelope&s_tid=srchtitle_support_results_5_envelope. I tried but the input signal’s envelope still shows unwanted word parts at the beginning and end of the envelope (I marked it in red in the image below). Does anyone know where my design problem lies? I spent 2 days with it and still no progress. We hope to receive your help. Thanks a lot
The simulink model and file m contains the filter coefficients is attached below. I hope someone can help me solve this problem, it’s very important to me. Sorry for disturbing simulink, matlab, hdl, matlab code MATLAB Answers — New Questions
How Can I plot Streamlines for the following code
Rva=[1 0.01];
for i=1:2
M= Rva (i);
lines = {‘:b’,’:g’};
lmd=1;
y=0.5;
gam=1;
N=0.0;
A=0;
B=1;
c1=(A+(B.*gam))./(1+gam);
c2=(B-A)./(1+gam);
T=c1+(c2.*y);
k1=(-N.*((A.^2)-(2.*A.*B)+(B.^2)))./((1+gam).^2);
k2=(-((2.*N.*(A.*B-(A.^2)-(A.*B.*gam)+(B.^2).*gam)+(B-A-(A.*gam)+(B.*gam)))))./((1+gam).^2);
k3=(-(N.*((A.^2)+(2.*A.*B.*gam)+(B.^2).*(gam.^2))+(A+(A.*gam)+(B.*gam)+(B.*(gam.^2)))))./((1+gam).^2);
x1=(1./(lmd.*M.*(cosh(M))+sinh(M)));
x2=((1-cosh(M)).*((2.*k1)+((M.^2).*k3))./(M.^4))+(k1+(k2.*(1+lmd.*(cosh(M)))))./(M.^2);
c4=x1.*x2;
c3=(lmd.*M.*c4)+((2.*k1+(M.^2).*k3)./(M.^4))-(lmd.*k2./(M.^2));
u=c3.*(cosh(M.*y))+c4.*(sinh(M.*y))-((k1.*(y.^2)+(k2.*y)+((2.*k1+(M.^2).*k3)./(M.^2))))./(M.^2);
t0=M.*c4-(k2./(M.^2));
t1=M.*(c3.*sinh(M)+c4.*cosh(M))-((2.*k1+k2)./(M.^2));
t=M.*(c3.*sinh(M.*y)+c4.*cosh(M.*y))-((2.*k1.*y+k2)./(M.^2));
Q=(1./M).*(c3.*sinh(M)+c4.*(cosh(M)-1))-((((M.^2)+6).*k1)./(3.*(M.^4)))-((k2+2.*k3)./(2.*(M.^2)));
k4=-(k1./(M.^2));
k5=-(k2./(M.^2));
k6=-((2.*k1+(M.^2).*k3)./(M.^4));
x3=((4.*c1.*k4)+(6.*c1.*k5)+(12.*c1.*k6)+(3.*c2.*k4)+(4.*c2.*k5)+(6.*c2.*k6))./(12);
Tb1=((c1.*c3).*(sinh(M))./M)+((c1.*c4).*(cosh(M)-1)./(M));
Tb2=((c2.*c3).*(M.*sinh(M)-(cosh(M))+1)./(M.^2));
Tb3=(((c2.*c4).*(M.*(cosh(M))-(sinh(M)))./(M.^2))+x3);
Tb=(1./Q).*(Tb1+Tb2+Tb3);
Nu0=-c2./Tb;
Nu1=c2./Tb;
S=(T+(N.*T.*T));
figure(2)
hold on;
plot(y,u, lines {i},’linewidth’,2)
xlabel(‘Y’);
ylabel(‘U’);
box on;
hold off;
fprintf (‘M=%ft u=%ft Q=%ft Tb=%ft cf0=%ft cf1=%ft Nu0=%ft Nu1=%f n ‘,M,u,Q,Tb,(t0),(t1),(Nu0),(Nu1));
endRva=[1 0.01];
for i=1:2
M= Rva (i);
lines = {‘:b’,’:g’};
lmd=1;
y=0.5;
gam=1;
N=0.0;
A=0;
B=1;
c1=(A+(B.*gam))./(1+gam);
c2=(B-A)./(1+gam);
T=c1+(c2.*y);
k1=(-N.*((A.^2)-(2.*A.*B)+(B.^2)))./((1+gam).^2);
k2=(-((2.*N.*(A.*B-(A.^2)-(A.*B.*gam)+(B.^2).*gam)+(B-A-(A.*gam)+(B.*gam)))))./((1+gam).^2);
k3=(-(N.*((A.^2)+(2.*A.*B.*gam)+(B.^2).*(gam.^2))+(A+(A.*gam)+(B.*gam)+(B.*(gam.^2)))))./((1+gam).^2);
x1=(1./(lmd.*M.*(cosh(M))+sinh(M)));
x2=((1-cosh(M)).*((2.*k1)+((M.^2).*k3))./(M.^4))+(k1+(k2.*(1+lmd.*(cosh(M)))))./(M.^2);
c4=x1.*x2;
c3=(lmd.*M.*c4)+((2.*k1+(M.^2).*k3)./(M.^4))-(lmd.*k2./(M.^2));
u=c3.*(cosh(M.*y))+c4.*(sinh(M.*y))-((k1.*(y.^2)+(k2.*y)+((2.*k1+(M.^2).*k3)./(M.^2))))./(M.^2);
t0=M.*c4-(k2./(M.^2));
t1=M.*(c3.*sinh(M)+c4.*cosh(M))-((2.*k1+k2)./(M.^2));
t=M.*(c3.*sinh(M.*y)+c4.*cosh(M.*y))-((2.*k1.*y+k2)./(M.^2));
Q=(1./M).*(c3.*sinh(M)+c4.*(cosh(M)-1))-((((M.^2)+6).*k1)./(3.*(M.^4)))-((k2+2.*k3)./(2.*(M.^2)));
k4=-(k1./(M.^2));
k5=-(k2./(M.^2));
k6=-((2.*k1+(M.^2).*k3)./(M.^4));
x3=((4.*c1.*k4)+(6.*c1.*k5)+(12.*c1.*k6)+(3.*c2.*k4)+(4.*c2.*k5)+(6.*c2.*k6))./(12);
Tb1=((c1.*c3).*(sinh(M))./M)+((c1.*c4).*(cosh(M)-1)./(M));
Tb2=((c2.*c3).*(M.*sinh(M)-(cosh(M))+1)./(M.^2));
Tb3=(((c2.*c4).*(M.*(cosh(M))-(sinh(M)))./(M.^2))+x3);
Tb=(1./Q).*(Tb1+Tb2+Tb3);
Nu0=-c2./Tb;
Nu1=c2./Tb;
S=(T+(N.*T.*T));
figure(2)
hold on;
plot(y,u, lines {i},’linewidth’,2)
xlabel(‘Y’);
ylabel(‘U’);
box on;
hold off;
fprintf (‘M=%ft u=%ft Q=%ft Tb=%ft cf0=%ft cf1=%ft Nu0=%ft Nu1=%f n ‘,M,u,Q,Tb,(t0),(t1),(Nu0),(Nu1));
end Rva=[1 0.01];
for i=1:2
M= Rva (i);
lines = {‘:b’,’:g’};
lmd=1;
y=0.5;
gam=1;
N=0.0;
A=0;
B=1;
c1=(A+(B.*gam))./(1+gam);
c2=(B-A)./(1+gam);
T=c1+(c2.*y);
k1=(-N.*((A.^2)-(2.*A.*B)+(B.^2)))./((1+gam).^2);
k2=(-((2.*N.*(A.*B-(A.^2)-(A.*B.*gam)+(B.^2).*gam)+(B-A-(A.*gam)+(B.*gam)))))./((1+gam).^2);
k3=(-(N.*((A.^2)+(2.*A.*B.*gam)+(B.^2).*(gam.^2))+(A+(A.*gam)+(B.*gam)+(B.*(gam.^2)))))./((1+gam).^2);
x1=(1./(lmd.*M.*(cosh(M))+sinh(M)));
x2=((1-cosh(M)).*((2.*k1)+((M.^2).*k3))./(M.^4))+(k1+(k2.*(1+lmd.*(cosh(M)))))./(M.^2);
c4=x1.*x2;
c3=(lmd.*M.*c4)+((2.*k1+(M.^2).*k3)./(M.^4))-(lmd.*k2./(M.^2));
u=c3.*(cosh(M.*y))+c4.*(sinh(M.*y))-((k1.*(y.^2)+(k2.*y)+((2.*k1+(M.^2).*k3)./(M.^2))))./(M.^2);
t0=M.*c4-(k2./(M.^2));
t1=M.*(c3.*sinh(M)+c4.*cosh(M))-((2.*k1+k2)./(M.^2));
t=M.*(c3.*sinh(M.*y)+c4.*cosh(M.*y))-((2.*k1.*y+k2)./(M.^2));
Q=(1./M).*(c3.*sinh(M)+c4.*(cosh(M)-1))-((((M.^2)+6).*k1)./(3.*(M.^4)))-((k2+2.*k3)./(2.*(M.^2)));
k4=-(k1./(M.^2));
k5=-(k2./(M.^2));
k6=-((2.*k1+(M.^2).*k3)./(M.^4));
x3=((4.*c1.*k4)+(6.*c1.*k5)+(12.*c1.*k6)+(3.*c2.*k4)+(4.*c2.*k5)+(6.*c2.*k6))./(12);
Tb1=((c1.*c3).*(sinh(M))./M)+((c1.*c4).*(cosh(M)-1)./(M));
Tb2=((c2.*c3).*(M.*sinh(M)-(cosh(M))+1)./(M.^2));
Tb3=(((c2.*c4).*(M.*(cosh(M))-(sinh(M)))./(M.^2))+x3);
Tb=(1./Q).*(Tb1+Tb2+Tb3);
Nu0=-c2./Tb;
Nu1=c2./Tb;
S=(T+(N.*T.*T));
figure(2)
hold on;
plot(y,u, lines {i},’linewidth’,2)
xlabel(‘Y’);
ylabel(‘U’);
box on;
hold off;
fprintf (‘M=%ft u=%ft Q=%ft Tb=%ft cf0=%ft cf1=%ft Nu0=%ft Nu1=%f n ‘,M,u,Q,Tb,(t0),(t1),(Nu0),(Nu1));
end differential equation, streamlines MATLAB Answers — New Questions
Motor drive efficiency and power
Hello Everyone,
I have modelled a 3-phase motor drive, and now I would like to calculate its input and output power for the purpose of efficiency calculation. I am using a power sensor at the DC side in which I am averaging the power at every 0.001 sec, and using a three-phase power sensor at the inverter’s output. The issue which I am facing is that the inverter’s output power is somehow higher than input power, approximately 10 times higher. Could you please provide your insight on how do I rectify this issue, or what could the problem causing this? For three-phase power sensor, the settings are set at balanced load.
Moreover, I am also using a mechanical power sensor at the motor end to calculate mechanical power, and in order to calculate overall efficiency of the drive, i would normally divide the output power by input power. I have saved the scope data and transfered it into excel, where when I performed division between output and input, i get different efficiency values for different points which is expected, but at some points, the efficiency is more than 100% apparently. Could you kindly provide assistance on how should I approach this issue to find effciency? should I average the vlaues first?
The scope screenshot is hereby attached.
Note: A drivecycle is used as a reference that is why there is no output until 20Sec.Hello Everyone,
I have modelled a 3-phase motor drive, and now I would like to calculate its input and output power for the purpose of efficiency calculation. I am using a power sensor at the DC side in which I am averaging the power at every 0.001 sec, and using a three-phase power sensor at the inverter’s output. The issue which I am facing is that the inverter’s output power is somehow higher than input power, approximately 10 times higher. Could you please provide your insight on how do I rectify this issue, or what could the problem causing this? For three-phase power sensor, the settings are set at balanced load.
Moreover, I am also using a mechanical power sensor at the motor end to calculate mechanical power, and in order to calculate overall efficiency of the drive, i would normally divide the output power by input power. I have saved the scope data and transfered it into excel, where when I performed division between output and input, i get different efficiency values for different points which is expected, but at some points, the efficiency is more than 100% apparently. Could you kindly provide assistance on how should I approach this issue to find effciency? should I average the vlaues first?
The scope screenshot is hereby attached.
Note: A drivecycle is used as a reference that is why there is no output until 20Sec. Hello Everyone,
I have modelled a 3-phase motor drive, and now I would like to calculate its input and output power for the purpose of efficiency calculation. I am using a power sensor at the DC side in which I am averaging the power at every 0.001 sec, and using a three-phase power sensor at the inverter’s output. The issue which I am facing is that the inverter’s output power is somehow higher than input power, approximately 10 times higher. Could you please provide your insight on how do I rectify this issue, or what could the problem causing this? For three-phase power sensor, the settings are set at balanced load.
Moreover, I am also using a mechanical power sensor at the motor end to calculate mechanical power, and in order to calculate overall efficiency of the drive, i would normally divide the output power by input power. I have saved the scope data and transfered it into excel, where when I performed division between output and input, i get different efficiency values for different points which is expected, but at some points, the efficiency is more than 100% apparently. Could you kindly provide assistance on how should I approach this issue to find effciency? should I average the vlaues first?
The scope screenshot is hereby attached.
Note: A drivecycle is used as a reference that is why there is no output until 20Sec. motordrive, powersensor, efficiency MATLAB Answers — New Questions
Cannot create UdpPort for specified LocalHost and LocalPort
I want to receive Ethernet data through udpport,It was up and running yesterday。
u=udpport("LocalHost","192.168.33.30","LocalPort",4098,"OutputDatagramSize",65507);
Now when I run it, I get an error:
ERROR: Unable to bind to LOCALHOST and LOCALPORT. Verify that the LOCALPORT is not in use, and that LOCALHOST and LOCALPORT are valid for IPADDRESSVERSION "IPV4".
I change different localport and localport,and I even restarted the computer, but still reported the error,I checked the port through cmd and there was no process。I hope to get an answer。I want to receive Ethernet data through udpport,It was up and running yesterday。
u=udpport("LocalHost","192.168.33.30","LocalPort",4098,"OutputDatagramSize",65507);
Now when I run it, I get an error:
ERROR: Unable to bind to LOCALHOST and LOCALPORT. Verify that the LOCALPORT is not in use, and that LOCALHOST and LOCALPORT are valid for IPADDRESSVERSION "IPV4".
I change different localport and localport,and I even restarted the computer, but still reported the error,I checked the port through cmd and there was no process。I hope to get an answer。 I want to receive Ethernet data through udpport,It was up and running yesterday。
u=udpport("LocalHost","192.168.33.30","LocalPort",4098,"OutputDatagramSize",65507);
Now when I run it, I get an error:
ERROR: Unable to bind to LOCALHOST and LOCALPORT. Verify that the LOCALPORT is not in use, and that LOCALHOST and LOCALPORT are valid for IPADDRESSVERSION "IPV4".
I change different localport and localport,and I even restarted the computer, but still reported the error,I checked the port through cmd and there was no process。I hope to get an answer。 udpport, udp, matlab, ethernet MATLAB Answers — New Questions
Integer programming optimization solving non linear objective function with linear equality and inequality constraints using Optimization Toolbox.
How to use optimization toolbox to find integer solutions for the decision variables from a non linear objective problem with linear constraints (both equality and inequality)?
eg. we can achieve so using genetic algorithm using mixed integer programming method.
Or any another way to go?How to use optimization toolbox to find integer solutions for the decision variables from a non linear objective problem with linear constraints (both equality and inequality)?
eg. we can achieve so using genetic algorithm using mixed integer programming method.
Or any another way to go? How to use optimization toolbox to find integer solutions for the decision variables from a non linear objective problem with linear constraints (both equality and inequality)?
eg. we can achieve so using genetic algorithm using mixed integer programming method.
Or any another way to go? integer programming optimization, constrained optimization MATLAB Answers — New Questions
App Designer Line 1 Class Name Error on any App
When attempting to run any app using App Designer (even tutorial apps or blank apps), I receive the following error.
Error using app1
Error: File: app1.mlapp Line: 1 Column: 10
Class name and filename must match.
The first line of the app code is autogenerated and not editable:
classdef app1 < matlab.apps.AppBase
As far as I can tell, the class name and filename do match. Filename: app1.mlapp
When selecting the "Pause on Errors" Run option, it pauses on this line in AppManagementService.m:
100 runningApp = evalin(‘base’, sprintf(‘%s(%s);’, command, appArguments));
In base workspace.
I’m brand new to App Designer and might be missing something fundamental here. All the tutorials I can find do not mention this error or define any setup needed to avoid it.When attempting to run any app using App Designer (even tutorial apps or blank apps), I receive the following error.
Error using app1
Error: File: app1.mlapp Line: 1 Column: 10
Class name and filename must match.
The first line of the app code is autogenerated and not editable:
classdef app1 < matlab.apps.AppBase
As far as I can tell, the class name and filename do match. Filename: app1.mlapp
When selecting the "Pause on Errors" Run option, it pauses on this line in AppManagementService.m:
100 runningApp = evalin(‘base’, sprintf(‘%s(%s);’, command, appArguments));
In base workspace.
I’m brand new to App Designer and might be missing something fundamental here. All the tutorials I can find do not mention this error or define any setup needed to avoid it. When attempting to run any app using App Designer (even tutorial apps or blank apps), I receive the following error.
Error using app1
Error: File: app1.mlapp Line: 1 Column: 10
Class name and filename must match.
The first line of the app code is autogenerated and not editable:
classdef app1 < matlab.apps.AppBase
As far as I can tell, the class name and filename do match. Filename: app1.mlapp
When selecting the "Pause on Errors" Run option, it pauses on this line in AppManagementService.m:
100 runningApp = evalin(‘base’, sprintf(‘%s(%s);’, command, appArguments));
In base workspace.
I’m brand new to App Designer and might be missing something fundamental here. All the tutorials I can find do not mention this error or define any setup needed to avoid it. app designer, class name, filename, class, classdef MATLAB Answers — New Questions
Hello, I cann’t get certificate from it. I use Matlab2024a and when check it in the website it is 0% althought I change the setting also. Can you help me plz?
Post Content Post Content i can not get certificate MATLAB Answers — New Questions
Multiple text entries over plots
Dear all
Currently, I am plotting the following:
u1=figure(‘visible’,’off’,’units’,’pixels’,’position’,[0 0 1920 1080]);
t=tiledlayout("vertical");
title(t,strcat([‘Exfoliated hexalayer. First layer. LLG-Heun, $t=, ,$’,num2str(time(m)),”,time_text{m},’, $alpha=, ,$’,num2str(damping(1)),’. $T=, ,$’,num2str(round(temperature(m),2)),’ K, $mathbf{H}=0$’;”;”]),’FontSize’,18,’interpreter’,’latex’);
nexttile;
uimagesc(space_x,space_y,mx_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
axis xy;
clim([-1 1]);
colormap(bluewhitered(256));
box on;
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t1=title([‘$m_a$’],’FontSize’,20,’interpreter’,’latex’);
set(t1,’interpreter’,’latex’,’FontSize’,20);
set(gca,’XTickLabel’,[]);
yticks([0:19:95]);
nexttile;
uimagesc(space_x,space_y,my_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
clim([-1 1]);
colormap(bluewhitered(256));
axis xy;
box on;
clr2=colorbar;
set(clr2,’TickLabelInterpreter’,’latex’);
ylabel(t,’$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,18,’interpreter’,’latex’);
ylabel(clr2,’$i$-{it th} magnetization component, $m_i$’,’Interpreter’,’Latex’,’FontSize’,19);
clr2.Layout.Tile=’east’;
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t2=title([‘$m_b$’],’FontSize’,20,’interpreter’,’latex’);
set(t2,’interpreter’,’latex’,’FontSize’,20);
set(gca,’XTickLabel’,[]);
yticks([0:19:95]);
nexttile;
uimagesc(space_x,space_y,mz_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
box on;
axis xy;
clim([-1 1]);
colormap(bluewhitered(256));
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,18,’interpreter’,’latex’);
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t3=title([‘$m_z$’],’FontSize’,20,’interpreter’,’latex’);
set(t3,’interpreter’,’latex’,’FontSize’,20);
yticks([0:19:95]);
set(gcf,’color’,’white’);
set(gca,’Units’,’normalized’);
set(u1,’Units’,’Inches’);
posu1=get(u1,’Position’);
set(u1,’PaperPositionMode’,’Auto’,’PaperUnits’,’Inches’,’PaperSize’,[posu1(3),posu1(4)]);
which gives:
I need to add some text entries, in LaTeX format, in such a way that the figure looks like:
Is there any good strategy to select the position of the 4L, 5L, and 6L so the text entries are more less centered within the definition region?Dear all
Currently, I am plotting the following:
u1=figure(‘visible’,’off’,’units’,’pixels’,’position’,[0 0 1920 1080]);
t=tiledlayout("vertical");
title(t,strcat([‘Exfoliated hexalayer. First layer. LLG-Heun, $t=, ,$’,num2str(time(m)),”,time_text{m},’, $alpha=, ,$’,num2str(damping(1)),’. $T=, ,$’,num2str(round(temperature(m),2)),’ K, $mathbf{H}=0$’;”;”]),’FontSize’,18,’interpreter’,’latex’);
nexttile;
uimagesc(space_x,space_y,mx_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
axis xy;
clim([-1 1]);
colormap(bluewhitered(256));
box on;
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t1=title([‘$m_a$’],’FontSize’,20,’interpreter’,’latex’);
set(t1,’interpreter’,’latex’,’FontSize’,20);
set(gca,’XTickLabel’,[]);
yticks([0:19:95]);
nexttile;
uimagesc(space_x,space_y,my_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
clim([-1 1]);
colormap(bluewhitered(256));
axis xy;
box on;
clr2=colorbar;
set(clr2,’TickLabelInterpreter’,’latex’);
ylabel(t,’$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,18,’interpreter’,’latex’);
ylabel(clr2,’$i$-{it th} magnetization component, $m_i$’,’Interpreter’,’Latex’,’FontSize’,19);
clr2.Layout.Tile=’east’;
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t2=title([‘$m_b$’],’FontSize’,20,’interpreter’,’latex’);
set(t2,’interpreter’,’latex’,’FontSize’,20);
set(gca,’XTickLabel’,[]);
yticks([0:19:95]);
nexttile;
uimagesc(space_x,space_y,mz_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
box on;
axis xy;
clim([-1 1]);
colormap(bluewhitered(256));
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,18,’interpreter’,’latex’);
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t3=title([‘$m_z$’],’FontSize’,20,’interpreter’,’latex’);
set(t3,’interpreter’,’latex’,’FontSize’,20);
yticks([0:19:95]);
set(gcf,’color’,’white’);
set(gca,’Units’,’normalized’);
set(u1,’Units’,’Inches’);
posu1=get(u1,’Position’);
set(u1,’PaperPositionMode’,’Auto’,’PaperUnits’,’Inches’,’PaperSize’,[posu1(3),posu1(4)]);
which gives:
I need to add some text entries, in LaTeX format, in such a way that the figure looks like:
Is there any good strategy to select the position of the 4L, 5L, and 6L so the text entries are more less centered within the definition region? Dear all
Currently, I am plotting the following:
u1=figure(‘visible’,’off’,’units’,’pixels’,’position’,[0 0 1920 1080]);
t=tiledlayout("vertical");
title(t,strcat([‘Exfoliated hexalayer. First layer. LLG-Heun, $t=, ,$’,num2str(time(m)),”,time_text{m},’, $alpha=, ,$’,num2str(damping(1)),’. $T=, ,$’,num2str(round(temperature(m),2)),’ K, $mathbf{H}=0$’;”;”]),’FontSize’,18,’interpreter’,’latex’);
nexttile;
uimagesc(space_x,space_y,mx_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
axis xy;
clim([-1 1]);
colormap(bluewhitered(256));
box on;
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t1=title([‘$m_a$’],’FontSize’,20,’interpreter’,’latex’);
set(t1,’interpreter’,’latex’,’FontSize’,20);
set(gca,’XTickLabel’,[]);
yticks([0:19:95]);
nexttile;
uimagesc(space_x,space_y,my_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
clim([-1 1]);
colormap(bluewhitered(256));
axis xy;
box on;
clr2=colorbar;
set(clr2,’TickLabelInterpreter’,’latex’);
ylabel(t,’$b$-{it th} spatial direction, $b , , left( mathrm{nm} right)$’,’FontSize’,18,’interpreter’,’latex’);
ylabel(clr2,’$i$-{it th} magnetization component, $m_i$’,’Interpreter’,’Latex’,’FontSize’,19);
clr2.Layout.Tile=’east’;
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t2=title([‘$m_b$’],’FontSize’,20,’interpreter’,’latex’);
set(t2,’interpreter’,’latex’,’FontSize’,20);
set(gca,’XTickLabel’,[]);
yticks([0:19:95]);
nexttile;
uimagesc(space_x,space_y,mz_1(:,:,m));
hold on
plot(geometry_tetra(:,1),geometry_tetra(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_penta(:,1),geometry_penta(:,2),’-k’,’LineWidth’,0.5);
plot(geometry_hexa(:,1),geometry_hexa(:,2),’-k’,’LineWidth’,0.5);
hold off
box on;
axis xy;
clim([-1 1]);
colormap(bluewhitered(256));
xlabel(‘$a$-{it th} spatial direction, $a , , left( mathrm{nm} right)$’,’FontSize’,18,’interpreter’,’latex’);
xlim([0 x]);
xticks([0:50:200]);
ylim([0 y]);
yticks([0:19:95]);
pbaspect([x/y 1 1]);
xtickangle(0);
set(gca,’TickLabelInterpreter’,’latex’,’FontSize’,18);
t3=title([‘$m_z$’],’FontSize’,20,’interpreter’,’latex’);
set(t3,’interpreter’,’latex’,’FontSize’,20);
yticks([0:19:95]);
set(gcf,’color’,’white’);
set(gca,’Units’,’normalized’);
set(u1,’Units’,’Inches’);
posu1=get(u1,’Position’);
set(u1,’PaperPositionMode’,’Auto’,’PaperUnits’,’Inches’,’PaperSize’,[posu1(3),posu1(4)]);
which gives:
I need to add some text entries, in LaTeX format, in such a way that the figure looks like:
Is there any good strategy to select the position of the 4L, 5L, and 6L so the text entries are more less centered within the definition region? text over plot MATLAB Answers — New Questions
Access locations in maplineshape
Hi,
I am trying to access the locations in a maplineshape object. They are in there because I am able to plot the locations using the geoplot function. For example, if I have the following geotable:
T = readgeotable("concord_roads.shp");
geoplot(T.Shape(1))
How do I access the locations in the maplineshape object, T.Shape(1)? I don’t see anything in the documentation or an obvious method associated with the object.
Thanks!Hi,
I am trying to access the locations in a maplineshape object. They are in there because I am able to plot the locations using the geoplot function. For example, if I have the following geotable:
T = readgeotable("concord_roads.shp");
geoplot(T.Shape(1))
How do I access the locations in the maplineshape object, T.Shape(1)? I don’t see anything in the documentation or an obvious method associated with the object.
Thanks! Hi,
I am trying to access the locations in a maplineshape object. They are in there because I am able to plot the locations using the geoplot function. For example, if I have the following geotable:
T = readgeotable("concord_roads.shp");
geoplot(T.Shape(1))
How do I access the locations in the maplineshape object, T.Shape(1)? I don’t see anything in the documentation or an obvious method associated with the object.
Thanks! readgeotable, maplineshape MATLAB Answers — New Questions
I use Java Matlab Engine API on Linux, no mwnativejava_engine_core in java.library.path
I am using the Java Matlab Engine API on Linux and the following error is reported. Is it because the installation is incorrect or something? I cannot find the file in the runtime package. I installed runtime 2022b,Is there also a problem with what I installed, The error log is as follows:
JDK:1.8
MatLab Runtime :R2022b
test_1 | Caused by: java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at com.test.analysis.util.MatLabEngine.<clinit>(MatLabEngine.java:31) ~[classes!/:1.0.0-SNAPSHOT]
MatLabEngine.java
31 MatlabEngine eng = MatlabEngine.startMatlab();
test_1 | 2024-08-14 01:22:30.634 INFO 1 — [ main] com.test.analysis.util.MatLabEngine : Prepare to start the MATLAB engine.
test_1 | java.library.path:/usr/local/MATLAB/MATLAB_Runtime/R2022b/bin/glnxa64
test_1 | 2024-08-14 01:22:30.709 WARN 1 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization – cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘matLabEngine’ defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/com/test/analysis/util/MatLabEngine.class]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | 2024-08-14 01:22:30.804 INFO 1 — [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
test_1 | 2024-08-14 01:22:31.872 INFO 1 — [ main] ConditionEvaluationReportLoggingListener :
test_1 |
test_1 | Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
test_1 | 2024-08-14 01:22:32.197 ERROR 1 — [ main] o.s.boot.SpringApplication : Application run failed
test_1 |
test_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘matLabEngine’ defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/com/test/analysis/util/MatLabEngine.class]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:745) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:420) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at com.test.analysis.MicroseismApplication.main(MicroseismApplication.java:33) [classes!/:1.0.0-SNAPSHOT]
test_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]
test_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]
test_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]
test_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]
test_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) [app.jar:1.0.0-SNAPSHOT]
test_1 | Caused by: java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[na:1.8.0_152]
test_1 | at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[na:1.8.0_152]
test_1 | at java.lang.System.loadLibrary(System.java:1122) ~[na:1.8.0_152]
test_1 | at com.mathworks.javaenginecore.JavaEngineFeval.<clinit>(JavaEngineFeval.java:18) ~[engine-1.0.jar!/:na]
test_1 | at com.mathworks.engine.MatlabEngine.open(MatlabEngine.java:359) ~[engine-1.0.jar!/:na]
test_1 | at com.mathworks.engine.MatlabEngine.startMatlab(MatlabEngine.java:141) ~[engine-1.0.jar!/:na]
test_1 | at com.test.analysis.util.MatLabEngine.<clinit>(MatLabEngine.java:31) ~[classes!/:1.0.0-SNAPSHOT]
test_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_152]
test_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_152]
test_1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_152]
test_1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_152]
test_1 | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | … 25 common frames omitted
test_1 |
root@ubuntu:/matlab# ^C
root@ubuntu:/matlab# uname -a
Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:/matlab#I am using the Java Matlab Engine API on Linux and the following error is reported. Is it because the installation is incorrect or something? I cannot find the file in the runtime package. I installed runtime 2022b,Is there also a problem with what I installed, The error log is as follows:
JDK:1.8
MatLab Runtime :R2022b
test_1 | Caused by: java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at com.test.analysis.util.MatLabEngine.<clinit>(MatLabEngine.java:31) ~[classes!/:1.0.0-SNAPSHOT]
MatLabEngine.java
31 MatlabEngine eng = MatlabEngine.startMatlab();
test_1 | 2024-08-14 01:22:30.634 INFO 1 — [ main] com.test.analysis.util.MatLabEngine : Prepare to start the MATLAB engine.
test_1 | java.library.path:/usr/local/MATLAB/MATLAB_Runtime/R2022b/bin/glnxa64
test_1 | 2024-08-14 01:22:30.709 WARN 1 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization – cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘matLabEngine’ defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/com/test/analysis/util/MatLabEngine.class]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | 2024-08-14 01:22:30.804 INFO 1 — [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
test_1 | 2024-08-14 01:22:31.872 INFO 1 — [ main] ConditionEvaluationReportLoggingListener :
test_1 |
test_1 | Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
test_1 | 2024-08-14 01:22:32.197 ERROR 1 — [ main] o.s.boot.SpringApplication : Application run failed
test_1 |
test_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘matLabEngine’ defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/com/test/analysis/util/MatLabEngine.class]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:745) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:420) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at com.test.analysis.MicroseismApplication.main(MicroseismApplication.java:33) [classes!/:1.0.0-SNAPSHOT]
test_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]
test_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]
test_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]
test_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]
test_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) [app.jar:1.0.0-SNAPSHOT]
test_1 | Caused by: java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[na:1.8.0_152]
test_1 | at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[na:1.8.0_152]
test_1 | at java.lang.System.loadLibrary(System.java:1122) ~[na:1.8.0_152]
test_1 | at com.mathworks.javaenginecore.JavaEngineFeval.<clinit>(JavaEngineFeval.java:18) ~[engine-1.0.jar!/:na]
test_1 | at com.mathworks.engine.MatlabEngine.open(MatlabEngine.java:359) ~[engine-1.0.jar!/:na]
test_1 | at com.mathworks.engine.MatlabEngine.startMatlab(MatlabEngine.java:141) ~[engine-1.0.jar!/:na]
test_1 | at com.test.analysis.util.MatLabEngine.<clinit>(MatLabEngine.java:31) ~[classes!/:1.0.0-SNAPSHOT]
test_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_152]
test_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_152]
test_1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_152]
test_1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_152]
test_1 | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | … 25 common frames omitted
test_1 |
root@ubuntu:/matlab# ^C
root@ubuntu:/matlab# uname -a
Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:/matlab# I am using the Java Matlab Engine API on Linux and the following error is reported. Is it because the installation is incorrect or something? I cannot find the file in the runtime package. I installed runtime 2022b,Is there also a problem with what I installed, The error log is as follows:
JDK:1.8
MatLab Runtime :R2022b
test_1 | Caused by: java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at com.test.analysis.util.MatLabEngine.<clinit>(MatLabEngine.java:31) ~[classes!/:1.0.0-SNAPSHOT]
MatLabEngine.java
31 MatlabEngine eng = MatlabEngine.startMatlab();
test_1 | 2024-08-14 01:22:30.634 INFO 1 — [ main] com.test.analysis.util.MatLabEngine : Prepare to start the MATLAB engine.
test_1 | java.library.path:/usr/local/MATLAB/MATLAB_Runtime/R2022b/bin/glnxa64
test_1 | 2024-08-14 01:22:30.709 WARN 1 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization – cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘matLabEngine’ defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/com/test/analysis/util/MatLabEngine.class]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | 2024-08-14 01:22:30.804 INFO 1 — [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
test_1 | 2024-08-14 01:22:31.872 INFO 1 — [ main] ConditionEvaluationReportLoggingListener :
test_1 |
test_1 | Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
test_1 | 2024-08-14 01:22:32.197 ERROR 1 — [ main] o.s.boot.SpringApplication : Application run failed
test_1 |
test_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘matLabEngine’ defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/com/test/analysis/util/MatLabEngine.class]: Instantiation of bean failed; nested exception is java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:745) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:420) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) [spring-boot-2.6.13.jar!/:2.6.13]
test_1 | at com.test.analysis.MicroseismApplication.main(MicroseismApplication.java:33) [classes!/:1.0.0-SNAPSHOT]
test_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_152]
test_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_152]
test_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_152]
test_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_152]
test_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [app.jar:1.0.0-SNAPSHOT]
test_1 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) [app.jar:1.0.0-SNAPSHOT]
test_1 | Caused by: java.lang.UnsatisfiedLinkError: no mwnativejava_engine_core in java.library.path
test_1 | at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[na:1.8.0_152]
test_1 | at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[na:1.8.0_152]
test_1 | at java.lang.System.loadLibrary(System.java:1122) ~[na:1.8.0_152]
test_1 | at com.mathworks.javaenginecore.JavaEngineFeval.<clinit>(JavaEngineFeval.java:18) ~[engine-1.0.jar!/:na]
test_1 | at com.mathworks.engine.MatlabEngine.open(MatlabEngine.java:359) ~[engine-1.0.jar!/:na]
test_1 | at com.mathworks.engine.MatlabEngine.startMatlab(MatlabEngine.java:141) ~[engine-1.0.jar!/:na]
test_1 | at com.test.analysis.util.MatLabEngine.<clinit>(MatLabEngine.java:31) ~[classes!/:1.0.0-SNAPSHOT]
test_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_152]
test_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_152]
test_1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_152]
test_1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_152]
test_1 | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326) ~[spring-beans-5.3.23.jar!/:5.3.23]
test_1 | … 25 common frames omitted
test_1 |
root@ubuntu:/matlab# ^C
root@ubuntu:/matlab# uname -a
Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:/matlab# java matlab engine api, linux, r2022b MATLAB Answers — New Questions
Hi I am triying to run a Processor in the Loop simulation using a LaunchPad XL C2000 TMS320F28069M, however when I tried to deploy my model to hardware i got the next error:
PD: I can run the examples for the C2000 processor, but i cannot deploy a NLARX model thay estimated using the System Identification Toolbox
=== Subsystem Build (Elapsed: 49 sec) ===
The model pil is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
### Starting build procedure for: model
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:testmodel_ert_rtw
The model model is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
### Invoking Target Language Compiler on model.rtw
### Using System Target File: C:Program FilesMATLABR2024artwcertert.tlc
### Loading TLC function libraries
……..
### Generating TLC interface API for custom data
### Initial pass through model to cache user defined code
….
### Caching model source code
…………………………………………………………………….
……….
### Writing header file model_types.h
.
### Writing header file model.h
### Writing header file rtwtypes.h
### Writing source file model.c
### Writing header file model_private.h
### Writing header file rt_nonfinite.h
.
### Writing source file rt_nonfinite.c
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
.
### Writing source file model_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete (took 8.418s).
### Saving binary information cache.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### Creating ‘C:testmodel_ert_rtwinstrumentedmodel.mk’ …
### Building ‘model’: "C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk buildobj
..
C:testmodel_ert_rtwinstrumented>cd .
C:testmodel_ert_rtwinstrumented>chcp 1252
Pßgina de c¾digos activa: 1252
C:testmodel_ert_rtwinstrumented>if "buildobj" == "" ("C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk all ) else ("C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk buildobj )
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_matrx.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_matrx.obj" "C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/rt_matrx.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_printf.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_printf.obj" "C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/rt_printf.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_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="MW_c28xx_csl.obj" "C:/test/model_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="MW_c28xx_board.obj" "C:/test/model_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="model.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="model.obj" "C:/test/model_ert_rtw/model.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="model_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="model_data.obj" "C:/test/model_ert_rtw/model_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="rtGetInf.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rtGetInf.obj" "C:/test/model_ert_rtw/rtGetInf.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rtGetNaN.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rtGetNaN.obj" "C:/test/model_ert_rtw/rtGetNaN.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_nonfinite.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_nonfinite.obj" "C:/test/model_ert_rtw/rt_nonfinite.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="sfunsigmoidnet.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="sfunsigmoidnet.obj" "C:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src/sfunsigmoidnet.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="eval_sigmoidnet.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="eval_sigmoidnet.obj" "C:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src/eval_sigmoidnet.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/cg_sfun.h", line 33: error: identifier "mdlInitializeSizes" is undefined
1 error detected in the compilation of "C:/Program Files/MATLAB/R2024a/toolbox/ident/idutils/src/sfunsigmoidnet.c".
>> Compilation failure
gmake: *** [sfunsigmoidnet.obj] Error 1
gmake: *** Waiting for unfinished jobs….
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
C:testmodel_ert_rtwinstrumented>echo The make command returned an error of 2
The make command returned an error of 2
C:testmodel_ert_rtwinstrumented>exit /B 1
### Build procedure for model aborted due to an error.
0 of 1 models built (1 models already up to date)
Build duration: 0h 0m 36.565s
Error:Error(s) encountered while building "model"PD: I can run the examples for the C2000 processor, but i cannot deploy a NLARX model thay estimated using the System Identification Toolbox
=== Subsystem Build (Elapsed: 49 sec) ===
The model pil is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
### Starting build procedure for: model
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:testmodel_ert_rtw
The model model is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
### Invoking Target Language Compiler on model.rtw
### Using System Target File: C:Program FilesMATLABR2024artwcertert.tlc
### Loading TLC function libraries
……..
### Generating TLC interface API for custom data
### Initial pass through model to cache user defined code
….
### Caching model source code
…………………………………………………………………….
……….
### Writing header file model_types.h
.
### Writing header file model.h
### Writing header file rtwtypes.h
### Writing source file model.c
### Writing header file model_private.h
### Writing header file rt_nonfinite.h
.
### Writing source file rt_nonfinite.c
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
.
### Writing source file model_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete (took 8.418s).
### Saving binary information cache.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### Creating ‘C:testmodel_ert_rtwinstrumentedmodel.mk’ …
### Building ‘model’: "C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk buildobj
..
C:testmodel_ert_rtwinstrumented>cd .
C:testmodel_ert_rtwinstrumented>chcp 1252
Pßgina de c¾digos activa: 1252
C:testmodel_ert_rtwinstrumented>if "buildobj" == "" ("C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk all ) else ("C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk buildobj )
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_matrx.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_matrx.obj" "C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/rt_matrx.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_printf.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_printf.obj" "C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/rt_printf.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_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="MW_c28xx_csl.obj" "C:/test/model_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="MW_c28xx_board.obj" "C:/test/model_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="model.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="model.obj" "C:/test/model_ert_rtw/model.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="model_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="model_data.obj" "C:/test/model_ert_rtw/model_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="rtGetInf.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rtGetInf.obj" "C:/test/model_ert_rtw/rtGetInf.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rtGetNaN.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rtGetNaN.obj" "C:/test/model_ert_rtw/rtGetNaN.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_nonfinite.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_nonfinite.obj" "C:/test/model_ert_rtw/rt_nonfinite.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="sfunsigmoidnet.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="sfunsigmoidnet.obj" "C:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src/sfunsigmoidnet.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="eval_sigmoidnet.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="eval_sigmoidnet.obj" "C:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src/eval_sigmoidnet.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/cg_sfun.h", line 33: error: identifier "mdlInitializeSizes" is undefined
1 error detected in the compilation of "C:/Program Files/MATLAB/R2024a/toolbox/ident/idutils/src/sfunsigmoidnet.c".
>> Compilation failure
gmake: *** [sfunsigmoidnet.obj] Error 1
gmake: *** Waiting for unfinished jobs….
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
C:testmodel_ert_rtwinstrumented>echo The make command returned an error of 2
The make command returned an error of 2
C:testmodel_ert_rtwinstrumented>exit /B 1
### Build procedure for model aborted due to an error.
0 of 1 models built (1 models already up to date)
Build duration: 0h 0m 36.565s
Error:Error(s) encountered while building "model" PD: I can run the examples for the C2000 processor, but i cannot deploy a NLARX model thay estimated using the System Identification Toolbox
=== Subsystem Build (Elapsed: 49 sec) ===
The model pil is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
### Starting build procedure for: model
### Generating code and artifacts to ‘Model specific’ folder structure
### Generating code into build folder: C:testmodel_ert_rtw
The model model is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
### Invoking Target Language Compiler on model.rtw
### Using System Target File: C:Program FilesMATLABR2024artwcertert.tlc
### Loading TLC function libraries
……..
### Generating TLC interface API for custom data
### Initial pass through model to cache user defined code
….
### Caching model source code
…………………………………………………………………….
……….
### Writing header file model_types.h
.
### Writing header file model.h
### Writing header file rtwtypes.h
### Writing source file model.c
### Writing header file model_private.h
### Writing header file rt_nonfinite.h
.
### Writing source file rt_nonfinite.c
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
.
### Writing source file model_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete (took 8.418s).
### Saving binary information cache.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### Creating ‘C:testmodel_ert_rtwinstrumentedmodel.mk’ …
### Building ‘model’: "C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk buildobj
..
C:testmodel_ert_rtwinstrumented>cd .
C:testmodel_ert_rtwinstrumented>chcp 1252
Pßgina de c¾digos activa: 1252
C:testmodel_ert_rtwinstrumented>if "buildobj" == "" ("C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk all ) else ("C:PROGRA~1MATLABR2024abinwin64gmake" DEPRULES=1 -j7 -f model.mk buildobj )
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_matrx.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_matrx.obj" "C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/rt_matrx.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_printf.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_printf.obj" "C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/rt_printf.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_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="MW_c28xx_csl.obj" "C:/test/model_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="MW_c28xx_board.obj" "C:/test/model_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="model.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="model.obj" "C:/test/model_ert_rtw/model.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="model_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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="model_data.obj" "C:/test/model_ert_rtw/model_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="rtGetInf.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rtGetInf.obj" "C:/test/model_ert_rtw/rtGetInf.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rtGetNaN.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rtGetNaN.obj" "C:/test/model_ert_rtw/rtGetNaN.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="rt_nonfinite.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="rt_nonfinite.obj" "C:/test/model_ert_rtw/rt_nonfinite.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="sfunsigmoidnet.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="sfunsigmoidnet.obj" "C:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src/sfunsigmoidnet.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" –abi=coffabi –compile_only –preproc_dependency="eval_sigmoidnet.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 -ml –float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite –output_file="eval_sigmoidnet.obj" "C:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src/eval_sigmoidnet.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/cg_sfun.h", line 33: error: identifier "mdlInitializeSizes" is undefined
1 error detected in the compilation of "C:/Program Files/MATLAB/R2024a/toolbox/ident/idutils/src/sfunsigmoidnet.c".
>> Compilation failure
gmake: *** [sfunsigmoidnet.obj] Error 1
gmake: *** Waiting for unfinished jobs….
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
C:testmodel_ert_rtwinstrumented>echo The make command returned an error of 2
The make command returned an error of 2
C:testmodel_ert_rtwinstrumented>exit /B 1
### Build procedure for model aborted due to an error.
0 of 1 models built (1 models already up to date)
Build duration: 0h 0m 36.565s
Error:Error(s) encountered while building "model" pil, matlab, simulink, simulation, hardware, code generation, embedded coder MATLAB Answers — New Questions
Is it safe to delete the node-specific folders under ~/.MathWorks/ServiceHost/ on Linux?
I am using MATLAB R2024 on a Linux environment, and I noticed that folders are being created under the path ~/.MathWorks/ServiceHost/, one for each node I run, and each folder is consuming a significant amount of disk space. Is it safe to delete these folders? If not, is there a way to reduce the disk space usage?I am using MATLAB R2024 on a Linux environment, and I noticed that folders are being created under the path ~/.MathWorks/ServiceHost/, one for each node I run, and each folder is consuming a significant amount of disk space. Is it safe to delete these folders? If not, is there a way to reduce the disk space usage? I am using MATLAB R2024 on a Linux environment, and I noticed that folders are being created under the path ~/.MathWorks/ServiceHost/, one for each node I run, and each folder is consuming a significant amount of disk space. Is it safe to delete these folders? If not, is there a way to reduce the disk space usage? servicehost MATLAB Answers — New Questions
Combide data using the command readcell
Hi, I have discovered that I have some issues when combining the output data that were saved in a text file. I tried to use readmatrix but some data are lost.
For example, I have attached three text files that contains cell data with columns x row. The number of columns have a constant value of 70, and the number of rows it may vary from each file. When I have created a foor loop to read all the data and combine them in a global matrix, I realized that some files files are read as cell arrays and they are not separated like others and creates an issue when combining them. I was trying to spit the files and create some conditions for those cases but some data is loose and the number of columns are lost and creates an issue when I want to combine the data in a global matrix. I would appreciate the help.Hi, I have discovered that I have some issues when combining the output data that were saved in a text file. I tried to use readmatrix but some data are lost.
For example, I have attached three text files that contains cell data with columns x row. The number of columns have a constant value of 70, and the number of rows it may vary from each file. When I have created a foor loop to read all the data and combine them in a global matrix, I realized that some files files are read as cell arrays and they are not separated like others and creates an issue when combining them. I was trying to spit the files and create some conditions for those cases but some data is loose and the number of columns are lost and creates an issue when I want to combine the data in a global matrix. I would appreciate the help. Hi, I have discovered that I have some issues when combining the output data that were saved in a text file. I tried to use readmatrix but some data are lost.
For example, I have attached three text files that contains cell data with columns x row. The number of columns have a constant value of 70, and the number of rows it may vary from each file. When I have created a foor loop to read all the data and combine them in a global matrix, I realized that some files files are read as cell arrays and they are not separated like others and creates an issue when combining them. I was trying to spit the files and create some conditions for those cases but some data is loose and the number of columns are lost and creates an issue when I want to combine the data in a global matrix. I would appreciate the help. issues when combining data as text files MATLAB Answers — New Questions
Vertcat tables with structure variables with different fieldnames
Hello! I’m having troubles when creating a table within a loop because some table variables are structure arrays that have different fieldnames. I get the following error :
Error using vertcat : Names of fields in structure arrays being concatenated do not match. Concatenation of structure arrays requires that these arrays have the same set of fields.
Example of my code :
%Inputs
ExampleTable = table();
Orig_1 = struct(‘m4ADG’,’folder_1′,’Group’,’folder_group’);
Orig_2 = struct(‘m5B0′,’folder_2′,’Group’,’folder_group’);
item = {‘charArray’,[1 1 1], Orig_1; ‘otherChar’,[1 2 1], Orig_2};
%function
VarNames = {‘Var1′,’Var2′,’Var3’};
for j = 1:size(item,1)
Var{1,1} = item{j,1};
Var{1,2} = item{j,2};
Var{1,3} = item{j,3};
NewTable = cell2table(Var);
NewTable.Properties.VariableNames = VarNames;
if isempty(ExampleTable)
ExampleTable = NewTable;
else
tmp = table2cell(NewTable);
ExampleTable = [ExampleTable; tmp];
end
clear NewTable Var
end
This whole thing runs within a class with the defined property ExampleTable as table and item, Orig_1|2 comes from elsewhere. Do you know how I can fix the problem?Hello! I’m having troubles when creating a table within a loop because some table variables are structure arrays that have different fieldnames. I get the following error :
Error using vertcat : Names of fields in structure arrays being concatenated do not match. Concatenation of structure arrays requires that these arrays have the same set of fields.
Example of my code :
%Inputs
ExampleTable = table();
Orig_1 = struct(‘m4ADG’,’folder_1′,’Group’,’folder_group’);
Orig_2 = struct(‘m5B0′,’folder_2′,’Group’,’folder_group’);
item = {‘charArray’,[1 1 1], Orig_1; ‘otherChar’,[1 2 1], Orig_2};
%function
VarNames = {‘Var1′,’Var2′,’Var3’};
for j = 1:size(item,1)
Var{1,1} = item{j,1};
Var{1,2} = item{j,2};
Var{1,3} = item{j,3};
NewTable = cell2table(Var);
NewTable.Properties.VariableNames = VarNames;
if isempty(ExampleTable)
ExampleTable = NewTable;
else
tmp = table2cell(NewTable);
ExampleTable = [ExampleTable; tmp];
end
clear NewTable Var
end
This whole thing runs within a class with the defined property ExampleTable as table and item, Orig_1|2 comes from elsewhere. Do you know how I can fix the problem? Hello! I’m having troubles when creating a table within a loop because some table variables are structure arrays that have different fieldnames. I get the following error :
Error using vertcat : Names of fields in structure arrays being concatenated do not match. Concatenation of structure arrays requires that these arrays have the same set of fields.
Example of my code :
%Inputs
ExampleTable = table();
Orig_1 = struct(‘m4ADG’,’folder_1′,’Group’,’folder_group’);
Orig_2 = struct(‘m5B0′,’folder_2′,’Group’,’folder_group’);
item = {‘charArray’,[1 1 1], Orig_1; ‘otherChar’,[1 2 1], Orig_2};
%function
VarNames = {‘Var1′,’Var2′,’Var3’};
for j = 1:size(item,1)
Var{1,1} = item{j,1};
Var{1,2} = item{j,2};
Var{1,3} = item{j,3};
NewTable = cell2table(Var);
NewTable.Properties.VariableNames = VarNames;
if isempty(ExampleTable)
ExampleTable = NewTable;
else
tmp = table2cell(NewTable);
ExampleTable = [ExampleTable; tmp];
end
clear NewTable Var
end
This whole thing runs within a class with the defined property ExampleTable as table and item, Orig_1|2 comes from elsewhere. Do you know how I can fix the problem? table, structures MATLAB Answers — New Questions
trying to follow the convert-to-spiking example. load(“DigitsDataTrain”) does not work. I can’t find a DOWNLOAD for this .mat file either. John
I’m trying to follow the convert-to-spiking NN example.
https://www.mathworks.com/help/deeplearning/ug/convert-to-spiking-neural-network.html
>> load("DigitsDataTrain")
Error using load
Unable to find file or directory ‘DigitsDataTrain’.
*** There is nowhere to download this .mat file that I can find. Thanks, JohnI’m trying to follow the convert-to-spiking NN example.
https://www.mathworks.com/help/deeplearning/ug/convert-to-spiking-neural-network.html
>> load("DigitsDataTrain")
Error using load
Unable to find file or directory ‘DigitsDataTrain’.
*** There is nowhere to download this .mat file that I can find. Thanks, John I’m trying to follow the convert-to-spiking NN example.
https://www.mathworks.com/help/deeplearning/ug/convert-to-spiking-neural-network.html
>> load("DigitsDataTrain")
Error using load
Unable to find file or directory ‘DigitsDataTrain’.
*** There is nowhere to download this .mat file that I can find. Thanks, John digitsdatatest.mat MATLAB Answers — New Questions
images from radio telescopes using matlab, simulink, and sdr
hello i would like to ask how to generate images from radio telescopes using matlab, simulink, and sdr. thanks very much.hello i would like to ask how to generate images from radio telescopes using matlab, simulink, and sdr. thanks very much. hello i would like to ask how to generate images from radio telescopes using matlab, simulink, and sdr. thanks very much. images, radio telescopes MATLAB Answers — New Questions
error in the code
erroe in string(j,n)=string(k,n);
for k=1:Npop
for j=1:dim
busLocation(j,k)=busd(busLocation(j,k),1);
end
sdf= unique(busLocation(:,k));
while length(sdf)<dim
sdf=randi([2 length(busd(:,1))],dim,1);
for j=1:dim
sdf(j)=busd(sdf(j),1);
end
busLocation(:,k)=sdf;
sdf= unique(busLocation(:,k));
end
end
ndif = [0.28; 0.35; 0.39; 0.35; 0.27; 0.34; 0.40; 0.34; 0.25; 0.32];
for k = 1:Npop
mdif(k)= ndif(k);
end
nsw=length(string);
mpop = round(Npop/4);
for j = 1:mpop
minman = min(mdif(:));
for k = 1:Npop
if mdif(k)== minman
for n=1:nsw
string(j,n)=string(k,n);
end
mdif(k)= 1010;
break;
end
end
end
for j = 1:(Npop-mpop)
for bits=1:nsw
string(mpop +j,bits) = string(j,bits);
end
end ; enderroe in string(j,n)=string(k,n);
for k=1:Npop
for j=1:dim
busLocation(j,k)=busd(busLocation(j,k),1);
end
sdf= unique(busLocation(:,k));
while length(sdf)<dim
sdf=randi([2 length(busd(:,1))],dim,1);
for j=1:dim
sdf(j)=busd(sdf(j),1);
end
busLocation(:,k)=sdf;
sdf= unique(busLocation(:,k));
end
end
ndif = [0.28; 0.35; 0.39; 0.35; 0.27; 0.34; 0.40; 0.34; 0.25; 0.32];
for k = 1:Npop
mdif(k)= ndif(k);
end
nsw=length(string);
mpop = round(Npop/4);
for j = 1:mpop
minman = min(mdif(:));
for k = 1:Npop
if mdif(k)== minman
for n=1:nsw
string(j,n)=string(k,n);
end
mdif(k)= 1010;
break;
end
end
end
for j = 1:(Npop-mpop)
for bits=1:nsw
string(mpop +j,bits) = string(j,bits);
end
end ; end erroe in string(j,n)=string(k,n);
for k=1:Npop
for j=1:dim
busLocation(j,k)=busd(busLocation(j,k),1);
end
sdf= unique(busLocation(:,k));
while length(sdf)<dim
sdf=randi([2 length(busd(:,1))],dim,1);
for j=1:dim
sdf(j)=busd(sdf(j),1);
end
busLocation(:,k)=sdf;
sdf= unique(busLocation(:,k));
end
end
ndif = [0.28; 0.35; 0.39; 0.35; 0.27; 0.34; 0.40; 0.34; 0.25; 0.32];
for k = 1:Npop
mdif(k)= ndif(k);
end
nsw=length(string);
mpop = round(Npop/4);
for j = 1:mpop
minman = min(mdif(:));
for k = 1:Npop
if mdif(k)== minman
for n=1:nsw
string(j,n)=string(k,n);
end
mdif(k)= 1010;
break;
end
end
end
for j = 1:(Npop-mpop)
for bits=1:nsw
string(mpop +j,bits) = string(j,bits);
end
end ; end for study MATLAB Answers — New Questions
Oral Dose Not Exhibiting Absorption/Bioavailability in Simulation
Hello! I am trying to use this model "Estimating the Bioavailibility of a Drug" that I found here, to do a simultaneous fitting of my IV infusion and P.O. blood concentration time profile. I implemented a two compartment model as well. For some reason, when I am running a simulation the oral dose exhibits a bioavailbility of >= 1, even though I have the parameter F set as 0.2. I attached images of my simulation curve (green is oral dose), model diagram, ODEs, and dosing setup. I’m thinking it might have something to do with the way I set up the dosing, but please let me know if you have any advice on how I should troubleshoot this. I am using R2024a. Please let me know if I should include anything else. Thanks!Hello! I am trying to use this model "Estimating the Bioavailibility of a Drug" that I found here, to do a simultaneous fitting of my IV infusion and P.O. blood concentration time profile. I implemented a two compartment model as well. For some reason, when I am running a simulation the oral dose exhibits a bioavailbility of >= 1, even though I have the parameter F set as 0.2. I attached images of my simulation curve (green is oral dose), model diagram, ODEs, and dosing setup. I’m thinking it might have something to do with the way I set up the dosing, but please let me know if you have any advice on how I should troubleshoot this. I am using R2024a. Please let me know if I should include anything else. Thanks! Hello! I am trying to use this model "Estimating the Bioavailibility of a Drug" that I found here, to do a simultaneous fitting of my IV infusion and P.O. blood concentration time profile. I implemented a two compartment model as well. For some reason, when I am running a simulation the oral dose exhibits a bioavailbility of >= 1, even though I have the parameter F set as 0.2. I attached images of my simulation curve (green is oral dose), model diagram, ODEs, and dosing setup. I’m thinking it might have something to do with the way I set up the dosing, but please let me know if you have any advice on how I should troubleshoot this. I am using R2024a. Please let me know if I should include anything else. Thanks! matlab, simbiology, simulation, oral dose, dosing, bioavailibility MATLAB Answers — New Questions
Second Order Laplace solving doesn’t work (‘Unable to find explicit solution’)
I’m trying to solve an ODE using Laplace method, but I’m stuck on solving the equation
Here’s my code:
syms t x(t) s X(s);
% PARAMETERS (tried to do symbolically but it was more diffcult)
m = 1;
k = 0.5;
xi = 1.2;
c = xi*2*sqrt(k*m)
f0 = 1;
w = 0.1;
dx = diff(x, t, 1);
ddx = diff(x, t, 2);
% INITIAL CONDITIONS
x0 = 0;
dx0 = 0;
newton = m*ddx+ c*dx +k*x;
f = f0*cos(w*t);
lteqn = laplace(newton, t, s)
lefteqn = subs(lteqn,{laplace(x(t), t, s), x(0),dx(0)},{X(s), x0, dx0})
F_s = laplace(f, t, s);
simplify(solve(lefteqn == F_s, X(s)))
I can’t believe MATLAB cannot solve this easy equation. I think I’m missing something.
Thank you guysI’m trying to solve an ODE using Laplace method, but I’m stuck on solving the equation
Here’s my code:
syms t x(t) s X(s);
% PARAMETERS (tried to do symbolically but it was more diffcult)
m = 1;
k = 0.5;
xi = 1.2;
c = xi*2*sqrt(k*m)
f0 = 1;
w = 0.1;
dx = diff(x, t, 1);
ddx = diff(x, t, 2);
% INITIAL CONDITIONS
x0 = 0;
dx0 = 0;
newton = m*ddx+ c*dx +k*x;
f = f0*cos(w*t);
lteqn = laplace(newton, t, s)
lefteqn = subs(lteqn,{laplace(x(t), t, s), x(0),dx(0)},{X(s), x0, dx0})
F_s = laplace(f, t, s);
simplify(solve(lefteqn == F_s, X(s)))
I can’t believe MATLAB cannot solve this easy equation. I think I’m missing something.
Thank you guys I’m trying to solve an ODE using Laplace method, but I’m stuck on solving the equation
Here’s my code:
syms t x(t) s X(s);
% PARAMETERS (tried to do symbolically but it was more diffcult)
m = 1;
k = 0.5;
xi = 1.2;
c = xi*2*sqrt(k*m)
f0 = 1;
w = 0.1;
dx = diff(x, t, 1);
ddx = diff(x, t, 2);
% INITIAL CONDITIONS
x0 = 0;
dx0 = 0;
newton = m*ddx+ c*dx +k*x;
f = f0*cos(w*t);
lteqn = laplace(newton, t, s)
lefteqn = subs(lteqn,{laplace(x(t), t, s), x(0),dx(0)},{X(s), x0, dx0})
F_s = laplace(f, t, s);
simplify(solve(lefteqn == F_s, X(s)))
I can’t believe MATLAB cannot solve this easy equation. I think I’m missing something.
Thank you guys solve, ode, laplace, matlab MATLAB Answers — New Questions
How to tune PI controllers of MIMO system?
How to tune the PI controllers for this kind of MIMO system as shown in the picture? Any resources regadring this would be appreciated.How to tune the PI controllers for this kind of MIMO system as shown in the picture? Any resources regadring this would be appreciated. How to tune the PI controllers for this kind of MIMO system as shown in the picture? Any resources regadring this would be appreciated. mimo system, pi tuning MATLAB Answers — New Questions