Category: News
Issue with coauthoring in pages – The file (SharePoint Page) is locked for shared use by “User”
We have a custom SPFx web part added to our SharePoint pages. When users enter the required information and click on ‘Save as draft’ or ‘Submit for approval’ (with Power Automate enabled for the approval process), the information should save to the respective columns (page properties) in Site Pages, using REST API for data storage. Until yesterday, it worked fine, but since the rollout of coauthoring on site pages, we are encountering an error: “The file (SharePoint Page) is locked for shared use by ‘User’,” even though the user encountering the error is the one who edited the page.
We have a custom SPFx web part added to our SharePoint pages. When users enter the required information and click on ‘Save as draft’ or ‘Submit for approval’ (with Power Automate enabled for the approval process), the information should save to the respective columns (page properties) in Site Pages, using REST API for data storage. Until yesterday, it worked fine, but since the rollout of coauthoring on site pages, we are encountering an error: “The file (SharePoint Page) is locked for shared use by ‘User’,” even though the user encountering the error is the one who edited the page. Read More
Sharepoint list Status column
I have a sharepoint list with a status column. It has “not Started”, ” In Work”, “In Transit”, and “Complete”. I need a way to lock them in order so a step is not skipped. Any ideas on how I can do this?
I have a sharepoint list with a status column. It has “not Started”, ” In Work”, “In Transit”, and “Complete”. I need a way to lock them in order so a step is not skipped. Any ideas on how I can do this? Read More
Prompt to help me to find available slots for a meeting
Hello,
I try this prompt
Please identify two available time slots before the end of August 2024 for a 1-hour meeting with X and Y.
The slots should align with their working hours, respective time zones, and avoid any scheduling
conflicts.
However, the outcomes are not always consistent, and I typically have two types of responses:
-I have two time slots as options, but not everyone is available, or the time zone check was not considered.
Based on the available information, I have identified two potential time slots for a 1-hour meeting with X and Y before the end of August 2024:
* Thursday, August 10th at 9:00 AM CEST (X’s local time), which corresponds to Thursday,
August 10th at 3:00 AM EDT (Y’s local time)
* Tuesday, August 22nd at 4:00 PM CEST (X’s local time), which corresponds to Tuesday,
August 22nd at 10:00 AM EDT (Y’s local time).
– I received this
I’m sorry, but I couldn’t find specific availability information for X and Y before the end of August 2024.
To identify two available time slots for a 1-hour meeting, I recommend using the scheduling feature within Microsoft 365
to view their calendars and find slots that align with your working hours and time zones. If you need assistance with
scheduling or using the features, please let me know how I can help further.
Could you suggest a rewording of the Prompt or help me understand the answers?
Thanks
Matthieu
Hello, I try this prompt Please identify two available time slots before the end of August 2024 for a 1-hour meeting with X and Y. The slots should align with their working hours, respective time zones, and avoid any scheduling conflicts.However, the outcomes are not always consistent, and I typically have two types of responses:-I have two time slots as options, but not everyone is available, or the time zone check was not considered.Based on the available information, I have identified two potential time slots for a 1-hour meeting with X and Y before the end of August 2024:* Thursday, August 10th at 9:00 AM CEST (X’s local time), which corresponds to Thursday, August 10th at 3:00 AM EDT (Y’s local time)* Tuesday, August 22nd at 4:00 PM CEST (X’s local time), which corresponds to Tuesday, August 22nd at 10:00 AM EDT (Y’s local time).- I received this I’m sorry, but I couldn’t find specific availability information for X and Y before the end of August 2024. To identify two available time slots for a 1-hour meeting, I recommend using the scheduling feature within Microsoft 365 to view their calendars and find slots that align with your working hours and time zones. If you need assistance with scheduling or using the features, please let me know how I can help further.Could you suggest a rewording of the Prompt or help me understand the answers?Thanks Matthieu Read More
Combine two queries
I need to combine these two queries to receive one result:
Here is the first query
with cte as (
select ID,
assessmentdate,
Jurisdiction,
name,
studentid,
submitdate,
count(*) over (partition by studentid) as dup_count
from tblTest
)
Select m.assessmenttype, Count(m.studentid) As referredforassessment
From tblProfile m
Inner Join cte s on
m.studentid = s.studentid
Where dup_count > 1
and s.SubmitDate between ’06/01/2024′ and ’06/30/2024′
and countyid = 6
Group by assessmenttype
Order by assessmenttype
Here are the results from this query:
assessmenttype
referredforassessment
2
3
3
1
7
1
Here is the second query:
select assessmenttype,
SUM(CASE WHEN referredforassessment = 1 THEN 1 ELSE 0 END) as referredforassessment
from tblProfile
where SUBMITDATE >= ’06/01/2024′ and SUBMITDATE < ’06/30/2024′ and countyid = 6
Group By assessmenttype
order by assessmenttype
Here are the results from the second query:
assessmenttype
referredforassessment
2
2
4
1
Here are my desired results:
assessmenttype
referredforassessment
2
5
3
1
4
1
7
1
I need to combine these two queries to receive one result: Here is the first query with cte as (
select ID,
assessmentdate,
Jurisdiction,
name,
studentid,
submitdate,
count(*) over (partition by studentid) as dup_count
from tblTest
)
Select m.assessmenttype, Count(m.studentid) As referredforassessment
From tblProfile m
Inner Join cte s on
m.studentid = s.studentid
Where dup_count > 1
and s.SubmitDate between ’06/01/2024′ and ’06/30/2024′
and countyid = 6
Group by assessmenttype
Order by assessmenttype Here are the results from this query:assessmenttypereferredforassessment233171 Here is the second query:select assessmenttype,
SUM(CASE WHEN referredforassessment = 1 THEN 1 ELSE 0 END) as referredforassessment
from tblProfile
where SUBMITDATE >= ’06/01/2024′ and SUBMITDATE < ’06/30/2024′ and countyid = 6
Group By assessmenttype
order by assessmenttype Here are the results from the second query: assessmenttypereferredforassessment2241 Here are my desired results: assessmenttypereferredforassessment25314171 Read More
Getting the Most Filled Out Cells to the Top – Sort and Filter
I am new to Excel and learning how everything works, but I need to figure out how to get the rows with the most filled-in cells to the top of my sheet.
For more information – we keep track of our inventory in an excel document. I assign order numbers and customer names to the correct product as we get orders. Once the item has shipped I add the ship date to one of the columns and then have to move the whole row to a different sheet. I just need to figure out how to get the rows that have shipped to the top of the sheet each day so I can move them all at once to the new sheet.
I am new to Excel and learning how everything works, but I need to figure out how to get the rows with the most filled-in cells to the top of my sheet. For more information – we keep track of our inventory in an excel document. I assign order numbers and customer names to the correct product as we get orders. Once the item has shipped I add the ship date to one of the columns and then have to move the whole row to a different sheet. I just need to figure out how to get the rows that have shipped to the top of the sheet each day so I can move them all at once to the new sheet. Read More
FabSoft, Just Software, and Volo offer transactable partner solutions in Azure Marketplace
Microsoft partners like FabSoft, Just Software, and Volo deliver transact-capable offers, which allow you to purchase directly from Azure Marketplace. Learn about these offers below:
DeskConnect: Deliver Documents to Azure OpenAI: Automatically capture and redistribute all transactional documents involving user-level interaction and input with DeskConnect so you can eliminate costly disruptions from customers, vendors, and staff. This powerful solution from FabSoft transforms a tedious manual process into an automated knowledge base.
EasyScep: One-click PKI for Intune Endpoint Certificates: If you need a streamlined, cost-effective public key infrastructure (PKI) solution for Microsoft Intune, EasyScep from Just Software is a hassle-free way to manage WiFi and VPN certificates. Its simple configuration process and straightforward pricing let you easily improve your security without complicating your infrastructure or adding daily management tasks. EasyScep supports all devices managed by Intune, including Windows, iOS, and Android.
Volo SaaS: Cloud Foundations (Landing Zone and Shared Services): Volo automates the setup and maintenance of well-configured, up-to-date cloud landing zones and shared services without the need to hire outside experts. Reduce cloud management costs by up to 70 percent while ensuring compliance and remaining in full control of your environment.
Microsoft Tech Community – Latest Blogs –Read More
Copy and Paste Table into Word
Hello,
I’m trying to copy and paste into MS Word a table from my code and i couldn’t find a way to do it so. I’d like to paste and show in the same way Matlab shows the results on MS word.
I need ur help
Below the code i’ve been working.
% % % Display names
load_system(gcs);
Blockpaths= find_system(gcs,’Type’,’Block’);
NOM =[];
for i = 1:length(Blockpaths)
b =strsplit(char(Blockpaths(i)),’/’);
NOM =[NOM;b(end)];
end
% % % Display Types
open_system(gcs);
blks = find_system(gcs,’Type’,’block’);
TYPE = get_param(blks, ‘BlockType’);
j = 1;
k = 1;
for i = 1:length(TYPE)
if ( strcmp(TYPE{i},’Inport’))
In{j} = blks{i};
In{j} = strrep(In{j},gcs,”);
j = j + 1;
elseif ( strcmp(TYPE{i}, ‘Outport’))
Out{k} = blks{i};
Out{k} = strrep(Out{k},gcs,”);
k = k + 1;
end
end
% % % Create table
CONTENU=cell(length(Blockpaths),1);
t=table(NOM,TYPE,CONTENU);
SRCBLOCK=cell(length(Blockpaths),1);
t=table(NOM,TYPE,CONTENU,SRCBLOCK)
word = actxserver(‘Word.Application’);
word.Visible = true;
wdoc = word.Documents.Add;
Selection = word.Selection;
table = Selection.Tables.Add(Selection.Range,size(t,1),4);
table.Columns.Borders.Enable = 1;Hello,
I’m trying to copy and paste into MS Word a table from my code and i couldn’t find a way to do it so. I’d like to paste and show in the same way Matlab shows the results on MS word.
I need ur help
Below the code i’ve been working.
% % % Display names
load_system(gcs);
Blockpaths= find_system(gcs,’Type’,’Block’);
NOM =[];
for i = 1:length(Blockpaths)
b =strsplit(char(Blockpaths(i)),’/’);
NOM =[NOM;b(end)];
end
% % % Display Types
open_system(gcs);
blks = find_system(gcs,’Type’,’block’);
TYPE = get_param(blks, ‘BlockType’);
j = 1;
k = 1;
for i = 1:length(TYPE)
if ( strcmp(TYPE{i},’Inport’))
In{j} = blks{i};
In{j} = strrep(In{j},gcs,”);
j = j + 1;
elseif ( strcmp(TYPE{i}, ‘Outport’))
Out{k} = blks{i};
Out{k} = strrep(Out{k},gcs,”);
k = k + 1;
end
end
% % % Create table
CONTENU=cell(length(Blockpaths),1);
t=table(NOM,TYPE,CONTENU);
SRCBLOCK=cell(length(Blockpaths),1);
t=table(NOM,TYPE,CONTENU,SRCBLOCK)
word = actxserver(‘Word.Application’);
word.Visible = true;
wdoc = word.Documents.Add;
Selection = word.Selection;
table = Selection.Tables.Add(Selection.Range,size(t,1),4);
table.Columns.Borders.Enable = 1; Hello,
I’m trying to copy and paste into MS Word a table from my code and i couldn’t find a way to do it so. I’d like to paste and show in the same way Matlab shows the results on MS word.
I need ur help
Below the code i’ve been working.
% % % Display names
load_system(gcs);
Blockpaths= find_system(gcs,’Type’,’Block’);
NOM =[];
for i = 1:length(Blockpaths)
b =strsplit(char(Blockpaths(i)),’/’);
NOM =[NOM;b(end)];
end
% % % Display Types
open_system(gcs);
blks = find_system(gcs,’Type’,’block’);
TYPE = get_param(blks, ‘BlockType’);
j = 1;
k = 1;
for i = 1:length(TYPE)
if ( strcmp(TYPE{i},’Inport’))
In{j} = blks{i};
In{j} = strrep(In{j},gcs,”);
j = j + 1;
elseif ( strcmp(TYPE{i}, ‘Outport’))
Out{k} = blks{i};
Out{k} = strrep(Out{k},gcs,”);
k = k + 1;
end
end
% % % Create table
CONTENU=cell(length(Blockpaths),1);
t=table(NOM,TYPE,CONTENU);
SRCBLOCK=cell(length(Blockpaths),1);
t=table(NOM,TYPE,CONTENU,SRCBLOCK)
word = actxserver(‘Word.Application’);
word.Visible = true;
wdoc = word.Documents.Add;
Selection = word.Selection;
table = Selection.Tables.Add(Selection.Range,size(t,1),4);
table.Columns.Borders.Enable = 1; word table MATLAB Answers — New Questions
Nuget Package problem while creating a .Net MAUI application
Everytime I try to create a .net maui app, I get this error (NU1008) i am unable to fix it. can anyone help me….
Error (active) NU1008 :Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items: Microsoft.Maui.Controls;Microsoft.Maui.Controls.Compatibility;Microsoft.Extensions.Logging.Debug.
Everytime I try to create a .net maui app, I get this error (NU1008) i am unable to fix it. can anyone help me….Error (active) NU1008 :Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items: Microsoft.Maui.Controls;Microsoft.Maui.Controls.Compatibility;Microsoft.Extensions.Logging.Debug. Read More
Calculating COGS through FIFO method
I am trying to create an excel sheet for a small business. I have calculated and linked most of it however in order to accurately calculate the cost of goods sold, I have to use a method called FIFO method (First in first out). For example if I purchase 300 units of item A at 300,000 and 500 units of items A at a later date for 450,000, so when I sell 350 units, it is basically 300 units @ 300,000/300 and remining 50 units @ 450,000/500. Now there are multiple issues doing this in excel.
1. before anything I have to match the product code (column D)
2. I have to see that the cost of goods sold (column K) first calculates cost based on the oldest purchase and after that if needed the next purchase and so on.
3. I have to make sure that the next time I make sale, it also accounts for the previous sale as the oldest purchase might already be accounted for in a previous sale.
I looked for an attachment button but couldn’t find one so here is my sheet
S.no at column B, Purchase Date at column C, ARTICLE CODE at column D, Purchase units at column E, Purchase price at column F, Transport Expense at column G, Cost of Goods Purchased at column H, Sale Date at column I, Units Sold at column J, Cost of Goods Sold at column K.
Reading it back I realized that I have not written this in the simplest terms. Let’s hope you guys understand.
I am trying to create an excel sheet for a small business. I have calculated and linked most of it however in order to accurately calculate the cost of goods sold, I have to use a method called FIFO method (First in first out). For example if I purchase 300 units of item A at 300,000 and 500 units of items A at a later date for 450,000, so when I sell 350 units, it is basically 300 units @ 300,000/300 and remining 50 units @ 450,000/500. Now there are multiple issues doing this in excel.1. before anything I have to match the product code (column D)2. I have to see that the cost of goods sold (column K) first calculates cost based on the oldest purchase and after that if needed the next purchase and so on.3. I have to make sure that the next time I make sale, it also accounts for the previous sale as the oldest purchase might already be accounted for in a previous sale. I looked for an attachment button but couldn’t find one so here is my sheetS.no at column B, Purchase Date at column C, ARTICLE CODE at column D, Purchase units at column E, Purchase price at column F, Transport Expense at column G, Cost of Goods Purchased at column H, Sale Date at column I, Units Sold at column J, Cost of Goods Sold at column K. Reading it back I realized that I have not written this in the simplest terms. Let’s hope you guys understand. Read More
How to enable BitMask in EcuDescriptions when using coder.asap2.export
I have created CSC for measurement signals and I am packing my signals as bitfield. My generated code has all signals declared inside a structure with bitwidth. when I use coder.asap2.export to generate a2l file, Measurement has no BitMAsk Information.
With Matlab 2023b, I tried to extract EcuDescriptions using command descObj = coder.asap2.getEcuDescriptions("ModelName") and then I tried to extract measurement properties using command get(descObj,"Measurement","Struct.Signal1"). Measurement object has no information on BitMask.
Can someone guide me how to configure my model so that BitMAsk information is present in my a2l file?I have created CSC for measurement signals and I am packing my signals as bitfield. My generated code has all signals declared inside a structure with bitwidth. when I use coder.asap2.export to generate a2l file, Measurement has no BitMAsk Information.
With Matlab 2023b, I tried to extract EcuDescriptions using command descObj = coder.asap2.getEcuDescriptions("ModelName") and then I tried to extract measurement properties using command get(descObj,"Measurement","Struct.Signal1"). Measurement object has no information on BitMask.
Can someone guide me how to configure my model so that BitMAsk information is present in my a2l file? I have created CSC for measurement signals and I am packing my signals as bitfield. My generated code has all signals declared inside a structure with bitwidth. when I use coder.asap2.export to generate a2l file, Measurement has no BitMAsk Information.
With Matlab 2023b, I tried to extract EcuDescriptions using command descObj = coder.asap2.getEcuDescriptions("ModelName") and then I tried to extract measurement properties using command get(descObj,"Measurement","Struct.Signal1"). Measurement object has no information on BitMask.
Can someone guide me how to configure my model so that BitMAsk information is present in my a2l file? asap2, embedded coder MATLAB Answers — New Questions
how to plot a matrix graph of D(n,m) versus C(n,m) with different colors
I would like to plot a graph of D versus C. For each i have a different colorI would like to plot a graph of D versus C. For each i have a different color I would like to plot a graph of D versus C. For each i have a different color matrix, plot, color MATLAB Answers — New Questions
Optimize the constant by minimizing the error whit no direct relation
I want to find the optimised value for the three constant C1, C2, C3 by minimising the error of ErFEM.
I run an ABAQUS job; in the first job, I define C1, C2, C3, and the ABAQUS generates a result, let’s name it FEMresutl.
I subtract the FEMresult from the gold standard, and the final result is ErFEM.
ErFEM should become less than 50um by optimising C1, C2, C3.
However, there is no direct relation between the ErFEM and C1, C2, and C3.
How can I write an optimisation code that optimises the C1, C2, C3 by minimising the ErFEM?
ThanksI want to find the optimised value for the three constant C1, C2, C3 by minimising the error of ErFEM.
I run an ABAQUS job; in the first job, I define C1, C2, C3, and the ABAQUS generates a result, let’s name it FEMresutl.
I subtract the FEMresult from the gold standard, and the final result is ErFEM.
ErFEM should become less than 50um by optimising C1, C2, C3.
However, there is no direct relation between the ErFEM and C1, C2, and C3.
How can I write an optimisation code that optimises the C1, C2, C3 by minimising the ErFEM?
Thanks I want to find the optimised value for the three constant C1, C2, C3 by minimising the error of ErFEM.
I run an ABAQUS job; in the first job, I define C1, C2, C3, and the ABAQUS generates a result, let’s name it FEMresutl.
I subtract the FEMresult from the gold standard, and the final result is ErFEM.
ErFEM should become less than 50um by optimising C1, C2, C3.
However, there is no direct relation between the ErFEM and C1, C2, and C3.
How can I write an optimisation code that optimises the C1, C2, C3 by minimising the ErFEM?
Thanks optimization MATLAB Answers — New Questions
Access to subscription resources.
Hello,
I want to ask you all about subscription access for users outside.
The idea is to split our Azure subscription from one global to one per coutry. We are going to do some stuff there but we might need to give access to resources for employes from other countries to ex. show them what we did, how it works and let them play with it.
Example:
Right now we are doing some R&D on global account but it will be much better to have our own for each country. In future, we might need to share access to that environment/product etc. to other employes outside our subscription.
Why?
We want to have some kind of indicator which will tell us how many hours/connections was done and all that stuff.
Why not resource group?
It will be much easier to just give access to “our” own Azure env rather than specifying roles, telling what to edit and what not etc. We have some production stuff there etc…
So, is it possible to give access to these resources for employes from other subscriptions with “full” functionality of resources inside? Can connections to VM’s or Kube clusters will be possible?
Thank you!
Hello,I want to ask you all about subscription access for users outside. The idea is to split our Azure subscription from one global to one per coutry. We are going to do some stuff there but we might need to give access to resources for employes from other countries to ex. show them what we did, how it works and let them play with it. Example:Right now we are doing some R&D on global account but it will be much better to have our own for each country. In future, we might need to share access to that environment/product etc. to other employes outside our subscription. Why?We want to have some kind of indicator which will tell us how many hours/connections was done and all that stuff. Why not resource group?It will be much easier to just give access to “our” own Azure env rather than specifying roles, telling what to edit and what not etc. We have some production stuff there etc… So, is it possible to give access to these resources for employes from other subscriptions with “full” functionality of resources inside? Can connections to VM’s or Kube clusters will be possible? Thank you! Read More
Channel connectors not loading
Hello there,
we are using a connector to get a notification about new Azure DevOps Pull Requests to a Microsoft Teams channel. Since these connectors are deprecating soon, we wrote an PowerAutomate flow to replace the old one.
We now finished the new flow and want to remove the old connector. But unfortunately the list of configured connectors for the channel is not loading – no matter if I try to access it in the installed app or in different browsers on different operating systems. The lists for adding new connectors work, but “Configured” and “My Accounts” does not.
I already cleared the cache of Teams, I also installed new browsers (on MacOS and on Windows systems), but the list is always empty.
Does someone have any tips how to remove the old connector?
Hello there, we are using a connector to get a notification about new Azure DevOps Pull Requests to a Microsoft Teams channel. Since these connectors are deprecating soon, we wrote an PowerAutomate flow to replace the old one. We now finished the new flow and want to remove the old connector. But unfortunately the list of configured connectors for the channel is not loading – no matter if I try to access it in the installed app or in different browsers on different operating systems. The lists for adding new connectors work, but “Configured” and “My Accounts” does not. I already cleared the cache of Teams, I also installed new browsers (on MacOS and on Windows systems), but the list is always empty. Does someone have any tips how to remove the old connector? Read More
SharePoint Public Folder URL
Hi,
We are looking to create a public (anonymous/unauthenticated) access to a document library. The library resides on a separate SharePoint site that will only contain the public documents.
When I share the document library using the anonymous link, I can access the document library without issue and then navigate around the available folders.
However, we want to be able to add URL parameters into the anonymous link so that upon someone clicking the link they are taken to a specific folder within the library.
i.e. I want to be taken straight to the folder called ‘Test’ within the ‘PublicDocuments’ document library
ourtenant.sharepoint.com/:f:/s/publicsite/EqabcMvYN1tFq7oiQXAg2VoBnPDpAyk66HKeem9UBSco4g/PublicDocuments/Test
If I use the normal path it requires a login i.e. ourtenant.sharepoint.com/sites/publicsite/Shared%20Documents/PublicDocuments/test
Has anyone found a way of doing this?
Hi, We are looking to create a public (anonymous/unauthenticated) access to a document library. The library resides on a separate SharePoint site that will only contain the public documents. When I share the document library using the anonymous link, I can access the document library without issue and then navigate around the available folders. However, we want to be able to add URL parameters into the anonymous link so that upon someone clicking the link they are taken to a specific folder within the library. i.e. I want to be taken straight to the folder called ‘Test’ within the ‘PublicDocuments’ document library ourtenant.sharepoint.com/:f:/s/publicsite/EqabcMvYN1tFq7oiQXAg2VoBnPDpAyk66HKeem9UBSco4g/PublicDocuments/Test If I use the normal path it requires a login i.e. ourtenant.sharepoint.com/sites/publicsite/Shared%20Documents/PublicDocuments/test Has anyone found a way of doing this? Read More
Help with contour plot
Hello veryone,
i am trying do a contour plot of the stability of a mechanical system: so given a meshgrid X-Y and for a varying parameter k1, i calculate Z based on two conditions (B and D) and plot for Z=0. As k1 can be one of five different values i would like to have five different curves on the same plot.
but i only get two curves (which are also not right) and in the command windows this warning appears:
"Warning: Contour not rendered for constant ZData"
could anybody help me find the problem? thank you very much
here ist the script i am using
clear; clc; clf;
M = 700; J = 400; a1 = 1.85; a2 = 1.85; L = 3.7;
n = 101;
m = 50000;
k_a12 = linspace(-m, m, n);
k_a21 = linspace(-m, m, n);
[X, Y] = meshgrid(k_a12, k_a21);
v = [0 0];
clr = [‘r’,’g’,’b’,’c’,’k’];
b = 100000;
a = 5;
k1 = linspace(-b, b, a);
k2 = 0;
LegendsStrings = cell(numel(k1),1);
Z = zeros(n, n);
for q = 1:a
for i = 1:n
for j = 1:n
B = k1(q)*(J + M*a1^2) + k2*(J + M*a2^2) + (X + Y)*(J – M*a1*a2);
D = k1(q)*k2 – X.*Y;
if B(i, j) >= 0 && D(i, j) >= 0
Z(i, j) = D(i, j);
else
Z(i, j) = -1;
end
end
end
LegendsStrings{q} = [‘k_1 = ‘, num2str(k1(q))];
contour(X, Y, Z, v, ‘LineWidth’, 1.2, ‘LineColor’, clr(q), ‘DisplayName’, LegendsStrings{q});
hold on
end
legend()
xlabel(‘k_a_1_2’)
ylabel(‘k_a_2_1’)
grid onHello veryone,
i am trying do a contour plot of the stability of a mechanical system: so given a meshgrid X-Y and for a varying parameter k1, i calculate Z based on two conditions (B and D) and plot for Z=0. As k1 can be one of five different values i would like to have five different curves on the same plot.
but i only get two curves (which are also not right) and in the command windows this warning appears:
"Warning: Contour not rendered for constant ZData"
could anybody help me find the problem? thank you very much
here ist the script i am using
clear; clc; clf;
M = 700; J = 400; a1 = 1.85; a2 = 1.85; L = 3.7;
n = 101;
m = 50000;
k_a12 = linspace(-m, m, n);
k_a21 = linspace(-m, m, n);
[X, Y] = meshgrid(k_a12, k_a21);
v = [0 0];
clr = [‘r’,’g’,’b’,’c’,’k’];
b = 100000;
a = 5;
k1 = linspace(-b, b, a);
k2 = 0;
LegendsStrings = cell(numel(k1),1);
Z = zeros(n, n);
for q = 1:a
for i = 1:n
for j = 1:n
B = k1(q)*(J + M*a1^2) + k2*(J + M*a2^2) + (X + Y)*(J – M*a1*a2);
D = k1(q)*k2 – X.*Y;
if B(i, j) >= 0 && D(i, j) >= 0
Z(i, j) = D(i, j);
else
Z(i, j) = -1;
end
end
end
LegendsStrings{q} = [‘k_1 = ‘, num2str(k1(q))];
contour(X, Y, Z, v, ‘LineWidth’, 1.2, ‘LineColor’, clr(q), ‘DisplayName’, LegendsStrings{q});
hold on
end
legend()
xlabel(‘k_a_1_2’)
ylabel(‘k_a_2_1’)
grid on Hello veryone,
i am trying do a contour plot of the stability of a mechanical system: so given a meshgrid X-Y and for a varying parameter k1, i calculate Z based on two conditions (B and D) and plot for Z=0. As k1 can be one of five different values i would like to have five different curves on the same plot.
but i only get two curves (which are also not right) and in the command windows this warning appears:
"Warning: Contour not rendered for constant ZData"
could anybody help me find the problem? thank you very much
here ist the script i am using
clear; clc; clf;
M = 700; J = 400; a1 = 1.85; a2 = 1.85; L = 3.7;
n = 101;
m = 50000;
k_a12 = linspace(-m, m, n);
k_a21 = linspace(-m, m, n);
[X, Y] = meshgrid(k_a12, k_a21);
v = [0 0];
clr = [‘r’,’g’,’b’,’c’,’k’];
b = 100000;
a = 5;
k1 = linspace(-b, b, a);
k2 = 0;
LegendsStrings = cell(numel(k1),1);
Z = zeros(n, n);
for q = 1:a
for i = 1:n
for j = 1:n
B = k1(q)*(J + M*a1^2) + k2*(J + M*a2^2) + (X + Y)*(J – M*a1*a2);
D = k1(q)*k2 – X.*Y;
if B(i, j) >= 0 && D(i, j) >= 0
Z(i, j) = D(i, j);
else
Z(i, j) = -1;
end
end
end
LegendsStrings{q} = [‘k_1 = ‘, num2str(k1(q))];
contour(X, Y, Z, v, ‘LineWidth’, 1.2, ‘LineColor’, clr(q), ‘DisplayName’, LegendsStrings{q});
hold on
end
legend()
xlabel(‘k_a_1_2’)
ylabel(‘k_a_2_1’)
grid on contour, 2d plot, loops, contour plot MATLAB Answers — New Questions
How to include requirements in Embedded Web View Report
I have searched the forums, Google and the documentation for hours, but i cannot find a way to include the requirements in an Embedded Web View Report. My MATLAB version is R2024a.
While it is easy to include the requirements when generating an standard webview form Simulink (see image below), it does not seem to be possible to do so with code in Embedded Web View Report generation.
The following code belongs to the class that i am using to generate this report (it is worth mentioning that there are no issues here, the report is correctly generated):
function rpt = classReportGeneratorWebview(reportName,modelName)
rpt@slreportgen.webview.EmbeddedWebViewDocument(…
reportName,modelName);
% Suppress Link Warning Messages for Embedded Web View Reports:
rpt.ValidateLinksAndAnchors = false;
% Specify Export Options for Embedded Web View Reports:
rpt.ExportOptions.SearchScope = ‘All’;
rpt.ExportOptions.IncludeReferencedModels = true;
rpt.ExportOptions.IncludeMaskedSubsystems = true;
end
As can be seen, the ExportOptions has properties that allow including multiple aspects. However, in the documentation (https://es.mathworks.com/help/rptgenext/ug/slreportgen.webview.exportoptions-class.html), there is no property related to including the requirements.
Therefore, when the report is generated, the button that allows access to the requirements view is obviously missing.
I would like to know if there is a way to include requirements in an Embedded Web View Report, inside the webview. Help would be much appreciated.I have searched the forums, Google and the documentation for hours, but i cannot find a way to include the requirements in an Embedded Web View Report. My MATLAB version is R2024a.
While it is easy to include the requirements when generating an standard webview form Simulink (see image below), it does not seem to be possible to do so with code in Embedded Web View Report generation.
The following code belongs to the class that i am using to generate this report (it is worth mentioning that there are no issues here, the report is correctly generated):
function rpt = classReportGeneratorWebview(reportName,modelName)
rpt@slreportgen.webview.EmbeddedWebViewDocument(…
reportName,modelName);
% Suppress Link Warning Messages for Embedded Web View Reports:
rpt.ValidateLinksAndAnchors = false;
% Specify Export Options for Embedded Web View Reports:
rpt.ExportOptions.SearchScope = ‘All’;
rpt.ExportOptions.IncludeReferencedModels = true;
rpt.ExportOptions.IncludeMaskedSubsystems = true;
end
As can be seen, the ExportOptions has properties that allow including multiple aspects. However, in the documentation (https://es.mathworks.com/help/rptgenext/ug/slreportgen.webview.exportoptions-class.html), there is no property related to including the requirements.
Therefore, when the report is generated, the button that allows access to the requirements view is obviously missing.
I would like to know if there is a way to include requirements in an Embedded Web View Report, inside the webview. Help would be much appreciated. I have searched the forums, Google and the documentation for hours, but i cannot find a way to include the requirements in an Embedded Web View Report. My MATLAB version is R2024a.
While it is easy to include the requirements when generating an standard webview form Simulink (see image below), it does not seem to be possible to do so with code in Embedded Web View Report generation.
The following code belongs to the class that i am using to generate this report (it is worth mentioning that there are no issues here, the report is correctly generated):
function rpt = classReportGeneratorWebview(reportName,modelName)
rpt@slreportgen.webview.EmbeddedWebViewDocument(…
reportName,modelName);
% Suppress Link Warning Messages for Embedded Web View Reports:
rpt.ValidateLinksAndAnchors = false;
% Specify Export Options for Embedded Web View Reports:
rpt.ExportOptions.SearchScope = ‘All’;
rpt.ExportOptions.IncludeReferencedModels = true;
rpt.ExportOptions.IncludeMaskedSubsystems = true;
end
As can be seen, the ExportOptions has properties that allow including multiple aspects. However, in the documentation (https://es.mathworks.com/help/rptgenext/ug/slreportgen.webview.exportoptions-class.html), there is no property related to including the requirements.
Therefore, when the report is generated, the button that allows access to the requirements view is obviously missing.
I would like to know if there is a way to include requirements in an Embedded Web View Report, inside the webview. Help would be much appreciated. report, webview, simulink, embedded webview report MATLAB Answers — New Questions
how to resolve “At least one value is out of range for rectangle or position” error?
Description: I have my own custom script for creating harness and in that While creating test harness i am facing this error on "create.m" default script at this line. i am using matlab 2018b version
>> Simulink.harness.create(harnessOwner, varargin{:});
and when i am trying to go inside this it is telling it is .p script so unable to debug it. so, after run the script it is giving me this error "At least one value is out of range for rectangle or position. All x values must be within -32786..32767 range, all y values must be within -32786..32767 range"Description: I have my own custom script for creating harness and in that While creating test harness i am facing this error on "create.m" default script at this line. i am using matlab 2018b version
>> Simulink.harness.create(harnessOwner, varargin{:});
and when i am trying to go inside this it is telling it is .p script so unable to debug it. so, after run the script it is giving me this error "At least one value is out of range for rectangle or position. All x values must be within -32786..32767 range, all y values must be within -32786..32767 range" Description: I have my own custom script for creating harness and in that While creating test harness i am facing this error on "create.m" default script at this line. i am using matlab 2018b version
>> Simulink.harness.create(harnessOwner, varargin{:});
and when i am trying to go inside this it is telling it is .p script so unable to debug it. so, after run the script it is giving me this error "At least one value is out of range for rectangle or position. All x values must be within -32786..32767 range, all y values must be within -32786..32767 range" out of range, -32786, matlab, simulink, harness, matlab function, create.m, urgent, matlab coder MATLAB Answers — New Questions
Missing client protocols
Hello everyone,
I have a problem with one of my two SQL Server instances.
The client protocols are missing for one of the instances. You can actually add these there (see To enable or disable a client protocol ) but unfortunately the Properties entry is missing (see image below).
I have never had this before. Does anyone have any ideas?
Thanks in advance,
Frank
Hello everyone,I have a problem with one of my two SQL Server instances. The client protocols are missing for one of the instances. You can actually add these there (see To enable or disable a client protocol ) but unfortunately the Properties entry is missing (see image below). I have never had this before. Does anyone have any ideas? Thanks in advance,Frank Read More