Month: August 2024
Parallel Workers Sometimes Can’t Access Function
I’m building an app that uses the Parallel Processing toolbox to run Simulink models in parallel. I create a list of FevalFuture objects for the workers, and assign their tasks with parfeval on a function I wrote. I don’t have my code on me at the moment, but it’s basically
for p = 1:numel(taskList)
futures(p) = parfeval(appName.parallelSimulationTask(taskList{p}));
end
It was working at one point, but now it takes 3 tries to successfully run.
After the pool is first opened, none of the tasks run at all. They all immediately return a MATLAB:class:MethodRestricted error saying they cannot access the function I’m sending them.
The second time I run my app, with the pool still open, only some of them fail with the same error. The rest run successfully.
The third time and then on, everything runs perfectly with no errors.
Does anyone have any idea why parallel workers would sometimes be unable to access a function?
I don’t have my code on me at the moment, but I can add it later if necessary.I’m building an app that uses the Parallel Processing toolbox to run Simulink models in parallel. I create a list of FevalFuture objects for the workers, and assign their tasks with parfeval on a function I wrote. I don’t have my code on me at the moment, but it’s basically
for p = 1:numel(taskList)
futures(p) = parfeval(appName.parallelSimulationTask(taskList{p}));
end
It was working at one point, but now it takes 3 tries to successfully run.
After the pool is first opened, none of the tasks run at all. They all immediately return a MATLAB:class:MethodRestricted error saying they cannot access the function I’m sending them.
The second time I run my app, with the pool still open, only some of them fail with the same error. The rest run successfully.
The third time and then on, everything runs perfectly with no errors.
Does anyone have any idea why parallel workers would sometimes be unable to access a function?
I don’t have my code on me at the moment, but I can add it later if necessary. I’m building an app that uses the Parallel Processing toolbox to run Simulink models in parallel. I create a list of FevalFuture objects for the workers, and assign their tasks with parfeval on a function I wrote. I don’t have my code on me at the moment, but it’s basically
for p = 1:numel(taskList)
futures(p) = parfeval(appName.parallelSimulationTask(taskList{p}));
end
It was working at one point, but now it takes 3 tries to successfully run.
After the pool is first opened, none of the tasks run at all. They all immediately return a MATLAB:class:MethodRestricted error saying they cannot access the function I’m sending them.
The second time I run my app, with the pool still open, only some of them fail with the same error. The rest run successfully.
The third time and then on, everything runs perfectly with no errors.
Does anyone have any idea why parallel workers would sometimes be unable to access a function?
I don’t have my code on me at the moment, but I can add it later if necessary. parallel computing, simulink, methodrestricted MATLAB Answers — New Questions
How to get “Clean” edges on a surface plot?
Hello All,
I am trying to plot a surface using the surf() command with some imported shape data from a CSV. The shape in question is created by revolving our data from 0 to 180 degrees. The data starts out as axial position and a corresponding radius. Essentially, it’s a half-pipe with asymmetrically tapered ends.
I’ve been able to import my data, revolve it, and use meshgrid() and griddata() to create the Z coordinate matrix. However, as you can see from my attached screenshot, there are "flats" at the ends of the revolved shape. I have a feeling this has something to do with the interpolation, but I’m not very familiar with this type of stuff. I can’t seem to get rid of the flat protrusions.
In my attempts to rectify this, the closest I could get was ending up with jagged edges instead. But this won’t work either since this shape data is going to be imported into a Simscape model, and we want it to be as true to life as possible (no flat protrusions and no jagged edges).
Any ideas? Data attached as a text file (wouldn’t let me attach a CSV) and code pasted below.
Thanks Everyone!
GS = readtable(‘GSDataEdited.csv’);
GS = table2array(GS);
GSx = GS(:, 1);
GSrad = GS(:, 2);
% Define the angle step (in degrees)
angle_step = 7.5;
all_points = [];
% Loop through angles from 0 to 180 degrees
for angle = 0:angle_step:180
% Convert angle to radians
theta = deg2rad(angle);
% Create rotation matrix for current angle
R = [1 0 0; 0 cos(theta) -sin(theta); 0 sin(theta) cos(theta)];
% Rotate the coordinates
rotated_coords = R * [GSx’; GSrad’; zeros(size(GSx’))];
% Append the rotated coordinates to the matrix
all_points = [all_points, rotated_coords];
end
all_points = all_points’;
GSx = all_points(:, 1);
GSy = all_points(:, 2);
GSz = all_points(:, 3);
GSall = [GSx,GSy,GSz;GSx,GSy,-GSz];
GSall = unique(GSall, ‘rows’);
% Define grid for interpolation
[GSX,GSY] = meshgrid(min(GSx):1:max(GSx), min(GSy):1:max(GSy)); % Define the grid spacing
% Interpolate data onto grid
ZVect = griddata(GSx, GSy, GSz, GSX, GSY, ‘linear’);
XVect = GSX(1, :);
YVect = GSY(:, 1);
ZVect(isnan(ZVect))=0;
surf(XVect, YVect, ZVect, ‘EdgeColor’, ‘none’)Hello All,
I am trying to plot a surface using the surf() command with some imported shape data from a CSV. The shape in question is created by revolving our data from 0 to 180 degrees. The data starts out as axial position and a corresponding radius. Essentially, it’s a half-pipe with asymmetrically tapered ends.
I’ve been able to import my data, revolve it, and use meshgrid() and griddata() to create the Z coordinate matrix. However, as you can see from my attached screenshot, there are "flats" at the ends of the revolved shape. I have a feeling this has something to do with the interpolation, but I’m not very familiar with this type of stuff. I can’t seem to get rid of the flat protrusions.
In my attempts to rectify this, the closest I could get was ending up with jagged edges instead. But this won’t work either since this shape data is going to be imported into a Simscape model, and we want it to be as true to life as possible (no flat protrusions and no jagged edges).
Any ideas? Data attached as a text file (wouldn’t let me attach a CSV) and code pasted below.
Thanks Everyone!
GS = readtable(‘GSDataEdited.csv’);
GS = table2array(GS);
GSx = GS(:, 1);
GSrad = GS(:, 2);
% Define the angle step (in degrees)
angle_step = 7.5;
all_points = [];
% Loop through angles from 0 to 180 degrees
for angle = 0:angle_step:180
% Convert angle to radians
theta = deg2rad(angle);
% Create rotation matrix for current angle
R = [1 0 0; 0 cos(theta) -sin(theta); 0 sin(theta) cos(theta)];
% Rotate the coordinates
rotated_coords = R * [GSx’; GSrad’; zeros(size(GSx’))];
% Append the rotated coordinates to the matrix
all_points = [all_points, rotated_coords];
end
all_points = all_points’;
GSx = all_points(:, 1);
GSy = all_points(:, 2);
GSz = all_points(:, 3);
GSall = [GSx,GSy,GSz;GSx,GSy,-GSz];
GSall = unique(GSall, ‘rows’);
% Define grid for interpolation
[GSX,GSY] = meshgrid(min(GSx):1:max(GSx), min(GSy):1:max(GSy)); % Define the grid spacing
% Interpolate data onto grid
ZVect = griddata(GSx, GSy, GSz, GSX, GSY, ‘linear’);
XVect = GSX(1, :);
YVect = GSY(:, 1);
ZVect(isnan(ZVect))=0;
surf(XVect, YVect, ZVect, ‘EdgeColor’, ‘none’) Hello All,
I am trying to plot a surface using the surf() command with some imported shape data from a CSV. The shape in question is created by revolving our data from 0 to 180 degrees. The data starts out as axial position and a corresponding radius. Essentially, it’s a half-pipe with asymmetrically tapered ends.
I’ve been able to import my data, revolve it, and use meshgrid() and griddata() to create the Z coordinate matrix. However, as you can see from my attached screenshot, there are "flats" at the ends of the revolved shape. I have a feeling this has something to do with the interpolation, but I’m not very familiar with this type of stuff. I can’t seem to get rid of the flat protrusions.
In my attempts to rectify this, the closest I could get was ending up with jagged edges instead. But this won’t work either since this shape data is going to be imported into a Simscape model, and we want it to be as true to life as possible (no flat protrusions and no jagged edges).
Any ideas? Data attached as a text file (wouldn’t let me attach a CSV) and code pasted below.
Thanks Everyone!
GS = readtable(‘GSDataEdited.csv’);
GS = table2array(GS);
GSx = GS(:, 1);
GSrad = GS(:, 2);
% Define the angle step (in degrees)
angle_step = 7.5;
all_points = [];
% Loop through angles from 0 to 180 degrees
for angle = 0:angle_step:180
% Convert angle to radians
theta = deg2rad(angle);
% Create rotation matrix for current angle
R = [1 0 0; 0 cos(theta) -sin(theta); 0 sin(theta) cos(theta)];
% Rotate the coordinates
rotated_coords = R * [GSx’; GSrad’; zeros(size(GSx’))];
% Append the rotated coordinates to the matrix
all_points = [all_points, rotated_coords];
end
all_points = all_points’;
GSx = all_points(:, 1);
GSy = all_points(:, 2);
GSz = all_points(:, 3);
GSall = [GSx,GSy,GSz;GSx,GSy,-GSz];
GSall = unique(GSall, ‘rows’);
% Define grid for interpolation
[GSX,GSY] = meshgrid(min(GSx):1:max(GSx), min(GSy):1:max(GSy)); % Define the grid spacing
% Interpolate data onto grid
ZVect = griddata(GSx, GSy, GSz, GSX, GSY, ‘linear’);
XVect = GSX(1, :);
YVect = GSY(:, 1);
ZVect(isnan(ZVect))=0;
surf(XVect, YVect, ZVect, ‘EdgeColor’, ‘none’) matlab, grid surface, surface, interpolation MATLAB Answers — New Questions
how to graph vector fields containing scalar
I’m trying to graph some vector fields .
F(x,y,z)-<1,2,z>
F(x,y)=<0.3, -0,4)
my code is look like this
>> [x,y,z]=meshgrid(-2:2,-2:2,-2:2);
>> u=1;
>> v=2;
>> s=z;
>> quiver(x,y,z,u,v,s)
Second one is similar.
>> [x,y,]=meshgrid(-2:2,-2:2);
>> u=0.3;
>> v=-0.4;
>> quiver(x,y, u,v )
I tried to use ones(size(v)) function but it doens’t work.
Any help would be helpful. Thank youI’m trying to graph some vector fields .
F(x,y,z)-<1,2,z>
F(x,y)=<0.3, -0,4)
my code is look like this
>> [x,y,z]=meshgrid(-2:2,-2:2,-2:2);
>> u=1;
>> v=2;
>> s=z;
>> quiver(x,y,z,u,v,s)
Second one is similar.
>> [x,y,]=meshgrid(-2:2,-2:2);
>> u=0.3;
>> v=-0.4;
>> quiver(x,y, u,v )
I tried to use ones(size(v)) function but it doens’t work.
Any help would be helpful. Thank you I’m trying to graph some vector fields .
F(x,y,z)-<1,2,z>
F(x,y)=<0.3, -0,4)
my code is look like this
>> [x,y,z]=meshgrid(-2:2,-2:2,-2:2);
>> u=1;
>> v=2;
>> s=z;
>> quiver(x,y,z,u,v,s)
Second one is similar.
>> [x,y,]=meshgrid(-2:2,-2:2);
>> u=0.3;
>> v=-0.4;
>> quiver(x,y, u,v )
I tried to use ones(size(v)) function but it doens’t work.
Any help would be helpful. Thank you vector field, vector, graph, plot MATLAB Answers — New Questions
Migration batches with office 365
Migration batches
I am getting this error even though I tested connection via
telnet imap.integra.net 143 and I get the command window
I also tested the one of the accounts on outlook and it worked just fine.
But with the Migration batches in Exchange admin center after it synced with errors
Here is the error for all.
Error: ImapAuthenticationException: The username or password for this account is incorrect, or IMAP access is disabled. –> Imap server reported an error during LOGIN indicating that authentication failed: ‘Authentication failed.’.
People I need real help!
Migration batchesI am getting this error even though I tested connection viatelnet imap.integra.net 143 and I get the command windowI also tested the one of the accounts on outlook and it worked just fine.But with the Migration batches in Exchange admin center after it synced with errorsHere is the error for all.Error: ImapAuthenticationException: The username or password for this account is incorrect, or IMAP access is disabled. –> Imap server reported an error during LOGIN indicating that authentication failed: ‘Authentication failed.’. People I need real help! Read More
August V1 Title Plan out now!
MPN Partner Portal Learning Resources page resources page for Training Services Partners
As always, don’t forget to check out the Courseware News & Overview tab!
Thank you
Hello, Partners —
The August Monthly Title Plan V1 is attached to this forum.
This Monthly Title Plan is also shared in:
MPN Partner Portal Learning Resources page resources page for Training Services Partners
MCT Lounge Tech community Lounge for MCTs
We have added four more courses that are coming soon, to the supporting PDF, to provide you with information per all new courses coming soon.
As always, don’t forget to check out the Courseware News & Overview tab!
Thank you
Read More
Matlab crash if i connect MotoHawk
How do I generate a native crash dump for MATLAB on a WINDOWS?
It’s show this: MATLAB crash file:C:UserscasperAppDataLocalTempmatlab_crash_dump.18464-1:
——————————————————————————–
Unknown exception 0xe0434352 detected at 2024-08-02 12:48:46 +0300
——————————————————————————–
Configuration:
Crash Decoding : Disabled – No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics Version 27.20.100.9365 (2021-3-10)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 3514034
MATLAB Root : C:Program FilesMATLABR2020b
MATLAB Version : 9.9.0.2037887 (R2020b) Update 8
OpenGL : hardware
Operating System : Microsoft Windows 11 Home Single Language
Process ID : 18464
Processor ID : x86 Family 6 Model 126 Stepping 5, GenuineIntel
Session Key : 1a6fb761-06c5-4afa-9961-e6d8bf9d25a4
Window System : Version 10.0 (Build 22631)
Fault Count: 1
Abnormal termination:
Unknown exception 0xe0434352
Current Thread: ‘MCR 0 interpreter thread’ id 21248
Register State (from fault):
RAX = 00007ffdccca63e8 RBX = 000000a3a84f3d60
RCX = 000000a3a84f29d0 RDX = 000000a3a84f3530
RSP = 000000a3a84f2150 RBP = 000000a3a84f2830
RSI = 000000a3a84f4b60 RDI = 000000a3a84f2fe0
R8 = 0000000000000081 R9 = 000000a3a84f19f0
R10 = 00007ffde438e866 R11 = 000000a3a84f29d0
R12 = 0000000000000000 R13 = 000000a3a84f22b8
R14 = 0000000000000002 R15 = 000000a3a84f3148
RIP = 00007ffde1a4fabc EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffde1a4fabc C:WINDOWSSystem32KERNELBASE.dll+00391868 RaiseException+00000108
[ 1] 0x00007ffdcdc32743 C:WINDOWSSYSTEM32VCRUNTIME140_1_CLR0400.dll+00010051 _NLG_Return2+00005619
[ 2] 0x00007ffde4414896 C:WINDOWSSYSTEM32ntdll.dll+00673942 RtlCaptureContext2+00001190
[ 3] 0x00007ffdcc4ae012 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00319506 StrongNameTokenFromPublicKey+00192754
[ 4] 0x00007ffdcc4c5e56 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00417366 StrongNameTokenFromPublicKey+00290614
[ 5] 0x00007ffdcc49891b C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00231707 StrongNameTokenFromPublicKey+00104955
[ 6] 0x00007ffdcc5ee7b5 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+01632181 DllCanUnloadNowInternal+00011525
[ 7] 0x00007ffd6ce31ce7 <unknown-module>+00000000
[ 8] 0x00007ffdd90f4238 C:Program Files (x86)WoodwardMCSMotoHawk2020b_sp5.2718BlocksMainmotohawk_sfun_check_license.mexw64+00016952 mexFunction+00012856
[ 9] 0x00007ffdd90f422c C:Program Files (x86)WoodwardMCSMotoHawk2020b_sp5.2718BlocksMainmotohawk_sfun_check_license.mexw64+00016940 mexFunction+00012844
[ 10] 0x0000000000000001 <unknown-module>+00000000
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.How do I generate a native crash dump for MATLAB on a WINDOWS?
It’s show this: MATLAB crash file:C:UserscasperAppDataLocalTempmatlab_crash_dump.18464-1:
——————————————————————————–
Unknown exception 0xe0434352 detected at 2024-08-02 12:48:46 +0300
——————————————————————————–
Configuration:
Crash Decoding : Disabled – No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics Version 27.20.100.9365 (2021-3-10)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 3514034
MATLAB Root : C:Program FilesMATLABR2020b
MATLAB Version : 9.9.0.2037887 (R2020b) Update 8
OpenGL : hardware
Operating System : Microsoft Windows 11 Home Single Language
Process ID : 18464
Processor ID : x86 Family 6 Model 126 Stepping 5, GenuineIntel
Session Key : 1a6fb761-06c5-4afa-9961-e6d8bf9d25a4
Window System : Version 10.0 (Build 22631)
Fault Count: 1
Abnormal termination:
Unknown exception 0xe0434352
Current Thread: ‘MCR 0 interpreter thread’ id 21248
Register State (from fault):
RAX = 00007ffdccca63e8 RBX = 000000a3a84f3d60
RCX = 000000a3a84f29d0 RDX = 000000a3a84f3530
RSP = 000000a3a84f2150 RBP = 000000a3a84f2830
RSI = 000000a3a84f4b60 RDI = 000000a3a84f2fe0
R8 = 0000000000000081 R9 = 000000a3a84f19f0
R10 = 00007ffde438e866 R11 = 000000a3a84f29d0
R12 = 0000000000000000 R13 = 000000a3a84f22b8
R14 = 0000000000000002 R15 = 000000a3a84f3148
RIP = 00007ffde1a4fabc EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffde1a4fabc C:WINDOWSSystem32KERNELBASE.dll+00391868 RaiseException+00000108
[ 1] 0x00007ffdcdc32743 C:WINDOWSSYSTEM32VCRUNTIME140_1_CLR0400.dll+00010051 _NLG_Return2+00005619
[ 2] 0x00007ffde4414896 C:WINDOWSSYSTEM32ntdll.dll+00673942 RtlCaptureContext2+00001190
[ 3] 0x00007ffdcc4ae012 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00319506 StrongNameTokenFromPublicKey+00192754
[ 4] 0x00007ffdcc4c5e56 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00417366 StrongNameTokenFromPublicKey+00290614
[ 5] 0x00007ffdcc49891b C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00231707 StrongNameTokenFromPublicKey+00104955
[ 6] 0x00007ffdcc5ee7b5 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+01632181 DllCanUnloadNowInternal+00011525
[ 7] 0x00007ffd6ce31ce7 <unknown-module>+00000000
[ 8] 0x00007ffdd90f4238 C:Program Files (x86)WoodwardMCSMotoHawk2020b_sp5.2718BlocksMainmotohawk_sfun_check_license.mexw64+00016952 mexFunction+00012856
[ 9] 0x00007ffdd90f422c C:Program Files (x86)WoodwardMCSMotoHawk2020b_sp5.2718BlocksMainmotohawk_sfun_check_license.mexw64+00016940 mexFunction+00012844
[ 10] 0x0000000000000001 <unknown-module>+00000000
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files. How do I generate a native crash dump for MATLAB on a WINDOWS?
It’s show this: MATLAB crash file:C:UserscasperAppDataLocalTempmatlab_crash_dump.18464-1:
——————————————————————————–
Unknown exception 0xe0434352 detected at 2024-08-02 12:48:46 +0300
——————————————————————————–
Configuration:
Crash Decoding : Disabled – No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics Version 27.20.100.9365 (2021-3-10)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 3514034
MATLAB Root : C:Program FilesMATLABR2020b
MATLAB Version : 9.9.0.2037887 (R2020b) Update 8
OpenGL : hardware
Operating System : Microsoft Windows 11 Home Single Language
Process ID : 18464
Processor ID : x86 Family 6 Model 126 Stepping 5, GenuineIntel
Session Key : 1a6fb761-06c5-4afa-9961-e6d8bf9d25a4
Window System : Version 10.0 (Build 22631)
Fault Count: 1
Abnormal termination:
Unknown exception 0xe0434352
Current Thread: ‘MCR 0 interpreter thread’ id 21248
Register State (from fault):
RAX = 00007ffdccca63e8 RBX = 000000a3a84f3d60
RCX = 000000a3a84f29d0 RDX = 000000a3a84f3530
RSP = 000000a3a84f2150 RBP = 000000a3a84f2830
RSI = 000000a3a84f4b60 RDI = 000000a3a84f2fe0
R8 = 0000000000000081 R9 = 000000a3a84f19f0
R10 = 00007ffde438e866 R11 = 000000a3a84f29d0
R12 = 0000000000000000 R13 = 000000a3a84f22b8
R14 = 0000000000000002 R15 = 000000a3a84f3148
RIP = 00007ffde1a4fabc EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffde1a4fabc C:WINDOWSSystem32KERNELBASE.dll+00391868 RaiseException+00000108
[ 1] 0x00007ffdcdc32743 C:WINDOWSSYSTEM32VCRUNTIME140_1_CLR0400.dll+00010051 _NLG_Return2+00005619
[ 2] 0x00007ffde4414896 C:WINDOWSSYSTEM32ntdll.dll+00673942 RtlCaptureContext2+00001190
[ 3] 0x00007ffdcc4ae012 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00319506 StrongNameTokenFromPublicKey+00192754
[ 4] 0x00007ffdcc4c5e56 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00417366 StrongNameTokenFromPublicKey+00290614
[ 5] 0x00007ffdcc49891b C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+00231707 StrongNameTokenFromPublicKey+00104955
[ 6] 0x00007ffdcc5ee7b5 C:WindowsMicrosoft.NETFramework64v4.0.30319clr.dll+01632181 DllCanUnloadNowInternal+00011525
[ 7] 0x00007ffd6ce31ce7 <unknown-module>+00000000
[ 8] 0x00007ffdd90f4238 C:Program Files (x86)WoodwardMCSMotoHawk2020b_sp5.2718BlocksMainmotohawk_sfun_check_license.mexw64+00016952 mexFunction+00012856
[ 9] 0x00007ffdd90f422c C:Program Files (x86)WoodwardMCSMotoHawk2020b_sp5.2718BlocksMainmotohawk_sfun_check_license.mexw64+00016940 mexFunction+00012844
[ 10] 0x0000000000000001 <unknown-module>+00000000
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files. matlab, crash MATLAB Answers — New Questions
How can I view full outputs that exceed the maximum line length in the MATLAB Command Window?
I am doing a large computation using the Symbolic Math Toolbox that is resulting in some enormous equations. When trying to view these results, I get the following message in the MATLAB Command Window:
Output truncated. Text exceeds maximum line length for Command Window display.
Is there a way to view the entire result without truncation?I am doing a large computation using the Symbolic Math Toolbox that is resulting in some enormous equations. When trying to view these results, I get the following message in the MATLAB Command Window:
Output truncated. Text exceeds maximum line length for Command Window display.
Is there a way to view the entire result without truncation? I am doing a large computation using the Symbolic Math Toolbox that is resulting in some enormous equations. When trying to view these results, I get the following message in the MATLAB Command Window:
Output truncated. Text exceeds maximum line length for Command Window display.
Is there a way to view the entire result without truncation? commandwindow, output, truncate MATLAB Answers — New Questions
Need to help escalate concern for focus OD-SPO
For several weeks, both my OneDrive and SharePoint storage reported incorrect values. In mid-to-late June, I deleted both Primary and Secondary recycle bins but the files came magically back twice.
When I finally managed to have someone look at the concern through Quick Assist, I have also deleted the files and they never went away. The MS Support Engineer said they’re doing “advanced diagnostics”. What I remember a day before I had an issue with OneDrive and SharePoint is that Azure or Microsoft 365 had issues. When I transferred files to SharePoint from OneDrive, the storage utilization never changed.
If I had to provide feedback about MS Support, they stood me up for a whole week at one point and, despite stating email in the communication preference because my vocal cords are damaged, they keep calling then email just to tell me they can’t reach me. New agents assigned to the ticket almost never read ticket details. Just 2 people.
Any help from Microsoft to look into this would be appreciated as I have emailed escalation personnel from the BPO but nobody replied since earlier this morning. It’s close to 4PM Eastern now.
FYI Tracking ID 2406220030001049. Ticket has been open since mid-June. FYI @Russell Read
Regards,
m365bizsubs001
MS365 Business Standard Subscriber
For several weeks, both my OneDrive and SharePoint storage reported incorrect values. In mid-to-late June, I deleted both Primary and Secondary recycle bins but the files came magically back twice.When I finally managed to have someone look at the concern through Quick Assist, I have also deleted the files and they never went away. The MS Support Engineer said they’re doing “advanced diagnostics”. What I remember a day before I had an issue with OneDrive and SharePoint is that Azure or Microsoft 365 had issues. When I transferred files to SharePoint from OneDrive, the storage utilization never changed.If I had to provide feedback about MS Support, they stood me up for a whole week at one point and, despite stating email in the communication preference because my vocal cords are damaged, they keep calling then email just to tell me they can’t reach me. New agents assigned to the ticket almost never read ticket details. Just 2 people.Any help from Microsoft to look into this would be appreciated as I have emailed escalation personnel from the BPO but nobody replied since earlier this morning. It’s close to 4PM Eastern now.FYI Tracking ID 2406220030001049. Ticket has been open since mid-June. FYI @Russell Read Regards,m365bizsubs001MS365 Business Standard Subscriber Read More
Inventory Qty Update Formula
I have a workbook with 3 tabs – Inventory Sheet, Mat Log, Cost Tracking.
The cost tracking sheet had the original inventory amount that we need to start with (Column J).
On the Mat Log sheet, when an item is removed or added to inventory, the person will enter the date in column A, the Mat. Code in Column B – and that will populate the name in Column C. Column F is the amount they are taking out (negative number) or putting into inventory (positive number). Here is where the “I need help” comes in. On the inventory sheet, I need the quantity associated the product code to always be updated based on what happens on the Mat Log sheet.
I have a workbook with 3 tabs – Inventory Sheet, Mat Log, Cost Tracking. The cost tracking sheet had the original inventory amount that we need to start with (Column J).On the Mat Log sheet, when an item is removed or added to inventory, the person will enter the date in column A, the Mat. Code in Column B – and that will populate the name in Column C. Column F is the amount they are taking out (negative number) or putting into inventory (positive number). Here is where the “I need help” comes in. On the inventory sheet, I need the quantity associated the product code to always be updated based on what happens on the Mat Log sheet. Read More
Color Code Emails: Use Conditional Formatting or Assign Categories?
Are you unsure which feature to use for color-coding your emails? Should you use conditional formatting or assign categories?
In this blog post, Color Code Emails: Conditional formatting or Categories » TRACCreations4E, I discuss the differences between the two.
Which do you prefer?
Are you unsure which feature to use for color-coding your emails? Should you use conditional formatting or assign categories?
In this blog post, Color Code Emails: Conditional formatting or Categories » TRACCreations4E, I discuss the differences between the two.
Which do you prefer?
Upcoming Task on 2016 (active)
Hi All,
How do I display more than 50 task, I went into Advanced options ad it say I only have 50 lines but it does say something about filters. I need to display like 150 lines for production scheduling.
Thank you,
Tony
Hi All,How do I display more than 50 task, I went into Advanced options ad it say I only have 50 lines but it does say something about filters. I need to display like 150 lines for production scheduling. Thank you,Tony Read More
eye tracked keyboard
for a few days I have been having trouble with the eye tracking keyboard: I start writing a word and when I go to click on the suggested word, the letters I had written plus the complete word appear on the screen.
For example, I write eyed (eyedropper) and when I press the suggested word on the keyboard, eyedeyedropper is written.
The strange thing is on the desktop WhatsApp client, the writing is correct.
What could it be?
Thanks in advance.
for a few days I have been having trouble with the eye tracking keyboard: I start writing a word and when I go to click on the suggested word, the letters I had written plus the complete word appear on the screen.For example, I write eyed (eyedropper) and when I press the suggested word on the keyboard, eyedeyedropper is written.The strange thing is on the desktop WhatsApp client, the writing is correct.What could it be?Thanks in advance. Read More
Error while attempting mesh plot
I was experimenting in the Matlab live script editor and I tried to make a mesh plot of a hilbert spectrum, but instead of the plot I obtained an error:
Warning: Error occurred while executing the listener callback for event POST_REGION defined for class matlab.internal.language.RegionEvaluator:
Error using getByteStreamFromArray
Error during serialization
Error in matlab.internal.editor.figure.SerializedFigureState/serialize
Error in matlab.internal.editor.FigureProxy/createWebFigureSnapshot
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager.saveSnapshot
Error in matlab.internal.editor.FigureManager.snapshotAllFigures
Here is the problematic code:
mesh(seconds(t),f,hs, ‘EdgeColor’, ‘none’, ‘FaceColor’, ‘interp’)
xlabel(‘Time (s)’)
ylabel(‘Frequency (Hz)’)
zlabel(‘Instantaneous Energy’)
Any idea why I am getting this error?I was experimenting in the Matlab live script editor and I tried to make a mesh plot of a hilbert spectrum, but instead of the plot I obtained an error:
Warning: Error occurred while executing the listener callback for event POST_REGION defined for class matlab.internal.language.RegionEvaluator:
Error using getByteStreamFromArray
Error during serialization
Error in matlab.internal.editor.figure.SerializedFigureState/serialize
Error in matlab.internal.editor.FigureProxy/createWebFigureSnapshot
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager.saveSnapshot
Error in matlab.internal.editor.FigureManager.snapshotAllFigures
Here is the problematic code:
mesh(seconds(t),f,hs, ‘EdgeColor’, ‘none’, ‘FaceColor’, ‘interp’)
xlabel(‘Time (s)’)
ylabel(‘Frequency (Hz)’)
zlabel(‘Instantaneous Energy’)
Any idea why I am getting this error? I was experimenting in the Matlab live script editor and I tried to make a mesh plot of a hilbert spectrum, but instead of the plot I obtained an error:
Warning: Error occurred while executing the listener callback for event POST_REGION defined for class matlab.internal.language.RegionEvaluator:
Error using getByteStreamFromArray
Error during serialization
Error in matlab.internal.editor.figure.SerializedFigureState/serialize
Error in matlab.internal.editor.FigureProxy/createWebFigureSnapshot
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager.saveSnapshot
Error in matlab.internal.editor.FigureManager.snapshotAllFigures
Here is the problematic code:
mesh(seconds(t),f,hs, ‘EdgeColor’, ‘none’, ‘FaceColor’, ‘interp’)
xlabel(‘Time (s)’)
ylabel(‘Frequency (Hz)’)
zlabel(‘Instantaneous Energy’)
Any idea why I am getting this error? mesh, error MATLAB Answers — New Questions
Plotting two surface plots in the same figure using two different colormaps
Hello,
I have been trying to plot two surface plots on top of each other in the same figure – one that is semitransparent, and one that is opaque – using two colormaps to display them. Specifically, I would like surface plot 1 to use the ‘turbo’ colormap, and surface plot 2 to use the ‘gray’ colormap and be semitransparent. So far, I have read through a few people with similar problems but their solutions don’t help me (most are requesting only 1 specific color per each map and not an entire colormap). How can I do this? Thanks. I cannot provide code due to proprietary information, so any example code given, I will gladly fit to my own.Hello,
I have been trying to plot two surface plots on top of each other in the same figure – one that is semitransparent, and one that is opaque – using two colormaps to display them. Specifically, I would like surface plot 1 to use the ‘turbo’ colormap, and surface plot 2 to use the ‘gray’ colormap and be semitransparent. So far, I have read through a few people with similar problems but their solutions don’t help me (most are requesting only 1 specific color per each map and not an entire colormap). How can I do this? Thanks. I cannot provide code due to proprietary information, so any example code given, I will gladly fit to my own. Hello,
I have been trying to plot two surface plots on top of each other in the same figure – one that is semitransparent, and one that is opaque – using two colormaps to display them. Specifically, I would like surface plot 1 to use the ‘turbo’ colormap, and surface plot 2 to use the ‘gray’ colormap and be semitransparent. So far, I have read through a few people with similar problems but their solutions don’t help me (most are requesting only 1 specific color per each map and not an entire colormap). How can I do this? Thanks. I cannot provide code due to proprietary information, so any example code given, I will gladly fit to my own. colormap, surf, two surface plots, two colormaps MATLAB Answers — New Questions
I cannot remove Organization from Person Account on MS Teams
Hello, MS Teams members,
I want to remove an old organization on MS Teams from my personal account, but I cannot.
Hello, MS Teams members,I want to remove an old organization on MS Teams from my personal account, but I cannot. Read More
Dynamic array and spilled array – FILTER function behavior
I am attempting to create a dynamic dependent data validation list (using instructions found on the My Online Training YouTube video). A link to the file is found here.
On the Standards Categories TAB, there is a Table (StdCategories) with two columns for Category and Subcategory. The primary data validation list is for the Category values, and the dependent data validation is for the Subcategory values.
Starting in Cell E2, the Categories are populated horizontally using the UNIQUE and TRANSPOSE functions. Starting in Cell E2, the FILTER and SORT functions are used to populate the Subcategory values for each Category. There is some sort of error occurring in every other Column (starting in column F) where the work “None” is used as the error return value. For some reason, the formula is not matching the value in Row 2 with the associated values in the StdCategories table. I’ve verified this using the Evaluate Formula feature. I’ve tried searching for any help on this issue, but I either can’t find it, or I’m not searching with the right terminology.
Is anyone familiar with this odd behavior, or have any suggestions on diagnosing the error?
I am attempting to create a dynamic dependent data validation list (using instructions found on the My Online Training YouTube video). A link to the file is found here. On the Standards Categories TAB, there is a Table (StdCategories) with two columns for Category and Subcategory. The primary data validation list is for the Category values, and the dependent data validation is for the Subcategory values. Starting in Cell E2, the Categories are populated horizontally using the UNIQUE and TRANSPOSE functions. Starting in Cell E2, the FILTER and SORT functions are used to populate the Subcategory values for each Category. There is some sort of error occurring in every other Column (starting in column F) where the work “None” is used as the error return value. For some reason, the formula is not matching the value in Row 2 with the associated values in the StdCategories table. I’ve verified this using the Evaluate Formula feature. I’ve tried searching for any help on this issue, but I either can’t find it, or I’m not searching with the right terminology. Is anyone familiar with this odd behavior, or have any suggestions on diagnosing the error? Read More
need solution during trainning
Hello all, I am new in this community .I need help to solve the below problem. please help me..
statement : You can add a custom function at the end of your script. For data preprocessing, the function should take the data returned from the datastore as input. It should return the transformed data as output.
function dataout = functionName(datain)
% do something with datain
dataout = …
end
Given script :
letterds = datastore("*_M_*.txt");
data = read(letterds);
data = scale(data);
plot(data.X,data.Y)
axis equal
plot(data.Time,data.Y)
ylabel("Vertical position")
xlabel("Time")
Task ; –
Create a function called scale at the end of the script that performs the following operations:
data.Time = (data.Time – data.Time(1))/1000;
data.X = 1.5*data.X;
Because these commands modify the variable data directly, your function should use data as both the input and output variable.
Note that the third line of the script calls the scale function. Your script won’t run until this function has been created.
Also note that local functions must be at the end of a script. This means you will be editing the script sections out of order in this interaction. The section headings show which section of the script to edit in each task.Hello all, I am new in this community .I need help to solve the below problem. please help me..
statement : You can add a custom function at the end of your script. For data preprocessing, the function should take the data returned from the datastore as input. It should return the transformed data as output.
function dataout = functionName(datain)
% do something with datain
dataout = …
end
Given script :
letterds = datastore("*_M_*.txt");
data = read(letterds);
data = scale(data);
plot(data.X,data.Y)
axis equal
plot(data.Time,data.Y)
ylabel("Vertical position")
xlabel("Time")
Task ; –
Create a function called scale at the end of the script that performs the following operations:
data.Time = (data.Time – data.Time(1))/1000;
data.X = 1.5*data.X;
Because these commands modify the variable data directly, your function should use data as both the input and output variable.
Note that the third line of the script calls the scale function. Your script won’t run until this function has been created.
Also note that local functions must be at the end of a script. This means you will be editing the script sections out of order in this interaction. The section headings show which section of the script to edit in each task. Hello all, I am new in this community .I need help to solve the below problem. please help me..
statement : You can add a custom function at the end of your script. For data preprocessing, the function should take the data returned from the datastore as input. It should return the transformed data as output.
function dataout = functionName(datain)
% do something with datain
dataout = …
end
Given script :
letterds = datastore("*_M_*.txt");
data = read(letterds);
data = scale(data);
plot(data.X,data.Y)
axis equal
plot(data.Time,data.Y)
ylabel("Vertical position")
xlabel("Time")
Task ; –
Create a function called scale at the end of the script that performs the following operations:
data.Time = (data.Time – data.Time(1))/1000;
data.X = 1.5*data.X;
Because these commands modify the variable data directly, your function should use data as both the input and output variable.
Note that the third line of the script calls the scale function. Your script won’t run until this function has been created.
Also note that local functions must be at the end of a script. This means you will be editing the script sections out of order in this interaction. The section headings show which section of the script to edit in each task. data transformation MATLAB Answers — New Questions
Reshape nested cell arrays into the a different nested cell array organization
Hello, I have a nested cell array that has been built up such that the first level cell array A is {691×1}; within each cell in A, there is a second level cell array B of {48×1}; lastly within each cell in B there is a third level nested cell array C of {2×1}.
I want to reshape the nested cell array structure such that it is now organized in the order of cell array B {48×1} first; second level cell array C {2×1} and lastly a third level cell array of A {691×1}.
Is there a way to take the original cell array and use a specific function (such as reshape) to get my desired new nested cell array from my current nested cell array?
have: A {691×1} –> B{48×1} –> C{2×1}
want: B{48×1} –> C{2×1} –> A {691×1}
Thanks!Hello, I have a nested cell array that has been built up such that the first level cell array A is {691×1}; within each cell in A, there is a second level cell array B of {48×1}; lastly within each cell in B there is a third level nested cell array C of {2×1}.
I want to reshape the nested cell array structure such that it is now organized in the order of cell array B {48×1} first; second level cell array C {2×1} and lastly a third level cell array of A {691×1}.
Is there a way to take the original cell array and use a specific function (such as reshape) to get my desired new nested cell array from my current nested cell array?
have: A {691×1} –> B{48×1} –> C{2×1}
want: B{48×1} –> C{2×1} –> A {691×1}
Thanks! Hello, I have a nested cell array that has been built up such that the first level cell array A is {691×1}; within each cell in A, there is a second level cell array B of {48×1}; lastly within each cell in B there is a third level nested cell array C of {2×1}.
I want to reshape the nested cell array structure such that it is now organized in the order of cell array B {48×1} first; second level cell array C {2×1} and lastly a third level cell array of A {691×1}.
Is there a way to take the original cell array and use a specific function (such as reshape) to get my desired new nested cell array from my current nested cell array?
have: A {691×1} –> B{48×1} –> C{2×1}
want: B{48×1} –> C{2×1} –> A {691×1}
Thanks! nested cell array, reshape cell array MATLAB Answers — New Questions
Unable to change expired password
I am using Server Next Preview Build 26257. It is a domain controller. I only have the one AD account which I created to do the evaluation. The account password expired today. When I attempt to change it at login, I enter the new password twice as required and hit Enter, but it sends me back and says “The password for this account has expired” with an OK button.
If I try again I get the same result. If I purposely type a mismatch for the new PW it does acknowledge that.
Has anyone else seen this? I can’t think of a workaround.
I am using Server Next Preview Build 26257. It is a domain controller. I only have the one AD account which I created to do the evaluation. The account password expired today. When I attempt to change it at login, I enter the new password twice as required and hit Enter, but it sends me back and says “The password for this account has expired” with an OK button. If I try again I get the same result. If I purposely type a mismatch for the new PW it does acknowledge that. Has anyone else seen this? I can’t think of a workaround. Read More
Explanation of the Microsoft AI Cloud Partner Agreement & Marketplace Publisher Agreement.
We have to clarify two clauses from the agreement:
Microsoft AI Cloud Partner Program Agreement: Section 8 Limitations of Liability (b) it says Privacy and Data Protection, Confidentiality and Publicity and indemnification are carved out of any limitations in paragraph 8.(a).
Can you please confirm our understanding that Microsoft is asking the Company to have the risk of unlimited liability related to these carve-outs ?Microsoft Publisher Agreement: Section 9 (b) has indemnification claims subject to indirect damages and Section 9 (c) have carve-outs for confidentiality, privacy or data protection which we interpret as having the risk of unlimited liability.
Can you please confirm our understanding that Microsoft is asking the Company to have the risk of unlimited liability related to these carve-outs ?
Helllo there, We have to clarify two clauses from the agreement:Microsoft AI Cloud Partner Program Agreement: Section 8 Limitations of Liability (b) it says Privacy and Data Protection, Confidentiality and Publicity and indemnification are carved out of any limitations in paragraph 8.(a). Can you please confirm our understanding that Microsoft is asking the Company to have the risk of unlimited liability related to these carve-outs ?Microsoft Publisher Agreement: Section 9 (b) has indemnification claims subject to indirect damages and Section 9 (c) have carve-outs for confidentiality, privacy or data protection which we interpret as having the risk of unlimited liability. Can you please confirm our understanding that Microsoft is asking the Company to have the risk of unlimited liability related to these carve-outs ? Read More