Category: Matlab
Category Archives: Matlab
Pack (Generated Block) BatteryBuilder: How can I limit my SOC from 0 to 1
I use the new battery simscape blocks for a battery simulation. Now I want to limit the SOC from 1 to 0. Actually I want to limit the single cell voltage (4.2V to 2.5V). Is this possible via the parameter table or do you have any other suggestions?
The saturator block in the Figure is actually only used to embellish my graphics and not to limit the voltage.
That only a maximum of 4.2 volts are available with a SOC of 1.
Properties: CellV = 4.2 V 24s5p with 8 Module in the packI use the new battery simscape blocks for a battery simulation. Now I want to limit the SOC from 1 to 0. Actually I want to limit the single cell voltage (4.2V to 2.5V). Is this possible via the parameter table or do you have any other suggestions?
The saturator block in the Figure is actually only used to embellish my graphics and not to limit the voltage.
That only a maximum of 4.2 volts are available with a SOC of 1.
Properties: CellV = 4.2 V 24s5p with 8 Module in the pack I use the new battery simscape blocks for a battery simulation. Now I want to limit the SOC from 1 to 0. Actually I want to limit the single cell voltage (4.2V to 2.5V). Is this possible via the parameter table or do you have any other suggestions?
The saturator block in the Figure is actually only used to embellish my graphics and not to limit the voltage.
That only a maximum of 4.2 volts are available with a SOC of 1.
Properties: CellV = 4.2 V 24s5p with 8 Module in the pack batterybuilder, pack, simscape battery, batterymodel, buildbattery MATLAB Answers — New Questions
MATLAB Programming Techniques, Extracting Portions of a table
Hello,
in the course "Programming Techniques" theses lines show how you can extract portions of a table:
https://matlabacademy.mathworks.com/R2024a/portal.html?course=mlpr#chapter=2&lesson=4§ion=2
t2 = t1(6:15,[1 5 end-1:end])
or
t2 = t1(6:15,["A" "E" "N" "O"])
Why do I need
end-1:end
in the first version?
LisaHello,
in the course "Programming Techniques" theses lines show how you can extract portions of a table:
https://matlabacademy.mathworks.com/R2024a/portal.html?course=mlpr#chapter=2&lesson=4§ion=2
t2 = t1(6:15,[1 5 end-1:end])
or
t2 = t1(6:15,["A" "E" "N" "O"])
Why do I need
end-1:end
in the first version?
Lisa Hello,
in the course "Programming Techniques" theses lines show how you can extract portions of a table:
https://matlabacademy.mathworks.com/R2024a/portal.html?course=mlpr#chapter=2&lesson=4§ion=2
t2 = t1(6:15,[1 5 end-1:end])
or
t2 = t1(6:15,["A" "E" "N" "O"])
Why do I need
end-1:end
in the first version?
Lisa table, extract data MATLAB Answers — New Questions
Unknown variables appearing in solutions for symbolic equation solver
Hello,
I am currently trying to solve a symbolic equation for a variable and the solution I am receiving has roots of ‘z’ which was not previously defined or used in any of my equations. Here is where/how it appears:
In another case I modified the simplifcation process to attempt get a usable solution and ended up with just the variable ‘u’ which was not previously used or defined either. Is there a known reason why these variables are appearing. I’ve read that equations of the fifth degree can be hard to solve symbolically, which may be the reason for the ‘z’ in the roots but I don’t quite understand the ‘u’ solution.Hello,
I am currently trying to solve a symbolic equation for a variable and the solution I am receiving has roots of ‘z’ which was not previously defined or used in any of my equations. Here is where/how it appears:
In another case I modified the simplifcation process to attempt get a usable solution and ended up with just the variable ‘u’ which was not previously used or defined either. Is there a known reason why these variables are appearing. I’ve read that equations of the fifth degree can be hard to solve symbolically, which may be the reason for the ‘z’ in the roots but I don’t quite understand the ‘u’ solution. Hello,
I am currently trying to solve a symbolic equation for a variable and the solution I am receiving has roots of ‘z’ which was not previously defined or used in any of my equations. Here is where/how it appears:
In another case I modified the simplifcation process to attempt get a usable solution and ended up with just the variable ‘u’ which was not previously used or defined either. Is there a known reason why these variables are appearing. I’ve read that equations of the fifth degree can be hard to solve symbolically, which may be the reason for the ‘z’ in the roots but I don’t quite understand the ‘u’ solution. symbolic, mathematics, equation MATLAB Answers — New Questions
fitting exponential decay help
Hi everyone,
Looking for a little bit of guidance for finding a lifetime decay for a 256×344 image. I think I’m pretty much there, but need some help. I was given the NLFit file to use for the fitting with the hint of using "fminsearch(‘NLfit1’,[y(end), 1, 1], [], delay*1e-3 – t0, data1" to find my fitting. However data1 is a matrix, and after some digging it seems I need to use an anonymous function?
I only started to use MATLAB about a week ago so I’m very new. Any help would be appreciated. I’ve attached the function file. Here is my current code:
%import function
import NLfit1.*
% Read file
load(‘test.mat’);
global FitResults
Tot_intensity = sum(Image_matrix, 3);
% Find the maximum intensity in the image
max_intensity = max(Tot_intensity, [], ‘all’);
% find threshold
twenty_percent_of_max = 0.2 * max_intensity;
% create a new image where all pixels below the threshold are set to zero
filtered_img = Tot_intensity;
filtered_img(Tot_intensity < twenty_percent_of_max) = 0;
%restricting image from 6000ps to 10000ps. Normally I would use a logical
%operator here but this was also a simple solution
delay(delay < 6000) = [];
delay(delay > 10000) = [];
%declare empty matrix
lifetime_image = zeros(256, 344);
x0 = 0;
%iterate over the image
for x = 1:size(filtered_img, 1) % rows
for y = 1:size(filtered_img, 2) %columns
% only finding the lifetime constant for those pixels that are
% above the 20% threshold we set
if filtered_img(x, y) > 0
temporal_decay_curve = squeeze(Image_matrix(x, y, :));
decay_constant = fminsearch(@(temporal_decay_curve)NLfit1([y(end), 1, 1], delay*1e-3 – 5.5, temporal_decay_curve), x0);
lifetime_image(x, y) = decay_constant;
end
end
end
% plot!
figure;
colormap(gray)
imagesc(lifetime_image);Hi everyone,
Looking for a little bit of guidance for finding a lifetime decay for a 256×344 image. I think I’m pretty much there, but need some help. I was given the NLFit file to use for the fitting with the hint of using "fminsearch(‘NLfit1’,[y(end), 1, 1], [], delay*1e-3 – t0, data1" to find my fitting. However data1 is a matrix, and after some digging it seems I need to use an anonymous function?
I only started to use MATLAB about a week ago so I’m very new. Any help would be appreciated. I’ve attached the function file. Here is my current code:
%import function
import NLfit1.*
% Read file
load(‘test.mat’);
global FitResults
Tot_intensity = sum(Image_matrix, 3);
% Find the maximum intensity in the image
max_intensity = max(Tot_intensity, [], ‘all’);
% find threshold
twenty_percent_of_max = 0.2 * max_intensity;
% create a new image where all pixels below the threshold are set to zero
filtered_img = Tot_intensity;
filtered_img(Tot_intensity < twenty_percent_of_max) = 0;
%restricting image from 6000ps to 10000ps. Normally I would use a logical
%operator here but this was also a simple solution
delay(delay < 6000) = [];
delay(delay > 10000) = [];
%declare empty matrix
lifetime_image = zeros(256, 344);
x0 = 0;
%iterate over the image
for x = 1:size(filtered_img, 1) % rows
for y = 1:size(filtered_img, 2) %columns
% only finding the lifetime constant for those pixels that are
% above the 20% threshold we set
if filtered_img(x, y) > 0
temporal_decay_curve = squeeze(Image_matrix(x, y, :));
decay_constant = fminsearch(@(temporal_decay_curve)NLfit1([y(end), 1, 1], delay*1e-3 – 5.5, temporal_decay_curve), x0);
lifetime_image(x, y) = decay_constant;
end
end
end
% plot!
figure;
colormap(gray)
imagesc(lifetime_image); Hi everyone,
Looking for a little bit of guidance for finding a lifetime decay for a 256×344 image. I think I’m pretty much there, but need some help. I was given the NLFit file to use for the fitting with the hint of using "fminsearch(‘NLfit1’,[y(end), 1, 1], [], delay*1e-3 – t0, data1" to find my fitting. However data1 is a matrix, and after some digging it seems I need to use an anonymous function?
I only started to use MATLAB about a week ago so I’m very new. Any help would be appreciated. I’ve attached the function file. Here is my current code:
%import function
import NLfit1.*
% Read file
load(‘test.mat’);
global FitResults
Tot_intensity = sum(Image_matrix, 3);
% Find the maximum intensity in the image
max_intensity = max(Tot_intensity, [], ‘all’);
% find threshold
twenty_percent_of_max = 0.2 * max_intensity;
% create a new image where all pixels below the threshold are set to zero
filtered_img = Tot_intensity;
filtered_img(Tot_intensity < twenty_percent_of_max) = 0;
%restricting image from 6000ps to 10000ps. Normally I would use a logical
%operator here but this was also a simple solution
delay(delay < 6000) = [];
delay(delay > 10000) = [];
%declare empty matrix
lifetime_image = zeros(256, 344);
x0 = 0;
%iterate over the image
for x = 1:size(filtered_img, 1) % rows
for y = 1:size(filtered_img, 2) %columns
% only finding the lifetime constant for those pixels that are
% above the 20% threshold we set
if filtered_img(x, y) > 0
temporal_decay_curve = squeeze(Image_matrix(x, y, :));
decay_constant = fminsearch(@(temporal_decay_curve)NLfit1([y(end), 1, 1], delay*1e-3 – 5.5, temporal_decay_curve), x0);
lifetime_image(x, y) = decay_constant;
end
end
end
% plot!
figure;
colormap(gray)
imagesc(lifetime_image); function, curve fitting MATLAB Answers — New Questions
Find Transfer Function from Laplace transformation
Hi! I want to find the transfer function from a laplace transformation of a differential equation. Specifically this is the example I am working:
m = 1;
e = 0.06;
O = 25;
s = 25;
h = 1+e*s;
f = m*e*O^2;
P = e*f;
d = 0.1;
z = e*d;
%%%%%%%%%%%%%%%
syms t z u(t) e h P
f = diff(u(t),t,2) + 2*z*diff(u(t),t) + u(t) + e*(u(t))^3 – h^2 *P*cos(h*t);
F = laplace(f);
%transfer fuction
——————-
The laplace transformation gives me this:
F = e*laplace(u(t)^3, t, s) – subs(diff(u(t), t), t, 0) – s*u(0) + s^2*laplace(u(t), t, s) – 2*z*(u(0) – s*laplace(u(t), t, s)) + laplace(u(t), t, s) – (P*h^2*s)/(h^2 + s^2).
I dont know how to convert it to a simplier form to find the transfer function. Please if you know something, comment below.
Thank you!!!Hi! I want to find the transfer function from a laplace transformation of a differential equation. Specifically this is the example I am working:
m = 1;
e = 0.06;
O = 25;
s = 25;
h = 1+e*s;
f = m*e*O^2;
P = e*f;
d = 0.1;
z = e*d;
%%%%%%%%%%%%%%%
syms t z u(t) e h P
f = diff(u(t),t,2) + 2*z*diff(u(t),t) + u(t) + e*(u(t))^3 – h^2 *P*cos(h*t);
F = laplace(f);
%transfer fuction
——————-
The laplace transformation gives me this:
F = e*laplace(u(t)^3, t, s) – subs(diff(u(t), t), t, 0) – s*u(0) + s^2*laplace(u(t), t, s) – 2*z*(u(0) – s*laplace(u(t), t, s)) + laplace(u(t), t, s) – (P*h^2*s)/(h^2 + s^2).
I dont know how to convert it to a simplier form to find the transfer function. Please if you know something, comment below.
Thank you!!! Hi! I want to find the transfer function from a laplace transformation of a differential equation. Specifically this is the example I am working:
m = 1;
e = 0.06;
O = 25;
s = 25;
h = 1+e*s;
f = m*e*O^2;
P = e*f;
d = 0.1;
z = e*d;
%%%%%%%%%%%%%%%
syms t z u(t) e h P
f = diff(u(t),t,2) + 2*z*diff(u(t),t) + u(t) + e*(u(t))^3 – h^2 *P*cos(h*t);
F = laplace(f);
%transfer fuction
——————-
The laplace transformation gives me this:
F = e*laplace(u(t)^3, t, s) – subs(diff(u(t), t), t, 0) – s*u(0) + s^2*laplace(u(t), t, s) – 2*z*(u(0) – s*laplace(u(t), t, s)) + laplace(u(t), t, s) – (P*h^2*s)/(h^2 + s^2).
I dont know how to convert it to a simplier form to find the transfer function. Please if you know something, comment below.
Thank you!!! transfer function, laplace transformation, differential equations MATLAB Answers — New Questions
C2000 ePWM down-count after syncronized in up-down counter
I want to make two PWM module that the counting direction is reverve as picture bellow.
ePWM 1 is start counting Up-down-Up,
ePWM 2 is start counting at Down-up-Down.
I set the PWM module syncronized = zero, without any Phase shifted (TBPHS=0). However, i can not get the desured result.
with kindly, need assistance for set this ePWM matter.I want to make two PWM module that the counting direction is reverve as picture bellow.
ePWM 1 is start counting Up-down-Up,
ePWM 2 is start counting at Down-up-Down.
I set the PWM module syncronized = zero, without any Phase shifted (TBPHS=0). However, i can not get the desured result.
with kindly, need assistance for set this ePWM matter. I want to make two PWM module that the counting direction is reverve as picture bellow.
ePWM 1 is start counting Up-down-Up,
ePWM 2 is start counting at Down-up-Down.
I set the PWM module syncronized = zero, without any Phase shifted (TBPHS=0). However, i can not get the desured result.
with kindly, need assistance for set this ePWM matter. epwm, f28377d, texas instrument, c2000 MATLAB Answers — New Questions
How to get Sharing Details in App Designer
Hello,
is there a method to get the sharing details of the App Designer into my code.
For example I want to display the version and name of the app somewhere in my GUI without programming it directly. So when I create a new version of my app I only have to change the information in the sharing details and it will be updated in my GUI automatically.
Thanks!Hello,
is there a method to get the sharing details of the App Designer into my code.
For example I want to display the version and name of the app somewhere in my GUI without programming it directly. So when I create a new version of my app I only have to change the information in the sharing details and it will be updated in my GUI automatically.
Thanks! Hello,
is there a method to get the sharing details of the App Designer into my code.
For example I want to display the version and name of the app somewhere in my GUI without programming it directly. So when I create a new version of my app I only have to change the information in the sharing details and it will be updated in my GUI automatically.
Thanks! app designer, sharing details MATLAB Answers — New Questions
Established method for extracting transient part for complicated signal?
So I have this signal that tends to vary in both mean and overall shape, and I believe there is a transient part in the signal that I would like to extract somehow. Given the appearance of the signal I’m not sure which method is reliable. I have tried computing the variance using the movvar function and find that the variance drops after a few seconds. So my question is: is there any good way of identifying transient parts of a more complicated signal? Here is an example of how my signal looks like.So I have this signal that tends to vary in both mean and overall shape, and I believe there is a transient part in the signal that I would like to extract somehow. Given the appearance of the signal I’m not sure which method is reliable. I have tried computing the variance using the movvar function and find that the variance drops after a few seconds. So my question is: is there any good way of identifying transient parts of a more complicated signal? Here is an example of how my signal looks like. So I have this signal that tends to vary in both mean and overall shape, and I believe there is a transient part in the signal that I would like to extract somehow. Given the appearance of the signal I’m not sure which method is reliable. I have tried computing the variance using the movvar function and find that the variance drops after a few seconds. So my question is: is there any good way of identifying transient parts of a more complicated signal? Here is an example of how my signal looks like. time series, matlab MATLAB Answers — New Questions
Why does MATLAB crash or hang after interacting with a plot for some time?
MATLAB crashes suddenly and unexpectedly when zooming, panning and resetting the view in MATLAB figures. The crash log stack trace always points to "cef_string_utf16_to_upper" function of "libcef.dll":
Stack Trace (from fault):
[ 0] 0x00007ffc157341a9 C:Program FilesMATLABR2022bbinwin64libcef.dll+65421737 GetHandleVerifier+03506153
[ 1] 0x00007ffc15733273 C:Program FilesMATLABR2022bbinwin64libcef.dll+65417843 GetHandleVerifier+03502259
[ 2] 0x00007ffc176a89ca C:Program FilesMATLABR2022bbinwin64libcef.dll+98404810 GetHandleVerifier+36489226
[ 3] 0x00007ffc176a3a82 C:Program FilesMATLABR2022bbinwin64libcef.dll+98384514 GetHandleVerifier+36468930
[ 4] 0x00007ffc176a2d82 C:Program FilesMATLABR2022bbinwin64libcef.dll+98381186 GetHandleVerifier+36465602
[ 5] 0x00007ffc158c3951 C:Program FilesMATLABR2022bbinwin64libcef.dll+67058001 GetHandleVerifier+05142417
[ 6] 0x00007ffc158c340f C:Program FilesMATLABR2022bbinwin64libcef.dll+67056655 GetHandleVerifier+05141071
[ 7] 0x00007ffca040e7e8 C:WINDOWSSystem32USER32.dll+00059368 CallWindowProcW+00001016
[ 8] 0x00007ffca040e36c C:WINDOWSSystem32USER32.dll+00058220 DispatchMessageW+00000924
[ 9] 0x00007ffca0420f93 C:WINDOWSSystem32USER32.dll+00135059 SendMessageTimeoutW+00000323
[ 10] 0x00007ffca1d30ba4 C:WINDOWSSYSTEM32ntdll.dll+00658340 KiUserCallbackDispatcher+00000036
[ 11] 0x00007ffc9f3a1704 C:WINDOWSSystem32win32u.dll+00005892 NtUserDispatchMessage+00000020
[ 12] 0x00007ffca040e27a C:WINDOWSSystem32USER32.dll+00057978 DispatchMessageW+00000682
[ 13] 0x00007ffc1481c119 C:Program FilesMATLABR2022bbinwin64libcef.dll+49594649 cef_string_utf16_to_upper+00834329
[ 14] 0x00007ffc1481b655 C:Program FilesMATLABR2022bbinwin64libcef.dll+49591893 cef_string_utf16_to_upper+00831573
[ 15] 0x00007ffc1481b3f5 C:Program FilesMATLABR2022bbinwin64libcef.dll+49591285 cef_string_utf16_to_upper+00830965
[ 16] 0x00007ffc1481ad31 C:Program FilesMATLABR2022bbinwin64libcef.dll+49589553 cef_string_utf16_to_upper+00829233
[ 17] 0x00007ffc153d060e C:Program FilesMATLABR2022bbinwin64libcef.dll+61867534 cef_time_delta+00270622
[ 18] 0x00007ffc147cbc89 C:Program FilesMATLABR2022bbinwin64libcef.dll+49265801 cef_string_utf16_to_upper+00505481
[ 19] 0x00007ffc153713b0 C:Program FilesMATLABR2022bbinwin64libcef.dll+61477808 IsSandboxedProcess+05688576
[ 20] 0x00007ffc15372243 C:Program FilesMATLABR2022bbinwin64libcef.dll+61481539 IsSandboxedProcess+05692307
[ 21] 0x00007ffc14824762 C:Program FilesMATLABR2022bbinwin64libcef.dll+49629026 cef_string_utf16_to_upper+00868706
[ 22] 0x00007ffca0b97034 C:WINDOWSSystem32KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 23] 0x00007ffca1ce2651 C:WINDOWSSYSTEM32ntdll.dll+00337489 RtlUserThreadStart+00000033
A common stack trace is also the following:
[ 0] 0x00007ffe2016986e C:Program FilesMatlabR2021bbinwin64libcef.dll+36018286 cef_string_utf16_to_upper+00193018
[ 1] 0x00007ffe22ad7e0e C:Program FilesMatlabR2021bbinwin64libcef.dll+79461902 VR_GetStringForHmdError+25495636
[ 2] 0x00007ffe22ad3bc6 C:Program FilesMatlabR2021bbinwin64libcef.dll+79444934 VR_GetStringForHmdError+25478668
[ 3] 0x00007ffe22ad3026 C:Program FilesMatlabR2021bbinwin64libcef.dll+79441958 VR_GetStringForHmdError+25475692
[ 4] 0x00007ffe20e5322b C:Program FilesMatlabR2021bbinwin64libcef.dll+49558059 GetHandleVerifier+03540171
[ 5] 0x00007ffe20e52d72 C:Program FilesMatlabR2021bbinwin64libcef.dll+49556850 GetHandleVerifier+03538962
[ 6] 0x00007ffee6b0e858 C:WindowsSystem32USER32.dll+00059480 CallWindowProcW+00001016
[ 7] 0x00007ffee6b0e3dc C:WindowsSystem32USER32.dll+00058332 DispatchMessageW+00000924
[ 8] 0x00007ffee6b20bc3 C:WindowsSystem32USER32.dll+00134083 SendMessageTimeoutW+00000323
[ 9] 0x00007ffee7890ba4 C:WindowsSYSTEM32ntdll.dll+00658340 KiUserCallbackDispatcher+00000036
[ 10] 0x00007ffee5241704 C:WindowsSystem32win32u.dll+00005892 NtUserDispatchMessage+00000020
[ 11] 0x00007ffee6b0e2ea C:WindowsSystem32USER32.dll+00058090 DispatchMessageW+00000682
[ 12] 0x00007ffe201dcb1e C:Program FilesMatlabR2021bbinwin64libcef.dll+36490014 cef_string_utf16_to_upper+00664746
[ 13] 0x00007ffe201dc051 C:Program FilesMatlabR2021bbinwin64libcef.dll+36487249 cef_string_utf16_to_upper+00661981
[ 14] 0x00007ffe201dbe95 C:Program FilesMatlabR2021bbinwin64libcef.dll+36486805 cef_string_utf16_to_upper+00661537
[ 15] 0x00007ffe201db67e C:Program FilesMatlabR2021bbinwin64libcef.dll+36484734 cef_string_utf16_to_upper+00659466
[ 16] 0x00007ffe20ae85e8 C:Program FilesMatlabR2021bbinwin64libcef.dll+45975016 cef_time_delta+00254065
[ 17] 0x00007ffe2018743a C:Program FilesMatlabR2021bbinwin64libcef.dll+36140090 cef_string_utf16_to_upper+00314822
[ 18] 0x00007ffe20a98caf C:Program FilesMatlabR2021bbinwin64libcef.dll+45649071 IsSandboxedProcess+03981738
[ 19] 0x00007ffe201e18bd C:Program FilesMatlabR2021bbinwin64libcef.dll+36509885 cef_string_utf16_to_upper+00684617
[ 20] 0x00007ffee5857034 C:WindowsSystem32KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 21] 0x00007ffee7842651 C:WindowsSYSTEM32ntdll.dll+00337489 RtlUserThreadStart+00000033
How can I resolve this? MATLAB crashes suddenly and unexpectedly when zooming, panning and resetting the view in MATLAB figures. The crash log stack trace always points to "cef_string_utf16_to_upper" function of "libcef.dll":
Stack Trace (from fault):
[ 0] 0x00007ffc157341a9 C:Program FilesMATLABR2022bbinwin64libcef.dll+65421737 GetHandleVerifier+03506153
[ 1] 0x00007ffc15733273 C:Program FilesMATLABR2022bbinwin64libcef.dll+65417843 GetHandleVerifier+03502259
[ 2] 0x00007ffc176a89ca C:Program FilesMATLABR2022bbinwin64libcef.dll+98404810 GetHandleVerifier+36489226
[ 3] 0x00007ffc176a3a82 C:Program FilesMATLABR2022bbinwin64libcef.dll+98384514 GetHandleVerifier+36468930
[ 4] 0x00007ffc176a2d82 C:Program FilesMATLABR2022bbinwin64libcef.dll+98381186 GetHandleVerifier+36465602
[ 5] 0x00007ffc158c3951 C:Program FilesMATLABR2022bbinwin64libcef.dll+67058001 GetHandleVerifier+05142417
[ 6] 0x00007ffc158c340f C:Program FilesMATLABR2022bbinwin64libcef.dll+67056655 GetHandleVerifier+05141071
[ 7] 0x00007ffca040e7e8 C:WINDOWSSystem32USER32.dll+00059368 CallWindowProcW+00001016
[ 8] 0x00007ffca040e36c C:WINDOWSSystem32USER32.dll+00058220 DispatchMessageW+00000924
[ 9] 0x00007ffca0420f93 C:WINDOWSSystem32USER32.dll+00135059 SendMessageTimeoutW+00000323
[ 10] 0x00007ffca1d30ba4 C:WINDOWSSYSTEM32ntdll.dll+00658340 KiUserCallbackDispatcher+00000036
[ 11] 0x00007ffc9f3a1704 C:WINDOWSSystem32win32u.dll+00005892 NtUserDispatchMessage+00000020
[ 12] 0x00007ffca040e27a C:WINDOWSSystem32USER32.dll+00057978 DispatchMessageW+00000682
[ 13] 0x00007ffc1481c119 C:Program FilesMATLABR2022bbinwin64libcef.dll+49594649 cef_string_utf16_to_upper+00834329
[ 14] 0x00007ffc1481b655 C:Program FilesMATLABR2022bbinwin64libcef.dll+49591893 cef_string_utf16_to_upper+00831573
[ 15] 0x00007ffc1481b3f5 C:Program FilesMATLABR2022bbinwin64libcef.dll+49591285 cef_string_utf16_to_upper+00830965
[ 16] 0x00007ffc1481ad31 C:Program FilesMATLABR2022bbinwin64libcef.dll+49589553 cef_string_utf16_to_upper+00829233
[ 17] 0x00007ffc153d060e C:Program FilesMATLABR2022bbinwin64libcef.dll+61867534 cef_time_delta+00270622
[ 18] 0x00007ffc147cbc89 C:Program FilesMATLABR2022bbinwin64libcef.dll+49265801 cef_string_utf16_to_upper+00505481
[ 19] 0x00007ffc153713b0 C:Program FilesMATLABR2022bbinwin64libcef.dll+61477808 IsSandboxedProcess+05688576
[ 20] 0x00007ffc15372243 C:Program FilesMATLABR2022bbinwin64libcef.dll+61481539 IsSandboxedProcess+05692307
[ 21] 0x00007ffc14824762 C:Program FilesMATLABR2022bbinwin64libcef.dll+49629026 cef_string_utf16_to_upper+00868706
[ 22] 0x00007ffca0b97034 C:WINDOWSSystem32KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 23] 0x00007ffca1ce2651 C:WINDOWSSYSTEM32ntdll.dll+00337489 RtlUserThreadStart+00000033
A common stack trace is also the following:
[ 0] 0x00007ffe2016986e C:Program FilesMatlabR2021bbinwin64libcef.dll+36018286 cef_string_utf16_to_upper+00193018
[ 1] 0x00007ffe22ad7e0e C:Program FilesMatlabR2021bbinwin64libcef.dll+79461902 VR_GetStringForHmdError+25495636
[ 2] 0x00007ffe22ad3bc6 C:Program FilesMatlabR2021bbinwin64libcef.dll+79444934 VR_GetStringForHmdError+25478668
[ 3] 0x00007ffe22ad3026 C:Program FilesMatlabR2021bbinwin64libcef.dll+79441958 VR_GetStringForHmdError+25475692
[ 4] 0x00007ffe20e5322b C:Program FilesMatlabR2021bbinwin64libcef.dll+49558059 GetHandleVerifier+03540171
[ 5] 0x00007ffe20e52d72 C:Program FilesMatlabR2021bbinwin64libcef.dll+49556850 GetHandleVerifier+03538962
[ 6] 0x00007ffee6b0e858 C:WindowsSystem32USER32.dll+00059480 CallWindowProcW+00001016
[ 7] 0x00007ffee6b0e3dc C:WindowsSystem32USER32.dll+00058332 DispatchMessageW+00000924
[ 8] 0x00007ffee6b20bc3 C:WindowsSystem32USER32.dll+00134083 SendMessageTimeoutW+00000323
[ 9] 0x00007ffee7890ba4 C:WindowsSYSTEM32ntdll.dll+00658340 KiUserCallbackDispatcher+00000036
[ 10] 0x00007ffee5241704 C:WindowsSystem32win32u.dll+00005892 NtUserDispatchMessage+00000020
[ 11] 0x00007ffee6b0e2ea C:WindowsSystem32USER32.dll+00058090 DispatchMessageW+00000682
[ 12] 0x00007ffe201dcb1e C:Program FilesMatlabR2021bbinwin64libcef.dll+36490014 cef_string_utf16_to_upper+00664746
[ 13] 0x00007ffe201dc051 C:Program FilesMatlabR2021bbinwin64libcef.dll+36487249 cef_string_utf16_to_upper+00661981
[ 14] 0x00007ffe201dbe95 C:Program FilesMatlabR2021bbinwin64libcef.dll+36486805 cef_string_utf16_to_upper+00661537
[ 15] 0x00007ffe201db67e C:Program FilesMatlabR2021bbinwin64libcef.dll+36484734 cef_string_utf16_to_upper+00659466
[ 16] 0x00007ffe20ae85e8 C:Program FilesMatlabR2021bbinwin64libcef.dll+45975016 cef_time_delta+00254065
[ 17] 0x00007ffe2018743a C:Program FilesMatlabR2021bbinwin64libcef.dll+36140090 cef_string_utf16_to_upper+00314822
[ 18] 0x00007ffe20a98caf C:Program FilesMatlabR2021bbinwin64libcef.dll+45649071 IsSandboxedProcess+03981738
[ 19] 0x00007ffe201e18bd C:Program FilesMatlabR2021bbinwin64libcef.dll+36509885 cef_string_utf16_to_upper+00684617
[ 20] 0x00007ffee5857034 C:WindowsSystem32KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 21] 0x00007ffee7842651 C:WindowsSYSTEM32ntdll.dll+00337489 RtlUserThreadStart+00000033
How can I resolve this? MATLAB crashes suddenly and unexpectedly when zooming, panning and resetting the view in MATLAB figures. The crash log stack trace always points to "cef_string_utf16_to_upper" function of "libcef.dll":
Stack Trace (from fault):
[ 0] 0x00007ffc157341a9 C:Program FilesMATLABR2022bbinwin64libcef.dll+65421737 GetHandleVerifier+03506153
[ 1] 0x00007ffc15733273 C:Program FilesMATLABR2022bbinwin64libcef.dll+65417843 GetHandleVerifier+03502259
[ 2] 0x00007ffc176a89ca C:Program FilesMATLABR2022bbinwin64libcef.dll+98404810 GetHandleVerifier+36489226
[ 3] 0x00007ffc176a3a82 C:Program FilesMATLABR2022bbinwin64libcef.dll+98384514 GetHandleVerifier+36468930
[ 4] 0x00007ffc176a2d82 C:Program FilesMATLABR2022bbinwin64libcef.dll+98381186 GetHandleVerifier+36465602
[ 5] 0x00007ffc158c3951 C:Program FilesMATLABR2022bbinwin64libcef.dll+67058001 GetHandleVerifier+05142417
[ 6] 0x00007ffc158c340f C:Program FilesMATLABR2022bbinwin64libcef.dll+67056655 GetHandleVerifier+05141071
[ 7] 0x00007ffca040e7e8 C:WINDOWSSystem32USER32.dll+00059368 CallWindowProcW+00001016
[ 8] 0x00007ffca040e36c C:WINDOWSSystem32USER32.dll+00058220 DispatchMessageW+00000924
[ 9] 0x00007ffca0420f93 C:WINDOWSSystem32USER32.dll+00135059 SendMessageTimeoutW+00000323
[ 10] 0x00007ffca1d30ba4 C:WINDOWSSYSTEM32ntdll.dll+00658340 KiUserCallbackDispatcher+00000036
[ 11] 0x00007ffc9f3a1704 C:WINDOWSSystem32win32u.dll+00005892 NtUserDispatchMessage+00000020
[ 12] 0x00007ffca040e27a C:WINDOWSSystem32USER32.dll+00057978 DispatchMessageW+00000682
[ 13] 0x00007ffc1481c119 C:Program FilesMATLABR2022bbinwin64libcef.dll+49594649 cef_string_utf16_to_upper+00834329
[ 14] 0x00007ffc1481b655 C:Program FilesMATLABR2022bbinwin64libcef.dll+49591893 cef_string_utf16_to_upper+00831573
[ 15] 0x00007ffc1481b3f5 C:Program FilesMATLABR2022bbinwin64libcef.dll+49591285 cef_string_utf16_to_upper+00830965
[ 16] 0x00007ffc1481ad31 C:Program FilesMATLABR2022bbinwin64libcef.dll+49589553 cef_string_utf16_to_upper+00829233
[ 17] 0x00007ffc153d060e C:Program FilesMATLABR2022bbinwin64libcef.dll+61867534 cef_time_delta+00270622
[ 18] 0x00007ffc147cbc89 C:Program FilesMATLABR2022bbinwin64libcef.dll+49265801 cef_string_utf16_to_upper+00505481
[ 19] 0x00007ffc153713b0 C:Program FilesMATLABR2022bbinwin64libcef.dll+61477808 IsSandboxedProcess+05688576
[ 20] 0x00007ffc15372243 C:Program FilesMATLABR2022bbinwin64libcef.dll+61481539 IsSandboxedProcess+05692307
[ 21] 0x00007ffc14824762 C:Program FilesMATLABR2022bbinwin64libcef.dll+49629026 cef_string_utf16_to_upper+00868706
[ 22] 0x00007ffca0b97034 C:WINDOWSSystem32KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 23] 0x00007ffca1ce2651 C:WINDOWSSYSTEM32ntdll.dll+00337489 RtlUserThreadStart+00000033
A common stack trace is also the following:
[ 0] 0x00007ffe2016986e C:Program FilesMatlabR2021bbinwin64libcef.dll+36018286 cef_string_utf16_to_upper+00193018
[ 1] 0x00007ffe22ad7e0e C:Program FilesMatlabR2021bbinwin64libcef.dll+79461902 VR_GetStringForHmdError+25495636
[ 2] 0x00007ffe22ad3bc6 C:Program FilesMatlabR2021bbinwin64libcef.dll+79444934 VR_GetStringForHmdError+25478668
[ 3] 0x00007ffe22ad3026 C:Program FilesMatlabR2021bbinwin64libcef.dll+79441958 VR_GetStringForHmdError+25475692
[ 4] 0x00007ffe20e5322b C:Program FilesMatlabR2021bbinwin64libcef.dll+49558059 GetHandleVerifier+03540171
[ 5] 0x00007ffe20e52d72 C:Program FilesMatlabR2021bbinwin64libcef.dll+49556850 GetHandleVerifier+03538962
[ 6] 0x00007ffee6b0e858 C:WindowsSystem32USER32.dll+00059480 CallWindowProcW+00001016
[ 7] 0x00007ffee6b0e3dc C:WindowsSystem32USER32.dll+00058332 DispatchMessageW+00000924
[ 8] 0x00007ffee6b20bc3 C:WindowsSystem32USER32.dll+00134083 SendMessageTimeoutW+00000323
[ 9] 0x00007ffee7890ba4 C:WindowsSYSTEM32ntdll.dll+00658340 KiUserCallbackDispatcher+00000036
[ 10] 0x00007ffee5241704 C:WindowsSystem32win32u.dll+00005892 NtUserDispatchMessage+00000020
[ 11] 0x00007ffee6b0e2ea C:WindowsSystem32USER32.dll+00058090 DispatchMessageW+00000682
[ 12] 0x00007ffe201dcb1e C:Program FilesMatlabR2021bbinwin64libcef.dll+36490014 cef_string_utf16_to_upper+00664746
[ 13] 0x00007ffe201dc051 C:Program FilesMatlabR2021bbinwin64libcef.dll+36487249 cef_string_utf16_to_upper+00661981
[ 14] 0x00007ffe201dbe95 C:Program FilesMatlabR2021bbinwin64libcef.dll+36486805 cef_string_utf16_to_upper+00661537
[ 15] 0x00007ffe201db67e C:Program FilesMatlabR2021bbinwin64libcef.dll+36484734 cef_string_utf16_to_upper+00659466
[ 16] 0x00007ffe20ae85e8 C:Program FilesMatlabR2021bbinwin64libcef.dll+45975016 cef_time_delta+00254065
[ 17] 0x00007ffe2018743a C:Program FilesMatlabR2021bbinwin64libcef.dll+36140090 cef_string_utf16_to_upper+00314822
[ 18] 0x00007ffe20a98caf C:Program FilesMatlabR2021bbinwin64libcef.dll+45649071 IsSandboxedProcess+03981738
[ 19] 0x00007ffe201e18bd C:Program FilesMatlabR2021bbinwin64libcef.dll+36509885 cef_string_utf16_to_upper+00684617
[ 20] 0x00007ffee5857034 C:WindowsSystem32KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 21] 0x00007ffee7842651 C:WindowsSYSTEM32ntdll.dll+00337489 RtlUserThreadStart+00000033
How can I resolve this? MATLAB Answers — New Questions
Multiplot Legend Item remains after line visible property put to “off”
Hi, on a previous post I was kindly showed how to "disable a plot" on a set of plots. What I actually want to do is temporarily remove it and Steven Lord suggested using the "visible" parameter
So I use a checkbox to allow me to toggle on or off the last line plotted:
val = app.VisibleOFFlastplotCheckBox.Value;
ax=app.UIAxes;
t = ax.Children(1); % Get last plot
switch val
case 1
t.Visible=’off’;
case 0
t.Visible=’on’;
end
Whilst this works, it doesn’t seem to remove the legend item, but instead Greys it out.
So to show this, the purple curve below is the one I want to remove / hide (note if remove it, I want the possibility of adding it back which is why Steven suggested the "visible" approach)
And here’s what happens once I set the visible property of the line to "off" – notice the legen item is still present
So how can I hide / temporarily remove the last legend item?
Thanks
JasonHi, on a previous post I was kindly showed how to "disable a plot" on a set of plots. What I actually want to do is temporarily remove it and Steven Lord suggested using the "visible" parameter
So I use a checkbox to allow me to toggle on or off the last line plotted:
val = app.VisibleOFFlastplotCheckBox.Value;
ax=app.UIAxes;
t = ax.Children(1); % Get last plot
switch val
case 1
t.Visible=’off’;
case 0
t.Visible=’on’;
end
Whilst this works, it doesn’t seem to remove the legend item, but instead Greys it out.
So to show this, the purple curve below is the one I want to remove / hide (note if remove it, I want the possibility of adding it back which is why Steven suggested the "visible" approach)
And here’s what happens once I set the visible property of the line to "off" – notice the legen item is still present
So how can I hide / temporarily remove the last legend item?
Thanks
Jason Hi, on a previous post I was kindly showed how to "disable a plot" on a set of plots. What I actually want to do is temporarily remove it and Steven Lord suggested using the "visible" parameter
So I use a checkbox to allow me to toggle on or off the last line plotted:
val = app.VisibleOFFlastplotCheckBox.Value;
ax=app.UIAxes;
t = ax.Children(1); % Get last plot
switch val
case 1
t.Visible=’off’;
case 0
t.Visible=’on’;
end
Whilst this works, it doesn’t seem to remove the legend item, but instead Greys it out.
So to show this, the purple curve below is the one I want to remove / hide (note if remove it, I want the possibility of adding it back which is why Steven suggested the "visible" approach)
And here’s what happens once I set the visible property of the line to "off" – notice the legen item is still present
So how can I hide / temporarily remove the last legend item?
Thanks
Jason plot, visible, legend MATLAB Answers — New Questions
How to limit input current of Asynchrous machine?
Hey, everyone,
I wana simulate a induction motor, as shown in the image. I chose DC voltage source(220V), Universal bridge(IGBT) to get a three-phase voltage source, and chose synchronous Machine SI Units block as induction motor. The control mode is V/F, and got ideal 1373 rpm speed, but sadly, the stator current was much larger than the rate current (0.79A), I dont konw why.
Now, I tried to limit the input current by Saturation block, but it can’t conncect to Universal bridge 🙁 .
Anyone helps? Looking forward.
Appendix is the simulink model.Hey, everyone,
I wana simulate a induction motor, as shown in the image. I chose DC voltage source(220V), Universal bridge(IGBT) to get a three-phase voltage source, and chose synchronous Machine SI Units block as induction motor. The control mode is V/F, and got ideal 1373 rpm speed, but sadly, the stator current was much larger than the rate current (0.79A), I dont konw why.
Now, I tried to limit the input current by Saturation block, but it can’t conncect to Universal bridge 🙁 .
Anyone helps? Looking forward.
Appendix is the simulink model. Hey, everyone,
I wana simulate a induction motor, as shown in the image. I chose DC voltage source(220V), Universal bridge(IGBT) to get a three-phase voltage source, and chose synchronous Machine SI Units block as induction motor. The control mode is V/F, and got ideal 1373 rpm speed, but sadly, the stator current was much larger than the rate current (0.79A), I dont konw why.
Now, I tried to limit the input current by Saturation block, but it can’t conncect to Universal bridge 🙁 .
Anyone helps? Looking forward.
Appendix is the simulink model. simulink, induction motor MATLAB Answers — New Questions
matlab运行这行net =trainNetwork(p_train,t_train,layers,options)就闪退(matlab runs this line net =trainNetwork(p_train,t_train,layers,options) and flashes back)
无论什么神经网络模型的示例,只要运行到了net =trainNetwork(p_train,t_train,layers,options)这行就闪退是怎么回事,没有任何报错提示就退出了
No matter what neural network model example, as soon as I run the line net =trainNetwork(p_train,t_train,layers,options), it flashes back, and exits without any error message.无论什么神经网络模型的示例,只要运行到了net =trainNetwork(p_train,t_train,layers,options)这行就闪退是怎么回事,没有任何报错提示就退出了
No matter what neural network model example, as soon as I run the line net =trainNetwork(p_train,t_train,layers,options), it flashes back, and exits without any error message. 无论什么神经网络模型的示例,只要运行到了net =trainNetwork(p_train,t_train,layers,options)这行就闪退是怎么回事,没有任何报错提示就退出了
No matter what neural network model example, as soon as I run the line net =trainNetwork(p_train,t_train,layers,options), it flashes back, and exits without any error message. 神经网络模型 MATLAB Answers — New Questions
What can I do if I get the following error?
[X, Y, T] = ndgrid(xspan, yspan, tspan0);
R_pre = interpn(X, Y, T, u_history, x, y, tref, ‘linear’);
Incorrect use of griddedInterpolant.
GridVectors must define grids whose size is compatible with the Values array.[X, Y, T] = ndgrid(xspan, yspan, tspan0);
R_pre = interpn(X, Y, T, u_history, x, y, tref, ‘linear’);
Incorrect use of griddedInterpolant.
GridVectors must define grids whose size is compatible with the Values array. [X, Y, T] = ndgrid(xspan, yspan, tspan0);
R_pre = interpn(X, Y, T, u_history, x, y, tref, ‘linear’);
Incorrect use of griddedInterpolant.
GridVectors must define grids whose size is compatible with the Values array. 2dpde MATLAB Answers — New Questions
Can you programmatically create a custom filter for Simulink model diffs?
We have some blocks in our models that we basically always want to ignore when doing a model diff, and I have made a filter for that. But as of right now, the only way to get that to other people working on the models is to export the filters, and then they manually import the filters. It would be ideal if the filters could be setup progromatically, either through the project file, or some other method to edit the definition, that way everyone would always have the same base filters.
Anyone know where the filters are defined for the user? Can I get into the xml file somewhere?We have some blocks in our models that we basically always want to ignore when doing a model diff, and I have made a filter for that. But as of right now, the only way to get that to other people working on the models is to export the filters, and then they manually import the filters. It would be ideal if the filters could be setup progromatically, either through the project file, or some other method to edit the definition, that way everyone would always have the same base filters.
Anyone know where the filters are defined for the user? Can I get into the xml file somewhere? We have some blocks in our models that we basically always want to ignore when doing a model diff, and I have made a filter for that. But as of right now, the only way to get that to other people working on the models is to export the filters, and then they manually import the filters. It would be ideal if the filters could be setup progromatically, either through the project file, or some other method to edit the definition, that way everyone would always have the same base filters.
Anyone know where the filters are defined for the user? Can I get into the xml file somewhere? simulink, model diff, visdiff MATLAB Answers — New Questions
Asynchronous readwrite via serial port (App designer)
I used serial.
and used func for serial fwrite(app.s, values, ‘uint8’, ‘async’). I could select property ‘async’ to write to serial port.
Matlab tells me: serial will be removed in a future release. Use serialport instead.
How can I use property ‘async’ for serialport? I need to write/read asynchronous via serialport.I used serial.
and used func for serial fwrite(app.s, values, ‘uint8’, ‘async’). I could select property ‘async’ to write to serial port.
Matlab tells me: serial will be removed in a future release. Use serialport instead.
How can I use property ‘async’ for serialport? I need to write/read asynchronous via serialport. I used serial.
and used func for serial fwrite(app.s, values, ‘uint8’, ‘async’). I could select property ‘async’ to write to serial port.
Matlab tells me: serial will be removed in a future release. Use serialport instead.
How can I use property ‘async’ for serialport? I need to write/read asynchronous via serialport. app designer, matlab, serial MATLAB Answers — New Questions
Error when opening a test report related to stateflow
I have several mldatx files which are related to previous test results. Until yesterday, I could open them quite good tho but I today I couldn’t open any because I get the following error on the cmd window:
failed assertion in B:matlabtoolboxstateflowsrcstateflowutilssimutils.cpp at line 261:
SLGlue::isStateflowBlock(block)
[ 0] 0x00007ffcb5d8749d C:Program FilesMATLABR2023bbinwin64stateflow.dll+13857949 SF::mx2str_write_str+00034349
[ 1] 0x00007ffcb59d9a32 C:Program FilesMATLABR2023bbinwin64stateflow.dll+10000946 SF::sf_mexFunction+00002562
[ 2] 0x00007ffcb59d903c C:Program FilesMATLABR2023bbinwin64stateflow.dll+09998396 SF::sf_mexFunction+00000012
[ 3] 0x00007ffd72156f89 C:Program FilesMATLABR2023bbinwin64libmex.dll+00683913 mexfile::Inspector::needs_upgrade+00023257
[ 4] 0x00007ffd7215a002 C:Program FilesMATLABR2023bbinwin64libmex.dll+00696322 MexRetrieveVersion+00009682
[ 5] 0x00007ffd7215a327 C:Program FilesMATLABR2023bbinwin64libmex.dll+00697127 MexRetrieveVersion+00010487
[ 6] 0x00007ffd7213b2ce C:Program FilesMATLABR2023bbinwin64libmex.dll+00570062 mexUnlock+00016942
[ 7] 0x00007ffd757245a2 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[ 8] 0x00007ffd75723802 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01259522 Mfh_error::lookup+00012722
[ 9] 0x00007ffd757244dd C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01262813 Mfh_file::dispatch+00000045
[ 10] 0x00007ffd718f705d C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00421981 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00313389
[ 11] 0x00007ffd71906c3e C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00486462 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00377870
[ 12] 0x00007ffd47f0a93e C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06072638 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006318
[ 13] 0x00007ffd47f0ca18 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06081048 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00014728
[ 14] 0x00007ffd47e41438 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+05248056 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00212072
[ 15] 0x00007ffd47e5e379 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+05366649 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00330665
[ 16] 0x00007ffd47d191c7 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+04035015 MathWorks::lxe::GetTag+00006663
[ 17] 0x00007ffd47d034f8 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+03945720 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041688
[ 18] 0x00007ffd47d078c0 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+03963072 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059040
[ 19] 0x00007ffd719f5790 C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+01464208 FeatureTestObservableWorkspace+00211120
[ 20] 0x00007ffd718eee3b C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00388667 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280075
[ 21] 0x00007ffd718eeabc C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00387772 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00279180
[ 22] 0x00007ffd718f14f2 C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00398578 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00289986
[ 23] 0x00007ffd757245a2 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[ 24] 0x00007ffd75723228 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01258024 Mfh_error::lookup+00011224
[ 25] 0x00007ffd7572449d C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01262749 Mfh_file::dispatch+00000045
[ 26] 0x00007ffd31a65ff6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+03825654 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00306918
[ 27] 0x00007ffd31993947 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02963783 mcos::heterogeneous::mcosIsHeterogeneousArray+00051367
[ 28] 0x00007ffd31993af1 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02964209 mcos::heterogeneous::mcosIsHeterogeneousArray+00051793
[ 29] 0x00007ffd31993f8f C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02965391 mcos::heterogeneous::mcosIsHeterogeneousArray+00052975
[ 30] 0x00007ffd31997c7c C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02980988 mcos::heterogeneous::mcosIsHeterogeneousArray+00068572
[ 31] 0x00007ffd31aa35e6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+04077030 namedArgsToCell+00000870
[ 32] 0x00007ffd31ba614f C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+05136719 musBeA+00328719
[ 33] 0x00007ffd31ba4aa6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+05130918 musBeA+00322918
[ 34] 0x00007ffd755fc07f C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+00049279
[ 35] 0x00007ffd7561d76d C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+00186221 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 36] 0x00007ffd47f3ac70 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06270064 MathWorks::lxe::CreateUnboundFunctionHandle+00011168
[ 37] 0x00007ffd7193ef8d C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00716685 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00086333
[ 38] 0x00007ffd719b952f C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+01217839 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00323199
[ 39] 0x00007ffd75357ed5 C:Program FilesMATLABR2023bbinwin64m_interpreter.dll+00753365 inCallFcn+00000069
[ 40] 0x00007ffd45437216 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02585110 slsv::mxw::WarningHandler::operator=+00004918
[ 41] 0x00007ffd4544bcde C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02669790 CMatlabCommand::execute+00000190
[ 42] 0x00007ffd4545c8e4 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02738404 slsvFEVAL_NoThrow+00000276
[ 43] 0x00007ffd4545c7c4 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02738116 slsvFEVAL_NoThrow+00000068
[ 44] 0x00007ffca39e5898 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07755928 stm_util::lookup<stm::CoverageMetrics>+00010120
[ 45] 0x00007ffca39ea4ad C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07775405 stm_util::lookup<stm::CoverageMetrics>+00029597
[ 46] 0x00007ffca39ed7a3 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07788451 stm_util::lookup<stm::CoverageMetrics>+00042643
[ 47] 0x00007ffd09c93044 C:Program FilesMATLABR2023bbinwin64dmr.dll+00274500 dmr::ObjectRef::objectID+00003668
[ 48] 0x00007ffd09c92f30 C:Program FilesMATLABR2023bbinwin64dmr.dll+00274224 dmr::ObjectRef::objectID+00003392
[ 49] 0x00007ffcf44891bf C:Program FilesMATLABR2023bbinwin64simulation_data_repository.dll+00823743 sdi::ObjectManager::safeTransaction+00000095
[ 50] 0x00007ffca39eaae9 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07777001 stm_util::lookup<stm::CoverageMetrics>+00031193
[ 51] 0x00007ffca3b6fc4e C:Program FilesMATLABR2023bbinwin64libmwstm.dll+09370702 stm::msgservice::unsubscribeAll+00110030
[ 52] 0x00007ffca3557fe4 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+02981860
[ 53] 0x00007ffca358df00 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+03202816 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure’+00032240
[ 54] 0x00007ffd75908c3a C:Program FilesMATLABR2023bbinwin64iqm.dll+00822330 iqm::PackagedTaskPlugin::execute+00000074
[ 55] 0x00007ffd731a58e0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00415968 installMOCmdWinSink+00074384
[ 56] 0x00007ffd758dcbb7 C:Program FilesMATLABR2023bbinwin64iqm.dll+00641975 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 57] 0x00007ffd758acc61 C:Program FilesMATLABR2023bbinwin64iqm.dll+00445537 iqm::Iqm::create+00007745
[ 58] 0x00007ffd71fa3f5e C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00081758 ioReadLine+00000430
[ 59] 0x00007ffd71fa3d75 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00081269 ioReadLine+00000165
[ 60] 0x00007ffd71fd5fb0 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00286640 mnGetCommandLineBuffer+00000288
[ 61] 0x00007ffd71fd64b2 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00287922 mnParser+00000578
[ 62] 0x00007ffd731ab398 C:Program FilesMATLABR2023bbinwin64mcr.dll+00439192 mcr_initialize_main+00013816
[ 63] 0x00007ffd73158604 C:Program FilesMATLABR2023bbinwin64mcr.dll+00099844 mcrFunctionSignature::set_signature+00078996
[ 64] 0x00007ffd731761a0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00221600 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure’+00017728
[ 65] 0x00007ffd75908c3a C:Program FilesMATLABR2023bbinwin64iqm.dll+00822330 iqm::PackagedTaskPlugin::execute+00000074
[ 66] 0x00007ffd731a58e0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00415968 installMOCmdWinSink+00074384
[ 67] 0x00007ffd758dcbb7 C:Program FilesMATLABR2023bbinwin64iqm.dll+00641975 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 68] 0x00007ffd758ade81 C:Program FilesMATLABR2023bbinwin64iqm.dll+00450177 iqm::Iqm::create+00012385
[ 69] 0x00007ffd758ad5c9 C:Program FilesMATLABR2023bbinwin64iqm.dll+00447945 iqm::Iqm::create+00010153
[ 70] 0x00007ffd73191c1c C:Program FilesMATLABR2023bbinwin64mcr.dll+00334876 mcrInstantiationError::operator=+00009948
[ 71] 0x00007ffd73192645 C:Program FilesMATLABR2023bbinwin64mcr.dll+00337477 mcrInstantiationError::operator=+00012549
[ 72] 0x00007ffd7318ffd0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00327632 mcrInstantiationError::operator=+00002704
[ 73] 0x00007ffe069892ea C:Program FilesMATLABR2023bbinwin64mwboost_thread-vc142-mt-x64-1_78.dll+00037610 mwboost::detail::win32::handle_manager::swap+00001642
[ 74] 0x00007ffe22dd9333 C:WINDOWSSystem32ucrtbase.dll+00168755 recalloc+00000163
[ 75] 0x00007ffe240d257d C:WINDOWSSystem32KERNEL32.DLL+00075133 BaseThreadInitThunk+00000029
[ 76] 0x00007ffe251eaf28 C:WINDOWSSYSTEM32ntdll.dll+00372520 RtlUserThreadStart+00000040
MATLAB stack trace:
> In cvi.TopModelCov.updateModelHandles>get_sf_block_instance_handle
In cvi.TopModelCov.updateModelHandles>update_sf_chart_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles
In cvi.ReportUtils.checkModelLoaded
In cvi.ReportUtils.loadTopModelAndRefModels>checkModelLoaded
In cvi.ReportUtils.loadTopModelAndRefModels>checkModelLoadedForCovdata
In cvi.ReportUtils.loadTopModelAndRefModels
In cvmodelview
In stm.internal.Coverage.safeSlvnv
In stm.internal.Coverage.modelViewI have several mldatx files which are related to previous test results. Until yesterday, I could open them quite good tho but I today I couldn’t open any because I get the following error on the cmd window:
failed assertion in B:matlabtoolboxstateflowsrcstateflowutilssimutils.cpp at line 261:
SLGlue::isStateflowBlock(block)
[ 0] 0x00007ffcb5d8749d C:Program FilesMATLABR2023bbinwin64stateflow.dll+13857949 SF::mx2str_write_str+00034349
[ 1] 0x00007ffcb59d9a32 C:Program FilesMATLABR2023bbinwin64stateflow.dll+10000946 SF::sf_mexFunction+00002562
[ 2] 0x00007ffcb59d903c C:Program FilesMATLABR2023bbinwin64stateflow.dll+09998396 SF::sf_mexFunction+00000012
[ 3] 0x00007ffd72156f89 C:Program FilesMATLABR2023bbinwin64libmex.dll+00683913 mexfile::Inspector::needs_upgrade+00023257
[ 4] 0x00007ffd7215a002 C:Program FilesMATLABR2023bbinwin64libmex.dll+00696322 MexRetrieveVersion+00009682
[ 5] 0x00007ffd7215a327 C:Program FilesMATLABR2023bbinwin64libmex.dll+00697127 MexRetrieveVersion+00010487
[ 6] 0x00007ffd7213b2ce C:Program FilesMATLABR2023bbinwin64libmex.dll+00570062 mexUnlock+00016942
[ 7] 0x00007ffd757245a2 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[ 8] 0x00007ffd75723802 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01259522 Mfh_error::lookup+00012722
[ 9] 0x00007ffd757244dd C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01262813 Mfh_file::dispatch+00000045
[ 10] 0x00007ffd718f705d C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00421981 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00313389
[ 11] 0x00007ffd71906c3e C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00486462 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00377870
[ 12] 0x00007ffd47f0a93e C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06072638 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006318
[ 13] 0x00007ffd47f0ca18 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06081048 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00014728
[ 14] 0x00007ffd47e41438 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+05248056 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00212072
[ 15] 0x00007ffd47e5e379 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+05366649 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00330665
[ 16] 0x00007ffd47d191c7 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+04035015 MathWorks::lxe::GetTag+00006663
[ 17] 0x00007ffd47d034f8 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+03945720 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041688
[ 18] 0x00007ffd47d078c0 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+03963072 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059040
[ 19] 0x00007ffd719f5790 C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+01464208 FeatureTestObservableWorkspace+00211120
[ 20] 0x00007ffd718eee3b C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00388667 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280075
[ 21] 0x00007ffd718eeabc C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00387772 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00279180
[ 22] 0x00007ffd718f14f2 C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00398578 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00289986
[ 23] 0x00007ffd757245a2 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[ 24] 0x00007ffd75723228 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01258024 Mfh_error::lookup+00011224
[ 25] 0x00007ffd7572449d C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01262749 Mfh_file::dispatch+00000045
[ 26] 0x00007ffd31a65ff6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+03825654 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00306918
[ 27] 0x00007ffd31993947 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02963783 mcos::heterogeneous::mcosIsHeterogeneousArray+00051367
[ 28] 0x00007ffd31993af1 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02964209 mcos::heterogeneous::mcosIsHeterogeneousArray+00051793
[ 29] 0x00007ffd31993f8f C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02965391 mcos::heterogeneous::mcosIsHeterogeneousArray+00052975
[ 30] 0x00007ffd31997c7c C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02980988 mcos::heterogeneous::mcosIsHeterogeneousArray+00068572
[ 31] 0x00007ffd31aa35e6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+04077030 namedArgsToCell+00000870
[ 32] 0x00007ffd31ba614f C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+05136719 musBeA+00328719
[ 33] 0x00007ffd31ba4aa6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+05130918 musBeA+00322918
[ 34] 0x00007ffd755fc07f C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+00049279
[ 35] 0x00007ffd7561d76d C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+00186221 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 36] 0x00007ffd47f3ac70 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06270064 MathWorks::lxe::CreateUnboundFunctionHandle+00011168
[ 37] 0x00007ffd7193ef8d C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00716685 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00086333
[ 38] 0x00007ffd719b952f C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+01217839 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00323199
[ 39] 0x00007ffd75357ed5 C:Program FilesMATLABR2023bbinwin64m_interpreter.dll+00753365 inCallFcn+00000069
[ 40] 0x00007ffd45437216 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02585110 slsv::mxw::WarningHandler::operator=+00004918
[ 41] 0x00007ffd4544bcde C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02669790 CMatlabCommand::execute+00000190
[ 42] 0x00007ffd4545c8e4 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02738404 slsvFEVAL_NoThrow+00000276
[ 43] 0x00007ffd4545c7c4 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02738116 slsvFEVAL_NoThrow+00000068
[ 44] 0x00007ffca39e5898 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07755928 stm_util::lookup<stm::CoverageMetrics>+00010120
[ 45] 0x00007ffca39ea4ad C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07775405 stm_util::lookup<stm::CoverageMetrics>+00029597
[ 46] 0x00007ffca39ed7a3 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07788451 stm_util::lookup<stm::CoverageMetrics>+00042643
[ 47] 0x00007ffd09c93044 C:Program FilesMATLABR2023bbinwin64dmr.dll+00274500 dmr::ObjectRef::objectID+00003668
[ 48] 0x00007ffd09c92f30 C:Program FilesMATLABR2023bbinwin64dmr.dll+00274224 dmr::ObjectRef::objectID+00003392
[ 49] 0x00007ffcf44891bf C:Program FilesMATLABR2023bbinwin64simulation_data_repository.dll+00823743 sdi::ObjectManager::safeTransaction+00000095
[ 50] 0x00007ffca39eaae9 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07777001 stm_util::lookup<stm::CoverageMetrics>+00031193
[ 51] 0x00007ffca3b6fc4e C:Program FilesMATLABR2023bbinwin64libmwstm.dll+09370702 stm::msgservice::unsubscribeAll+00110030
[ 52] 0x00007ffca3557fe4 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+02981860
[ 53] 0x00007ffca358df00 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+03202816 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure’+00032240
[ 54] 0x00007ffd75908c3a C:Program FilesMATLABR2023bbinwin64iqm.dll+00822330 iqm::PackagedTaskPlugin::execute+00000074
[ 55] 0x00007ffd731a58e0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00415968 installMOCmdWinSink+00074384
[ 56] 0x00007ffd758dcbb7 C:Program FilesMATLABR2023bbinwin64iqm.dll+00641975 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 57] 0x00007ffd758acc61 C:Program FilesMATLABR2023bbinwin64iqm.dll+00445537 iqm::Iqm::create+00007745
[ 58] 0x00007ffd71fa3f5e C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00081758 ioReadLine+00000430
[ 59] 0x00007ffd71fa3d75 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00081269 ioReadLine+00000165
[ 60] 0x00007ffd71fd5fb0 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00286640 mnGetCommandLineBuffer+00000288
[ 61] 0x00007ffd71fd64b2 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00287922 mnParser+00000578
[ 62] 0x00007ffd731ab398 C:Program FilesMATLABR2023bbinwin64mcr.dll+00439192 mcr_initialize_main+00013816
[ 63] 0x00007ffd73158604 C:Program FilesMATLABR2023bbinwin64mcr.dll+00099844 mcrFunctionSignature::set_signature+00078996
[ 64] 0x00007ffd731761a0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00221600 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure’+00017728
[ 65] 0x00007ffd75908c3a C:Program FilesMATLABR2023bbinwin64iqm.dll+00822330 iqm::PackagedTaskPlugin::execute+00000074
[ 66] 0x00007ffd731a58e0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00415968 installMOCmdWinSink+00074384
[ 67] 0x00007ffd758dcbb7 C:Program FilesMATLABR2023bbinwin64iqm.dll+00641975 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 68] 0x00007ffd758ade81 C:Program FilesMATLABR2023bbinwin64iqm.dll+00450177 iqm::Iqm::create+00012385
[ 69] 0x00007ffd758ad5c9 C:Program FilesMATLABR2023bbinwin64iqm.dll+00447945 iqm::Iqm::create+00010153
[ 70] 0x00007ffd73191c1c C:Program FilesMATLABR2023bbinwin64mcr.dll+00334876 mcrInstantiationError::operator=+00009948
[ 71] 0x00007ffd73192645 C:Program FilesMATLABR2023bbinwin64mcr.dll+00337477 mcrInstantiationError::operator=+00012549
[ 72] 0x00007ffd7318ffd0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00327632 mcrInstantiationError::operator=+00002704
[ 73] 0x00007ffe069892ea C:Program FilesMATLABR2023bbinwin64mwboost_thread-vc142-mt-x64-1_78.dll+00037610 mwboost::detail::win32::handle_manager::swap+00001642
[ 74] 0x00007ffe22dd9333 C:WINDOWSSystem32ucrtbase.dll+00168755 recalloc+00000163
[ 75] 0x00007ffe240d257d C:WINDOWSSystem32KERNEL32.DLL+00075133 BaseThreadInitThunk+00000029
[ 76] 0x00007ffe251eaf28 C:WINDOWSSYSTEM32ntdll.dll+00372520 RtlUserThreadStart+00000040
MATLAB stack trace:
> In cvi.TopModelCov.updateModelHandles>get_sf_block_instance_handle
In cvi.TopModelCov.updateModelHandles>update_sf_chart_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles
In cvi.ReportUtils.checkModelLoaded
In cvi.ReportUtils.loadTopModelAndRefModels>checkModelLoaded
In cvi.ReportUtils.loadTopModelAndRefModels>checkModelLoadedForCovdata
In cvi.ReportUtils.loadTopModelAndRefModels
In cvmodelview
In stm.internal.Coverage.safeSlvnv
In stm.internal.Coverage.modelView I have several mldatx files which are related to previous test results. Until yesterday, I could open them quite good tho but I today I couldn’t open any because I get the following error on the cmd window:
failed assertion in B:matlabtoolboxstateflowsrcstateflowutilssimutils.cpp at line 261:
SLGlue::isStateflowBlock(block)
[ 0] 0x00007ffcb5d8749d C:Program FilesMATLABR2023bbinwin64stateflow.dll+13857949 SF::mx2str_write_str+00034349
[ 1] 0x00007ffcb59d9a32 C:Program FilesMATLABR2023bbinwin64stateflow.dll+10000946 SF::sf_mexFunction+00002562
[ 2] 0x00007ffcb59d903c C:Program FilesMATLABR2023bbinwin64stateflow.dll+09998396 SF::sf_mexFunction+00000012
[ 3] 0x00007ffd72156f89 C:Program FilesMATLABR2023bbinwin64libmex.dll+00683913 mexfile::Inspector::needs_upgrade+00023257
[ 4] 0x00007ffd7215a002 C:Program FilesMATLABR2023bbinwin64libmex.dll+00696322 MexRetrieveVersion+00009682
[ 5] 0x00007ffd7215a327 C:Program FilesMATLABR2023bbinwin64libmex.dll+00697127 MexRetrieveVersion+00010487
[ 6] 0x00007ffd7213b2ce C:Program FilesMATLABR2023bbinwin64libmex.dll+00570062 mexUnlock+00016942
[ 7] 0x00007ffd757245a2 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[ 8] 0x00007ffd75723802 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01259522 Mfh_error::lookup+00012722
[ 9] 0x00007ffd757244dd C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01262813 Mfh_file::dispatch+00000045
[ 10] 0x00007ffd718f705d C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00421981 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00313389
[ 11] 0x00007ffd71906c3e C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00486462 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00377870
[ 12] 0x00007ffd47f0a93e C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06072638 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006318
[ 13] 0x00007ffd47f0ca18 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06081048 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00014728
[ 14] 0x00007ffd47e41438 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+05248056 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00212072
[ 15] 0x00007ffd47e5e379 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+05366649 MathWorks::lxe::XvalueFactory::XvalueDeleter::XvalueDeleter+00330665
[ 16] 0x00007ffd47d191c7 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+04035015 MathWorks::lxe::GetTag+00006663
[ 17] 0x00007ffd47d034f8 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+03945720 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041688
[ 18] 0x00007ffd47d078c0 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+03963072 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059040
[ 19] 0x00007ffd719f5790 C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+01464208 FeatureTestObservableWorkspace+00211120
[ 20] 0x00007ffd718eee3b C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00388667 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280075
[ 21] 0x00007ffd718eeabc C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00387772 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00279180
[ 22] 0x00007ffd718f14f2 C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00398578 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00289986
[ 23] 0x00007ffd757245a2 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01263010 Mfh_file::dispatch_file_common+00000178
[ 24] 0x00007ffd75723228 C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01258024 Mfh_error::lookup+00011224
[ 25] 0x00007ffd7572449d C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+01262749 Mfh_file::dispatch+00000045
[ 26] 0x00007ffd31a65ff6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+03825654 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00306918
[ 27] 0x00007ffd31993947 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02963783 mcos::heterogeneous::mcosIsHeterogeneousArray+00051367
[ 28] 0x00007ffd31993af1 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02964209 mcos::heterogeneous::mcosIsHeterogeneousArray+00051793
[ 29] 0x00007ffd31993f8f C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02965391 mcos::heterogeneous::mcosIsHeterogeneousArray+00052975
[ 30] 0x00007ffd31997c7c C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+02980988 mcos::heterogeneous::mcosIsHeterogeneousArray+00068572
[ 31] 0x00007ffd31aa35e6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+04077030 namedArgsToCell+00000870
[ 32] 0x00007ffd31ba614f C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+05136719 musBeA+00328719
[ 33] 0x00007ffd31ba4aa6 C:Program FilesMATLABR2023bbinwin64mcos_impl.dll+05130918 musBeA+00322918
[ 34] 0x00007ffd755fc07f C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+00049279
[ 35] 0x00007ffd7561d76d C:Program FilesMATLABR2023bbinwin64m_dispatcher.dll+00186221 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 36] 0x00007ffd47f3ac70 C:Program FilesMATLABR2023bbinwin64m_lxe.dll+06270064 MathWorks::lxe::CreateUnboundFunctionHandle+00011168
[ 37] 0x00007ffd7193ef8d C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+00716685 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00086333
[ 38] 0x00007ffd719b952f C:Program FilesMATLABR2023bbinwin64libmwlxemainservices.dll+01217839 mwboost::archive::detail::oserializer<mwboost::archive::text_oarchive,MathWorks::MatlabComponents::ComponentIdentifier>::save_object_data+00323199
[ 39] 0x00007ffd75357ed5 C:Program FilesMATLABR2023bbinwin64m_interpreter.dll+00753365 inCallFcn+00000069
[ 40] 0x00007ffd45437216 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02585110 slsv::mxw::WarningHandler::operator=+00004918
[ 41] 0x00007ffd4544bcde C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02669790 CMatlabCommand::execute+00000190
[ 42] 0x00007ffd4545c8e4 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02738404 slsvFEVAL_NoThrow+00000276
[ 43] 0x00007ffd4545c7c4 C:Program FilesMATLABR2023bbinwin64libmwsl_services.dll+02738116 slsvFEVAL_NoThrow+00000068
[ 44] 0x00007ffca39e5898 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07755928 stm_util::lookup<stm::CoverageMetrics>+00010120
[ 45] 0x00007ffca39ea4ad C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07775405 stm_util::lookup<stm::CoverageMetrics>+00029597
[ 46] 0x00007ffca39ed7a3 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07788451 stm_util::lookup<stm::CoverageMetrics>+00042643
[ 47] 0x00007ffd09c93044 C:Program FilesMATLABR2023bbinwin64dmr.dll+00274500 dmr::ObjectRef::objectID+00003668
[ 48] 0x00007ffd09c92f30 C:Program FilesMATLABR2023bbinwin64dmr.dll+00274224 dmr::ObjectRef::objectID+00003392
[ 49] 0x00007ffcf44891bf C:Program FilesMATLABR2023bbinwin64simulation_data_repository.dll+00823743 sdi::ObjectManager::safeTransaction+00000095
[ 50] 0x00007ffca39eaae9 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+07777001 stm_util::lookup<stm::CoverageMetrics>+00031193
[ 51] 0x00007ffca3b6fc4e C:Program FilesMATLABR2023bbinwin64libmwstm.dll+09370702 stm::msgservice::unsubscribeAll+00110030
[ 52] 0x00007ffca3557fe4 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+02981860
[ 53] 0x00007ffca358df00 C:Program FilesMATLABR2023bbinwin64libmwstm.dll+03202816 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure’+00032240
[ 54] 0x00007ffd75908c3a C:Program FilesMATLABR2023bbinwin64iqm.dll+00822330 iqm::PackagedTaskPlugin::execute+00000074
[ 55] 0x00007ffd731a58e0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00415968 installMOCmdWinSink+00074384
[ 56] 0x00007ffd758dcbb7 C:Program FilesMATLABR2023bbinwin64iqm.dll+00641975 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 57] 0x00007ffd758acc61 C:Program FilesMATLABR2023bbinwin64iqm.dll+00445537 iqm::Iqm::create+00007745
[ 58] 0x00007ffd71fa3f5e C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00081758 ioReadLine+00000430
[ 59] 0x00007ffd71fa3d75 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00081269 ioReadLine+00000165
[ 60] 0x00007ffd71fd5fb0 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00286640 mnGetCommandLineBuffer+00000288
[ 61] 0x00007ffd71fd64b2 C:Program FilesMATLABR2023bbinwin64libmwbridge.dll+00287922 mnParser+00000578
[ 62] 0x00007ffd731ab398 C:Program FilesMATLABR2023bbinwin64mcr.dll+00439192 mcr_initialize_main+00013816
[ 63] 0x00007ffd73158604 C:Program FilesMATLABR2023bbinwin64mcr.dll+00099844 mcrFunctionSignature::set_signature+00078996
[ 64] 0x00007ffd731761a0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00221600 mwboost::archive::codecvt_null<wchar_t>::`default constructor closure’+00017728
[ 65] 0x00007ffd75908c3a C:Program FilesMATLABR2023bbinwin64iqm.dll+00822330 iqm::PackagedTaskPlugin::execute+00000074
[ 66] 0x00007ffd731a58e0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00415968 installMOCmdWinSink+00074384
[ 67] 0x00007ffd758dcbb7 C:Program FilesMATLABR2023bbinwin64iqm.dll+00641975 iqm::Iqm::setupIqmFcnPtrs+00100471
[ 68] 0x00007ffd758ade81 C:Program FilesMATLABR2023bbinwin64iqm.dll+00450177 iqm::Iqm::create+00012385
[ 69] 0x00007ffd758ad5c9 C:Program FilesMATLABR2023bbinwin64iqm.dll+00447945 iqm::Iqm::create+00010153
[ 70] 0x00007ffd73191c1c C:Program FilesMATLABR2023bbinwin64mcr.dll+00334876 mcrInstantiationError::operator=+00009948
[ 71] 0x00007ffd73192645 C:Program FilesMATLABR2023bbinwin64mcr.dll+00337477 mcrInstantiationError::operator=+00012549
[ 72] 0x00007ffd7318ffd0 C:Program FilesMATLABR2023bbinwin64mcr.dll+00327632 mcrInstantiationError::operator=+00002704
[ 73] 0x00007ffe069892ea C:Program FilesMATLABR2023bbinwin64mwboost_thread-vc142-mt-x64-1_78.dll+00037610 mwboost::detail::win32::handle_manager::swap+00001642
[ 74] 0x00007ffe22dd9333 C:WINDOWSSystem32ucrtbase.dll+00168755 recalloc+00000163
[ 75] 0x00007ffe240d257d C:WINDOWSSystem32KERNEL32.DLL+00075133 BaseThreadInitThunk+00000029
[ 76] 0x00007ffe251eaf28 C:WINDOWSSYSTEM32ntdll.dll+00372520 RtlUserThreadStart+00000040
MATLAB stack trace:
> In cvi.TopModelCov.updateModelHandles>get_sf_block_instance_handle
In cvi.TopModelCov.updateModelHandles>update_sf_chart_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles>update_susbsys_handles
In cvi.TopModelCov.updateModelHandles
In cvi.ReportUtils.checkModelLoaded
In cvi.ReportUtils.loadTopModelAndRefModels>checkModelLoaded
In cvi.ReportUtils.loadTopModelAndRefModels>checkModelLoadedForCovdata
In cvi.ReportUtils.loadTopModelAndRefModels
In cvmodelview
In stm.internal.Coverage.safeSlvnv
In stm.internal.Coverage.modelView stateflow, testing, simulink, test MATLAB Answers — New Questions
statement in test assessment block
how can i verify output (multiple statements)w.r.t time in test assessment block , for example-(if t==1 ,verify (out== 1 ) ) (if t==2,verify (out== 2) )……..(if t==8 ,verify (out== 8 ) ) can we use any loops in test assement block in simulink test ?
for t=1:8
if t==i
verify(out==i)
end
this for loop showing error.how can i verify output (multiple statements)w.r.t time in test assessment block , for example-(if t==1 ,verify (out== 1 ) ) (if t==2,verify (out== 2) )……..(if t==8 ,verify (out== 8 ) ) can we use any loops in test assement block in simulink test ?
for t=1:8
if t==i
verify(out==i)
end
this for loop showing error. how can i verify output (multiple statements)w.r.t time in test assessment block , for example-(if t==1 ,verify (out== 1 ) ) (if t==2,verify (out== 2) )……..(if t==8 ,verify (out== 8 ) ) can we use any loops in test assement block in simulink test ?
for t=1:8
if t==i
verify(out==i)
end
this for loop showing error. test manager, test assement block MATLAB Answers — New Questions
How to do fast fourier analysis of first harmonic in matlab?
In simulink there is a block called, Fast Fourier Analysis, that given the fundamental frequency it extracts the phase delay and the magnitude amplification. I need to do the same thing in matlab, how can i do it? The harmonics of which I would like to extract the information it is just the first one. Is there a function or a specific code that i can use?
The data signal would then be given as input as an array with the relative time.In simulink there is a block called, Fast Fourier Analysis, that given the fundamental frequency it extracts the phase delay and the magnitude amplification. I need to do the same thing in matlab, how can i do it? The harmonics of which I would like to extract the information it is just the first one. Is there a function or a specific code that i can use?
The data signal would then be given as input as an array with the relative time. In simulink there is a block called, Fast Fourier Analysis, that given the fundamental frequency it extracts the phase delay and the magnitude amplification. I need to do the same thing in matlab, how can i do it? The harmonics of which I would like to extract the information it is just the first one. Is there a function or a specific code that i can use?
The data signal would then be given as input as an array with the relative time. matlab, signal, fft, signal processing, digital signal processing, frequency, simulink MATLAB Answers — New Questions
How to add a customized drive cycle in the vehicle composer app?
I want to add a customized drive cycle in the vehicle composer app. How can I add it to the app?I want to add a customized drive cycle in the vehicle composer app. How can I add it to the app? I want to add a customized drive cycle in the vehicle composer app. How can I add it to the app? vehicle composer app, matlab, drive cycle MATLAB Answers — New Questions
Mapping external inputs from Excel file to Test Harness fails
Hello All,
i am using MATLAB R2015b and trying to run an equivalence test (MIL vs SIL) using SL Test Manager.
I have created a test harness for the model. In the "INPUT" section I am adding the input as external inputs since the inputs are defined in a excel file.
This simple model has only 2 inputs (boolean and uint8) and 1 ouput (boolean).
The first column of my excel file contains the time vector, the second and third one contain the input signal values.
When mapping the inputs I get the following message:
"Failed to map inputs. Use a different file or a different mapping mode."
I have tried the other mapping modes but still get the same error message.
Can anyone advise how to fix this issue?Hello All,
i am using MATLAB R2015b and trying to run an equivalence test (MIL vs SIL) using SL Test Manager.
I have created a test harness for the model. In the "INPUT" section I am adding the input as external inputs since the inputs are defined in a excel file.
This simple model has only 2 inputs (boolean and uint8) and 1 ouput (boolean).
The first column of my excel file contains the time vector, the second and third one contain the input signal values.
When mapping the inputs I get the following message:
"Failed to map inputs. Use a different file or a different mapping mode."
I have tried the other mapping modes but still get the same error message.
Can anyone advise how to fix this issue? Hello All,
i am using MATLAB R2015b and trying to run an equivalence test (MIL vs SIL) using SL Test Manager.
I have created a test harness for the model. In the "INPUT" section I am adding the input as external inputs since the inputs are defined in a excel file.
This simple model has only 2 inputs (boolean and uint8) and 1 ouput (boolean).
The first column of my excel file contains the time vector, the second and third one contain the input signal values.
When mapping the inputs I get the following message:
"Failed to map inputs. Use a different file or a different mapping mode."
I have tried the other mapping modes but still get the same error message.
Can anyone advise how to fix this issue? simulink test, test harness, input mapping, equivalence test MATLAB Answers — New Questions