Month: July 2024
Disable Navigation’s ‘Search Paused’ Feature
Hello, I am in a situation where I need to frequently search for and change across my document. I find the automatic ‘Search Paused’ feature after making an edit in the document very annoying. The two images below show what I am referring to.
————————————————–
Is there any way to disable this feature so that, after making a search, all the text remains highlighted and I can continue to see the count / examples in the Navigation Plane? Essentially, in the exact same way as a web browser with CTRL-F.
Whether it’s an option in the settings, some kind of ‘better search’ add-on I can install, or an edit I’d need to make in the registry, please tell me if there is a solution. I vastly prefer Microsoft Word over its competitors but this is a huge issue that greatly slows down my workflow. Thank you.
Hello, I am in a situation where I need to frequently search for and change across my document. I find the automatic ‘Search Paused’ feature after making an edit in the document very annoying. The two images below show what I am referring to.————————————————– Is there any way to disable this feature so that, after making a search, all the text remains highlighted and I can continue to see the count / examples in the Navigation Plane? Essentially, in the exact same way as a web browser with CTRL-F.Whether it’s an option in the settings, some kind of ‘better search’ add-on I can install, or an edit I’d need to make in the registry, please tell me if there is a solution. I vastly prefer Microsoft Word over its competitors but this is a huge issue that greatly slows down my workflow. Thank you. Read More
Account Locked in MS Azure – Need Support
I have already signed up for Free Azure account today . Email received and currently open in my Microsoft account for successful subscription in Azure.
BUT
Account Locked when Tried to continue in Microsoft Azure – Telling me to Contact support person to Unlock it , Need help. Thanks
I have already signed up for Free Azure account today . Email received and currently open in my Microsoft account for successful subscription in Azure.BUTAccount Locked when Tried to continue in Microsoft Azure – Telling me to Contact support person to Unlock it , Need help. Thanks Read More
Modern Authentication Methods for Apple iMac
Hello. We have an iMac, iPhone and iPad all using the same Outlook account. On the iMac, we use Apple Mail. In changing the account authentication, do we lose our email history? Also, do we do this once or for each individual device? It is not clear what is actually being asked.
Hello. We have an iMac, iPhone and iPad all using the same Outlook account. On the iMac, we use Apple Mail. In changing the account authentication, do we lose our email history? Also, do we do this once or for each individual device? It is not clear what is actually being asked. Read More
Show coordinates for a 2D point in a table cell
I’m working on a MATLAB app where I’m trying to dynamically record and show every mouse click on the UIAxes in a UItable.
My problem is that the table only shows "1×2 double" in the designated cell for the coordinates instead of the actual numbers.
Is this possible to fix or do I have to split them into two columns?
app.PointsTable.Data = table(‘Size’,[0 2],’VariableNames’, {‘Point’, ‘Coordinates’}, ‘VariableTypes’, {‘uint8’, ‘cell’});
function UIAxesButtonDown(app, event)
if 1
coordinates = app.UIAxes.CurrentPoint(1, 1:2);
numRows = size(app.PointsTable.Data, 1);
app.PointsTable.Data(numRows+1, 🙂 = {numRows+1, {[coordinates(1) coordinates(2)]}};
end
endI’m working on a MATLAB app where I’m trying to dynamically record and show every mouse click on the UIAxes in a UItable.
My problem is that the table only shows "1×2 double" in the designated cell for the coordinates instead of the actual numbers.
Is this possible to fix or do I have to split them into two columns?
app.PointsTable.Data = table(‘Size’,[0 2],’VariableNames’, {‘Point’, ‘Coordinates’}, ‘VariableTypes’, {‘uint8’, ‘cell’});
function UIAxesButtonDown(app, event)
if 1
coordinates = app.UIAxes.CurrentPoint(1, 1:2);
numRows = size(app.PointsTable.Data, 1);
app.PointsTable.Data(numRows+1, 🙂 = {numRows+1, {[coordinates(1) coordinates(2)]}};
end
end I’m working on a MATLAB app where I’m trying to dynamically record and show every mouse click on the UIAxes in a UItable.
My problem is that the table only shows "1×2 double" in the designated cell for the coordinates instead of the actual numbers.
Is this possible to fix or do I have to split them into two columns?
app.PointsTable.Data = table(‘Size’,[0 2],’VariableNames’, {‘Point’, ‘Coordinates’}, ‘VariableTypes’, {‘uint8’, ‘cell’});
function UIAxesButtonDown(app, event)
if 1
coordinates = app.UIAxes.CurrentPoint(1, 1:2);
numRows = size(app.PointsTable.Data, 1);
app.PointsTable.Data(numRows+1, 🙂 = {numRows+1, {[coordinates(1) coordinates(2)]}};
end
end uitable, cell MATLAB Answers — New Questions
I encounter a memory leak warning when i simulate my simulink model from a GA optimization code which iteratively simulate my model
Here’s the warning message :
Warning: Internal warning: A JITEngine loaded for block simulation cannot be freed due to non-zero reference count. It is usually caused by
unpaired calls to a block’s "setupRuntimeResources" and "cleanupRuntimeResources" methods.
> In optimising2_3 (line 209)
In Run_fuzzyGA_Tunning_R1 (line 79)Here’s the warning message :
Warning: Internal warning: A JITEngine loaded for block simulation cannot be freed due to non-zero reference count. It is usually caused by
unpaired calls to a block’s "setupRuntimeResources" and "cleanupRuntimeResources" methods.
> In optimising2_3 (line 209)
In Run_fuzzyGA_Tunning_R1 (line 79) Here’s the warning message :
Warning: Internal warning: A JITEngine loaded for block simulation cannot be freed due to non-zero reference count. It is usually caused by
unpaired calls to a block’s "setupRuntimeResources" and "cleanupRuntimeResources" methods.
> In optimising2_3 (line 209)
In Run_fuzzyGA_Tunning_R1 (line 79) simulink, setupruntimeresources, cleanupruntimeresources, jitengine MATLAB Answers — New Questions
Unable to view Invoices as Billing Admin
We have users who are assigned Billing administrator but are unable to view Invoices under Billing > Bills & payments.
Account type is MOSA, so according to MS documentation either GA or Billing Admin should provide the required permissions.
My thoughts at this stage are it may be to do with the Billing account or profile??
We have users who are assigned Billing administrator but are unable to view Invoices under Billing > Bills & payments. Account type is MOSA, so according to MS documentation either GA or Billing Admin should provide the required permissions. My thoughts at this stage are it may be to do with the Billing account or profile?? Read More
Restore SharePoint site
Hello
Please i need your help on this issue.
We are unable to access one of the SharePoint site.
The site contains sensitive data that is critical for our business. Please how can we restore the site.
Hello Please i need your help on this issue. We are unable to access one of the SharePoint site. The site contains sensitive data that is critical for our business. Please how can we restore the site. Read More
Outlook adding extra text to incoming and outgoing emaills.
Outlook is adding “Check out our new website!” to the end of all incoming and outgoing emails. I changed my signature, turned my signature off an on, I can’t for the life of me figure out how to stop it. It’s adding it from my PC and iPhone even though the two devices have different signatures. It does it sending and receiving from a browser, PC app, and iOS app.
Outlook is adding “Check out our new website!” to the end of all incoming and outgoing emails. I changed my signature, turned my signature off an on, I can’t for the life of me figure out how to stop it. It’s adding it from my PC and iPhone even though the two devices have different signatures. It does it sending and receiving from a browser, PC app, and iOS app. Read More
Error: Data must be numeric, datetime, duration, categorical, or an array convertible to double.
Hello everyone,
I am trying to plot a function that has two different variables: theta and phi.
Theta = -pi/2:0.1:pi/2
Phi = Specific Values at 0 and pi/2
I have an error that says:
"Error: Data must be numeric, datetime, duration, categorical, or an array convertible to double."
I’ve tried looking up this error on different discussions. However, I wasn’t able to find anything that helped with my specific scenario.
I have tried different methods and approaches: Using "symbolic variables", fimplicit function, fplot function, etc. However, I got different errors everytime I tried a different approach.
I attached my code for reference:
Plotting_Theta_Phi_Function.mHello everyone,
I am trying to plot a function that has two different variables: theta and phi.
Theta = -pi/2:0.1:pi/2
Phi = Specific Values at 0 and pi/2
I have an error that says:
"Error: Data must be numeric, datetime, duration, categorical, or an array convertible to double."
I’ve tried looking up this error on different discussions. However, I wasn’t able to find anything that helped with my specific scenario.
I have tried different methods and approaches: Using "symbolic variables", fimplicit function, fplot function, etc. However, I got different errors everytime I tried a different approach.
I attached my code for reference:
Plotting_Theta_Phi_Function.m Hello everyone,
I am trying to plot a function that has two different variables: theta and phi.
Theta = -pi/2:0.1:pi/2
Phi = Specific Values at 0 and pi/2
I have an error that says:
"Error: Data must be numeric, datetime, duration, categorical, or an array convertible to double."
I’ve tried looking up this error on different discussions. However, I wasn’t able to find anything that helped with my specific scenario.
I have tried different methods and approaches: Using "symbolic variables", fimplicit function, fplot function, etc. However, I got different errors everytime I tried a different approach.
I attached my code for reference:
Plotting_Theta_Phi_Function.m plotting, functions MATLAB Answers — New Questions
How to create a summation looping through one matrix while keeping another one constant?
Hi,
I have a function "Func" that takes 2 inputs, 1 from each a different matrix (A and B). The matrices have same number of rows, but different number of columns.
My output matrix, C, takes the summation of Func’s output. For the entire row of matrix B, we will keep A constant. We will only go onto the next value of A when the B row is done. Additionally, we keep the rows the same such that only row 1 matrix B values will be used with row 1 A values. Row 2 matrix B with row 2 matrix A. etc. Here’s the demo code showing what I need it to do:
A = [1, 2, 3, 4;
5, 6, 7, 8;
9, 10, 11, 12];
B = [13, 14;
15, 16;
17, 18];
% Notes:
% Input A is a 3×4 matrix
% Input B is a 3×2 matrix
% Output C is going to be same dimensions as A, 3×4
% Function "Func" takes in inputs from A and B. syntax =
% Func(input from A, input from B)
% Example of how this is supposed to look:
% C(1,1) = Func(1,13) + Func(1,14)
% Above meaning the 1,1 entry of C matrix is the summation of the output of function "Func" where the inputs is A(1,1) and B(1,1) and B(1,2)
% C(1,2) = Func(2,13) + Func(2,14)
% C(1,3) = Func(3,13) + Func(3,14)
….
% C(2,1) = Func(5,15) + Func(5,16)
% Now that we are in the 2nd row, the "Func" function uses inputs A(2,1) and B(2,1) and B(2,2)
% C(2,2) = Func(6,15) + Func(6,16)
….
% C(3,1) = Func(9,17) + Func(9,18)
….
% C(3,4) = Func(12,17) + Func(12,18)
I know how to do this brute force, but I am struggling with how to approach this problem:
How many for loops do I need? (I currently have 2)
How do I get the loop to calculate the summation? Right now, my loop is only calculating the instaneous value, not summing.
Thanks!Hi,
I have a function "Func" that takes 2 inputs, 1 from each a different matrix (A and B). The matrices have same number of rows, but different number of columns.
My output matrix, C, takes the summation of Func’s output. For the entire row of matrix B, we will keep A constant. We will only go onto the next value of A when the B row is done. Additionally, we keep the rows the same such that only row 1 matrix B values will be used with row 1 A values. Row 2 matrix B with row 2 matrix A. etc. Here’s the demo code showing what I need it to do:
A = [1, 2, 3, 4;
5, 6, 7, 8;
9, 10, 11, 12];
B = [13, 14;
15, 16;
17, 18];
% Notes:
% Input A is a 3×4 matrix
% Input B is a 3×2 matrix
% Output C is going to be same dimensions as A, 3×4
% Function "Func" takes in inputs from A and B. syntax =
% Func(input from A, input from B)
% Example of how this is supposed to look:
% C(1,1) = Func(1,13) + Func(1,14)
% Above meaning the 1,1 entry of C matrix is the summation of the output of function "Func" where the inputs is A(1,1) and B(1,1) and B(1,2)
% C(1,2) = Func(2,13) + Func(2,14)
% C(1,3) = Func(3,13) + Func(3,14)
….
% C(2,1) = Func(5,15) + Func(5,16)
% Now that we are in the 2nd row, the "Func" function uses inputs A(2,1) and B(2,1) and B(2,2)
% C(2,2) = Func(6,15) + Func(6,16)
….
% C(3,1) = Func(9,17) + Func(9,18)
….
% C(3,4) = Func(12,17) + Func(12,18)
I know how to do this brute force, but I am struggling with how to approach this problem:
How many for loops do I need? (I currently have 2)
How do I get the loop to calculate the summation? Right now, my loop is only calculating the instaneous value, not summing.
Thanks! Hi,
I have a function "Func" that takes 2 inputs, 1 from each a different matrix (A and B). The matrices have same number of rows, but different number of columns.
My output matrix, C, takes the summation of Func’s output. For the entire row of matrix B, we will keep A constant. We will only go onto the next value of A when the B row is done. Additionally, we keep the rows the same such that only row 1 matrix B values will be used with row 1 A values. Row 2 matrix B with row 2 matrix A. etc. Here’s the demo code showing what I need it to do:
A = [1, 2, 3, 4;
5, 6, 7, 8;
9, 10, 11, 12];
B = [13, 14;
15, 16;
17, 18];
% Notes:
% Input A is a 3×4 matrix
% Input B is a 3×2 matrix
% Output C is going to be same dimensions as A, 3×4
% Function "Func" takes in inputs from A and B. syntax =
% Func(input from A, input from B)
% Example of how this is supposed to look:
% C(1,1) = Func(1,13) + Func(1,14)
% Above meaning the 1,1 entry of C matrix is the summation of the output of function "Func" where the inputs is A(1,1) and B(1,1) and B(1,2)
% C(1,2) = Func(2,13) + Func(2,14)
% C(1,3) = Func(3,13) + Func(3,14)
….
% C(2,1) = Func(5,15) + Func(5,16)
% Now that we are in the 2nd row, the "Func" function uses inputs A(2,1) and B(2,1) and B(2,2)
% C(2,2) = Func(6,15) + Func(6,16)
….
% C(3,1) = Func(9,17) + Func(9,18)
….
% C(3,4) = Func(12,17) + Func(12,18)
I know how to do this brute force, but I am struggling with how to approach this problem:
How many for loops do I need? (I currently have 2)
How do I get the loop to calculate the summation? Right now, my loop is only calculating the instaneous value, not summing.
Thanks! help, for loop, sum MATLAB Answers — New Questions
The command line isn’t working on matlab online, and the workspace and other features on the side bar also don’t seem to be working.
Pressing the command line button or the workspace button just extends the border it doesn’t actually open them up. Up until this point, I’ve been working in a .mlx file.Pressing the command line button or the workspace button just extends the border it doesn’t actually open them up. Up until this point, I’ve been working in a .mlx file. Pressing the command line button or the workspace button just extends the border it doesn’t actually open them up. Up until this point, I’ve been working in a .mlx file. command line, workspace MATLAB Answers — New Questions
When plotting multiple subplots in the for loop, how do you stop the axes from overlapping?
I am trying to plot the suplots in the for loop using the following code:
for k = 1:length(txt_files)
% some code
if PWM_switch == 1
ax1 = axes(t);
ax1.Layout.Tile = Test_Case;
if mod_switch == 1
if OpenLoop == 0
plot(table.data(:,1), table.data(:,2), ‘k’); hold on;
elseif OpenLoop == 1
plot(table.data(:,1), table.data(:,2), ‘k–‘); hold on;
end
end
if mod_switch == 4
if OpenLoop == 0
plot(table.data(:,1), table.data(:,2), ‘r’); hold on;
elseif OpenLoop == 1
plot(table.data(:,1), table.data(:,2), ‘r–‘); hold on;
end
end
end
end
but it appears that every time ax1 = axes(t) is executed, the supplot gets overlapping. You can still see old y-axis scales, but only the latest plots. When I run the loop step-by-step, all plots are plotted in the correct subplots; only they are overlapping.
I need to switch between subplots based on the conditions, i.e., Test Cases.
ax1.Layout.Tile = Test_Case correctly locates the subplot.
The full code with all *.txt files is in the attachment.I am trying to plot the suplots in the for loop using the following code:
for k = 1:length(txt_files)
% some code
if PWM_switch == 1
ax1 = axes(t);
ax1.Layout.Tile = Test_Case;
if mod_switch == 1
if OpenLoop == 0
plot(table.data(:,1), table.data(:,2), ‘k’); hold on;
elseif OpenLoop == 1
plot(table.data(:,1), table.data(:,2), ‘k–‘); hold on;
end
end
if mod_switch == 4
if OpenLoop == 0
plot(table.data(:,1), table.data(:,2), ‘r’); hold on;
elseif OpenLoop == 1
plot(table.data(:,1), table.data(:,2), ‘r–‘); hold on;
end
end
end
end
but it appears that every time ax1 = axes(t) is executed, the supplot gets overlapping. You can still see old y-axis scales, but only the latest plots. When I run the loop step-by-step, all plots are plotted in the correct subplots; only they are overlapping.
I need to switch between subplots based on the conditions, i.e., Test Cases.
ax1.Layout.Tile = Test_Case correctly locates the subplot.
The full code with all *.txt files is in the attachment. I am trying to plot the suplots in the for loop using the following code:
for k = 1:length(txt_files)
% some code
if PWM_switch == 1
ax1 = axes(t);
ax1.Layout.Tile = Test_Case;
if mod_switch == 1
if OpenLoop == 0
plot(table.data(:,1), table.data(:,2), ‘k’); hold on;
elseif OpenLoop == 1
plot(table.data(:,1), table.data(:,2), ‘k–‘); hold on;
end
end
if mod_switch == 4
if OpenLoop == 0
plot(table.data(:,1), table.data(:,2), ‘r’); hold on;
elseif OpenLoop == 1
plot(table.data(:,1), table.data(:,2), ‘r–‘); hold on;
end
end
end
end
but it appears that every time ax1 = axes(t) is executed, the supplot gets overlapping. You can still see old y-axis scales, but only the latest plots. When I run the loop step-by-step, all plots are plotted in the correct subplots; only they are overlapping.
I need to switch between subplots based on the conditions, i.e., Test Cases.
ax1.Layout.Tile = Test_Case correctly locates the subplot.
The full code with all *.txt files is in the attachment. plotting, subplot, axes MATLAB Answers — New Questions
Can I use Teams SSO to authenticate users into my main app?
I have an app I want to embed as a tab in MS Teams. Users may already have an account outside of teams and I use magic login link to typically to log users in. I want to know if I can leverage teams tab SSO to log users into their existing account. So my idea is:
User has an account with my app already. It is associated with their organization email.They access my app in Teams and grant permissions necessary, my app gets an auth token and validates itIf that is successful, I find the user’s account associated with their email and log them in with a magic login link
I’m wondering if this is a valid use case for teams tab sso? Is it enough to trust that the validated token means the user is good and can be logged in? I know typically there is a “sign in with microsoft” idp option but that is a larger lift. Was wondering if there are big security red flags here. I want to make sure that when a token is validated I can link a user from MS Teams to their account in main app via email and log them in.
I have an app I want to embed as a tab in MS Teams. Users may already have an account outside of teams and I use magic login link to typically to log users in. I want to know if I can leverage teams tab SSO to log users into their existing account. So my idea is:User has an account with my app already. It is associated with their organization email.They access my app in Teams and grant permissions necessary, my app gets an auth token and validates itIf that is successful, I find the user’s account associated with their email and log them in with a magic login linkI’m wondering if this is a valid use case for teams tab sso? Is it enough to trust that the validated token means the user is good and can be logged in? I know typically there is a “sign in with microsoft” idp option but that is a larger lift. Was wondering if there are big security red flags here. I want to make sure that when a token is validated I can link a user from MS Teams to their account in main app via email and log them in. Read More
GCP Pub/Sub Audit Logs Connector Deployment Error
After deploying the ‘GCP Pub/Sub Audit Logs Connector,’ I encountered a deployment failure with the error message:
‘Invalid Properties. Data collection rule with ImmutableId ‘dcr-37d64df72e3347f3ad9c1ff7e87c5730’ does not exist.’
Not sure what is the role of DCR here. Can create it manually, I don’t think I can specify the DCR ID?
This occurred after completing all the required fields on the collector page and setting up the necessary GCP components.
After deploying the ‘GCP Pub/Sub Audit Logs Connector,’ I encountered a deployment failure with the error message:‘Invalid Properties. Data collection rule with ImmutableId ‘dcr-37d64df72e3347f3ad9c1ff7e87c5730’ does not exist.’ Not sure what is the role of DCR here. Can create it manually, I don’t think I can specify the DCR ID?This occurred after completing all the required fields on the collector page and setting up the necessary GCP components. Read More
Update failing
Hey everyone
My update is failing to install for some reason. The following update is this:
Cumulative Update for Windows 11 Insider Preview (10.0.22635.3858) (KB5039327)
and the error is this:
Install error – 0x800f081f
I am currently on the beta channel, I do have enough storage on my machine I also ran the windows trobuleshooter tool for windows update and it says that it detects a issue but does not fix it or report what it is. I have tried to withdraw from the program and join it again. I have also tried to change the channels to release preview, I have not tried the dev channel because i dont want too unstable windows.
Any ideas on how to fix it ?
Hey everyoneMy update is failing to install for some reason. The following update is this:Cumulative Update for Windows 11 Insider Preview (10.0.22635.3858) (KB5039327)and the error is this:Install error – 0x800f081fI am currently on the beta channel, I do have enough storage on my machine I also ran the windows trobuleshooter tool for windows update and it says that it detects a issue but does not fix it or report what it is. I have tried to withdraw from the program and join it again. I have also tried to change the channels to release preview, I have not tried the dev channel because i dont want too unstable windows. Any ideas on how to fix it ? Read More
System Composer addition to suite
System composer cannot be learned in just a few days or weeks. I have a home license so I can learn and apply to the commercial version when able. I have purchased many of the home licenses…seems silly that I cannot prepare (learn) for a commercial MBSE endeavor. When look for the compatible version price I CANNOT find it.System composer cannot be learned in just a few days or weeks. I have a home license so I can learn and apply to the commercial version when able. I have purchased many of the home licenses…seems silly that I cannot prepare (learn) for a commercial MBSE endeavor. When look for the compatible version price I CANNOT find it. System composer cannot be learned in just a few days or weeks. I have a home license so I can learn and apply to the commercial version when able. I have purchased many of the home licenses…seems silly that I cannot prepare (learn) for a commercial MBSE endeavor. When look for the compatible version price I CANNOT find it. simulink composer MATLAB Answers — New Questions
uigetfile canceled returns 0, converting my string to a scalar
when I call [infile, location] = uigetfile() and it’s canceled, it returns 0s, converting my strings to a scalars
Next time I call it I get an error:
Error using uigetputfile_helper/checkString
Filename must be a character vector or a string scalar.
How do I get my string back for infile to be properly used next time?
This shouldn’t be that hard! I even tried converting the vars back to strings but it still fails after a cancel loop
function LoadfromTextFileButtonPushed(app, event)
% Open the file in the Load trials text
if isempty(app.loc)
[infile, app.loc] = uigetfile(‘*.txt’,’Select a Stimulus File’,app.defLoc);
else
[infile, app.loc] = uigetfile(‘*.txt’,’Select a Stimulus File’,app.loc);
end
if infile == 0 % user canceled
app.FileName.Text = ‘Click Load From Text File or enter manually’;
% give me back a string var for next time
infile = ”;
app.loc = app.defLoc; % return to default string
return;
end
% Put full file name into the File field name and read it in
locfile = fullfile(app.loc,infile);
app.FileName.Text = locfile;
app.UITable2.Data = readtable(locfile);
endwhen I call [infile, location] = uigetfile() and it’s canceled, it returns 0s, converting my strings to a scalars
Next time I call it I get an error:
Error using uigetputfile_helper/checkString
Filename must be a character vector or a string scalar.
How do I get my string back for infile to be properly used next time?
This shouldn’t be that hard! I even tried converting the vars back to strings but it still fails after a cancel loop
function LoadfromTextFileButtonPushed(app, event)
% Open the file in the Load trials text
if isempty(app.loc)
[infile, app.loc] = uigetfile(‘*.txt’,’Select a Stimulus File’,app.defLoc);
else
[infile, app.loc] = uigetfile(‘*.txt’,’Select a Stimulus File’,app.loc);
end
if infile == 0 % user canceled
app.FileName.Text = ‘Click Load From Text File or enter manually’;
% give me back a string var for next time
infile = ”;
app.loc = app.defLoc; % return to default string
return;
end
% Put full file name into the File field name and read it in
locfile = fullfile(app.loc,infile);
app.FileName.Text = locfile;
app.UITable2.Data = readtable(locfile);
end when I call [infile, location] = uigetfile() and it’s canceled, it returns 0s, converting my strings to a scalars
Next time I call it I get an error:
Error using uigetputfile_helper/checkString
Filename must be a character vector or a string scalar.
How do I get my string back for infile to be properly used next time?
This shouldn’t be that hard! I even tried converting the vars back to strings but it still fails after a cancel loop
function LoadfromTextFileButtonPushed(app, event)
% Open the file in the Load trials text
if isempty(app.loc)
[infile, app.loc] = uigetfile(‘*.txt’,’Select a Stimulus File’,app.defLoc);
else
[infile, app.loc] = uigetfile(‘*.txt’,’Select a Stimulus File’,app.loc);
end
if infile == 0 % user canceled
app.FileName.Text = ‘Click Load From Text File or enter manually’;
% give me back a string var for next time
infile = ”;
app.loc = app.defLoc; % return to default string
return;
end
% Put full file name into the File field name and read it in
locfile = fullfile(app.loc,infile);
app.FileName.Text = locfile;
app.UITable2.Data = readtable(locfile);
end uigetfile, cancel MATLAB Answers — New Questions
AdaptiveCard not working with incoming webhook
Anyone have any idea why webhook endpoint would be returning the following error? It seems I already have the type set and still get this error in the response with card actually being posted in teams. Seems to work fine with MessageCard though.
“AdaptiveCards.AdaptiveSerializationException: Property ‘type’ must be ‘AdaptiveCard'”
Here is an example payload that still fails for me with same error message.
type: ‘message’,
attachments: [
{
contentType: ‘application/vnd.microsoft.card.adaptive’,
contentUrl: null,
content: {
$schema:
‘http://adaptivecards.io/schemas/adaptive-card.json’,
type: ‘AdaptiveCard’,
version: ‘1.6’,
body: [
{
type: ‘TextBlock’,
text: ‘Submitted response’,
},
],
},
},
],
};
axios
.post(options.webhookUrl, payload)
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
Anyone have any idea why webhook endpoint would be returning the following error? It seems I already have the type set and still get this error in the response with card actually being posted in teams. Seems to work fine with MessageCard though.”AdaptiveCards.AdaptiveSerializationException: Property ‘type’ must be ‘AdaptiveCard'”Here is an example payload that still fails for me with same error message.
const payload = {
type: ‘message’,
attachments: [
{
contentType: ‘application/vnd.microsoft.card.adaptive’,
contentUrl: null,
content: {
$schema:
‘http://adaptivecards.io/schemas/adaptive-card.json’,
type: ‘AdaptiveCard’,
version: ‘1.6’,
body: [
{
type: ‘TextBlock’,
text: ‘Submitted response’,
},
],
},
},
],
};
axios
.post(options.webhookUrl, payload)
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
}); Read More
Trojan and Malware download
Recently, I ran a full scan of my computer using Defender and the system reported a trojan malware on my computer. The threat was quarantined. Question I have is why did not system not detect the trojan when it was downloaded in the first place? How confident can I be that Defender will protect my system. Here is the message I got:
Is there a setting that I can enable to make sure this doesnot happen in the future? I have default settings now. Having used Microsoft365 from BPOS days in the year 2009, I am pretty confident about capabilities of the Defender. This, now has me worried. Should I install McAfee or Norton in addition to Defender? Thanks
Recently, I ran a full scan of my computer using Defender and the system reported a trojan malware on my computer. The threat was quarantined. Question I have is why did not system not detect the trojan when it was downloaded in the first place? How confident can I be that Defender will protect my system. Here is the message I got: Is there a setting that I can enable to make sure this doesnot happen in the future? I have default settings now. Having used Microsoft365 from BPOS days in the year 2009, I am pretty confident about capabilities of the Defender. This, now has me worried. Should I install McAfee or Norton in addition to Defender? Thanks Read More
Show data value when I hover mouse over a data point on Chart created in Microsoft 365
I have installed Microsoft 365 free. I have entered some data on an excel spreadsheet. I have created an excel chart. The graph is fine but I do not see the data value when I hover the mouse over a data point on the graph. This works when I open the file with the graph using an earlier version of Office. Is there an Options button somewhere so that I can turn on this feature? Is this Option not available on Microsoft 365 free?
Regards, John
I have installed Microsoft 365 free. I have entered some data on an excel spreadsheet. I have created an excel chart. The graph is fine but I do not see the data value when I hover the mouse over a data point on the graph. This works when I open the file with the graph using an earlier version of Office. Is there an Options button somewhere so that I can turn on this feature? Is this Option not available on Microsoft 365 free?Regards, John Read More