Month: June 2024
unresolvable roledefinitionId in roleEligibilitySchedules
I query roleManagement/directory/roleEligibilitySchedules to make an inventory of all assigned Entra ID roles through Priviledged Identity Management.
Each role assignment has a property RoleDefinitionId, which refers to the id of the Entra ID role (a list I got from roleManagement/directory/roleDefinitions, it includes custom roles).
My problem is that a RoleDefinitionId can only be found for builtin roles, not for custom roles.
A custom role has a Guid that cannot be found/resolved anywhere it seems.
Is this a bug ? Or am I missing something?
Cheers,
Sem
I query roleManagement/directory/roleEligibilitySchedules to make an inventory of all assigned Entra ID roles through Priviledged Identity Management.Each role assignment has a property RoleDefinitionId, which refers to the id of the Entra ID role (a list I got from roleManagement/directory/roleDefinitions, it includes custom roles). My problem is that a RoleDefinitionId can only be found for builtin roles, not for custom roles. A custom role has a Guid that cannot be found/resolved anywhere it seems. Is this a bug ? Or am I missing something? Cheers,Sem Read More
Setup error installation Office 365
Hello everyone, I am having problems installing Office within my company, and I cannot find a solution to this problem. The following errors appear to me both when using the setup.exe that I download from my Office365 profile, and when using the xml configuration file.
I hope for your help, I am quite desperate.
Hello everyone, I am having problems installing Office within my company, and I cannot find a solution to this problem. The following errors appear to me both when using the setup.exe that I download from my Office365 profile, and when using the xml configuration file.I hope for your help, I am quite desperate. Read More
Merge multiple files containing given string into one mat file
Hello,
How to merge multiple files which names contains given strings (for instance: Name, ECG, data) into one file?Hello,
How to merge multiple files which names contains given strings (for instance: Name, ECG, data) into one file? Hello,
How to merge multiple files which names contains given strings (for instance: Name, ECG, data) into one file? merge multiple files containing given string into MATLAB Answers — New Questions
How to solve this error?
I keep getting this error while running the state space model,
Error in port widths or dimensions. Output port 1 of ‘statespacemodel_hvm/Mux’ is a one dimensional vector with 2 elements.
Error in port widths or dimensions. Input port 1 of ‘statespacemodel_hvm/State-Space’ has 3 elements. This port does not accept the dimensions (or orientation) specified by the input signal.
Please help me with this.I keep getting this error while running the state space model,
Error in port widths or dimensions. Output port 1 of ‘statespacemodel_hvm/Mux’ is a one dimensional vector with 2 elements.
Error in port widths or dimensions. Input port 1 of ‘statespacemodel_hvm/State-Space’ has 3 elements. This port does not accept the dimensions (or orientation) specified by the input signal.
Please help me with this. I keep getting this error while running the state space model,
Error in port widths or dimensions. Output port 1 of ‘statespacemodel_hvm/Mux’ is a one dimensional vector with 2 elements.
Error in port widths or dimensions. Input port 1 of ‘statespacemodel_hvm/State-Space’ has 3 elements. This port does not accept the dimensions (or orientation) specified by the input signal.
Please help me with this. error MATLAB Answers — New Questions
_api/search/query doesn’t seems to consider the sourceid, siteid or webid.
Hi Friends,
I am using SharePoint Online and I have 2 site collections. I am using the Search REST API and I would like to search only in one site collection. But the search is performed at tenant level always, though the sourceId or SiteId or WebId GUID values are provided in the API request.
Site Collections
https://xxxx.SharePoint.com/sites/SC1
https://xxxx.SharePoint.com/sites/SC2
Search REST API query
I have tried all 3 and all results includes SC2 data as well.
_api/search/query?querytext=’1234’&siteId='[GUID of SC1]’_api/search/query?querytext=’1234’&sourceId='[GUID of SC1]’_api/search/query?querytext=’1234’&webId='[GUID of SC1]’
I am sending the query using Power Automate Flow.
Looking for help for fix.
Thanks
Anjan
Hi Friends,I am using SharePoint Online and I have 2 site collections. I am using the Search REST API and I would like to search only in one site collection. But the search is performed at tenant level always, though the sourceId or SiteId or WebId GUID values are provided in the API request. Site Collectionshttps://xxxx.SharePoint.com/sites/SC1https://xxxx.SharePoint.com/sites/SC2 Search REST API queryI have tried all 3 and all results includes SC2 data as well._api/search/query?querytext=’1234’&siteId='[GUID of SC1]’_api/search/query?querytext=’1234’&sourceId='[GUID of SC1]’_api/search/query?querytext=’1234’&webId='[GUID of SC1]’ I am sending the query using Power Automate Flow. Looking for help for fix. ThanksAnjan Read More
i need help to find the mathematical equation that can made this model in pic (how can convert pressure drop to air velocity (dp to Vx) in modeling of OWC
Post Content Post Content in modeling of owc MATLAB Answers — New Questions
Best/Cleanest way to select a specific sheet from an excel file?
I am importing an excel file that has multiple sheets. I am using the readtable command to import the file. For the sheet choice, I am giving the read table command the ‘Sheet’ modifier with the sheet name.
My question is about getting the sheet name. Currently, I have the "sheetnames" command get a string array of the sheet names, then I use "listdlg" to display them and return a selection. the listdlg command is just not the best though. The formatting does not look very good, and I have multiple monitors. It does not pop up on the same monitor or the previously used monitor. It always pops up on the first, which if you need to run the program many times quickly, means you have to move across all monitors to select an option. Is there a better way to format it or an alternative to the "listdlg"?
Is there a different way of doing all of this that is better than sheetnames and listdlg? My program I’ve written pretty heavily relies on "readtable", so I cannot change that aspect.
% get the file name and file path of the selected excel file
[fileName,pathName] = uigetfile(‘*xlsx;*.xls’,’Select the Excel file’);
% check if user canceled file selection and act accordingly
if fileName == 0
return;
end
% combine the file name and file path to get the complete file path of the
% selected excel file
completeTableFilePath = fullfile(pathName,fileName);
% gather the names of all the sheets of the excel file
sheetNamesArray = sheetnames(completeTableFilePath);
% create a dialog box that lists all the sheet names in the file and
% prompts the user to pick one
sheetChoice = listdlg(‘PromptString’,’Select the sheet:’,’SelectionMode’,’single’,’ListString’,sheetNamesArray);
% check if user canceled file selection
if isempty(sheetChoice)
return;
end
% remembers the index of the selected excel sheet
sheetChoiceFileName = sheetNamesArray(sheetChoice);
% intake the specific sheet of the selected excel file as strings
inputTable = readtable(completeTableFilePath,’Sheet’,sheetChoiceFileName,’TextType’,’string’);I am importing an excel file that has multiple sheets. I am using the readtable command to import the file. For the sheet choice, I am giving the read table command the ‘Sheet’ modifier with the sheet name.
My question is about getting the sheet name. Currently, I have the "sheetnames" command get a string array of the sheet names, then I use "listdlg" to display them and return a selection. the listdlg command is just not the best though. The formatting does not look very good, and I have multiple monitors. It does not pop up on the same monitor or the previously used monitor. It always pops up on the first, which if you need to run the program many times quickly, means you have to move across all monitors to select an option. Is there a better way to format it or an alternative to the "listdlg"?
Is there a different way of doing all of this that is better than sheetnames and listdlg? My program I’ve written pretty heavily relies on "readtable", so I cannot change that aspect.
% get the file name and file path of the selected excel file
[fileName,pathName] = uigetfile(‘*xlsx;*.xls’,’Select the Excel file’);
% check if user canceled file selection and act accordingly
if fileName == 0
return;
end
% combine the file name and file path to get the complete file path of the
% selected excel file
completeTableFilePath = fullfile(pathName,fileName);
% gather the names of all the sheets of the excel file
sheetNamesArray = sheetnames(completeTableFilePath);
% create a dialog box that lists all the sheet names in the file and
% prompts the user to pick one
sheetChoice = listdlg(‘PromptString’,’Select the sheet:’,’SelectionMode’,’single’,’ListString’,sheetNamesArray);
% check if user canceled file selection
if isempty(sheetChoice)
return;
end
% remembers the index of the selected excel sheet
sheetChoiceFileName = sheetNamesArray(sheetChoice);
% intake the specific sheet of the selected excel file as strings
inputTable = readtable(completeTableFilePath,’Sheet’,sheetChoiceFileName,’TextType’,’string’); I am importing an excel file that has multiple sheets. I am using the readtable command to import the file. For the sheet choice, I am giving the read table command the ‘Sheet’ modifier with the sheet name.
My question is about getting the sheet name. Currently, I have the "sheetnames" command get a string array of the sheet names, then I use "listdlg" to display them and return a selection. the listdlg command is just not the best though. The formatting does not look very good, and I have multiple monitors. It does not pop up on the same monitor or the previously used monitor. It always pops up on the first, which if you need to run the program many times quickly, means you have to move across all monitors to select an option. Is there a better way to format it or an alternative to the "listdlg"?
Is there a different way of doing all of this that is better than sheetnames and listdlg? My program I’ve written pretty heavily relies on "readtable", so I cannot change that aspect.
% get the file name and file path of the selected excel file
[fileName,pathName] = uigetfile(‘*xlsx;*.xls’,’Select the Excel file’);
% check if user canceled file selection and act accordingly
if fileName == 0
return;
end
% combine the file name and file path to get the complete file path of the
% selected excel file
completeTableFilePath = fullfile(pathName,fileName);
% gather the names of all the sheets of the excel file
sheetNamesArray = sheetnames(completeTableFilePath);
% create a dialog box that lists all the sheet names in the file and
% prompts the user to pick one
sheetChoice = listdlg(‘PromptString’,’Select the sheet:’,’SelectionMode’,’single’,’ListString’,sheetNamesArray);
% check if user canceled file selection
if isempty(sheetChoice)
return;
end
% remembers the index of the selected excel sheet
sheetChoiceFileName = sheetNamesArray(sheetChoice);
% intake the specific sheet of the selected excel file as strings
inputTable = readtable(completeTableFilePath,’Sheet’,sheetChoiceFileName,’TextType’,’string’); listdlg, importing excel data, performance, gui MATLAB Answers — New Questions
Concatenate name fields in nested structure
Hello,
I am trying to save value of the data placed in the last fields in nested structure by concatenating string in recursion. The name of the file should string composed of the all preceding fields in structure.
However I am not able to save previous fields.
The code is as follows:
nameDataBase = ‘database.mat’;
structNest = load([pathFolder, nameDataBase]);
structFields = myIsField(structNest, ‘data’);
pathOutputFile = pathFolder;
fileName = ”
function isFieldResult = myIsField (inStruct, fieldName)
% inStruct is the name of the structure or an array of structures to search
% fieldName is the name of the field for which the function searches
B = struct();
display(‘output folder’)
isFieldResult = 0;
f = fieldnames(inStruct(1))
f1 = string(fieldnames(inStruct(1)))
for i=1:1%length(f)
display("i")
i
if(strcmp(f{i},strtrim(fieldName)))
isFieldResult = 1;
display(‘data found – end’)
B.(f{i}) = inStruct(1).(f{i})
data = getfield(B,’data’)
return;
elseif isstruct(inStruct(1).(f{i}))
isFieldResult = myIsField(inStruct(1).(f{i}), fieldName);
B.(f{i}) = inStruct(1).(f{i})
if isFieldResult
display(‘time found -loop’)
return;
end
end
endHello,
I am trying to save value of the data placed in the last fields in nested structure by concatenating string in recursion. The name of the file should string composed of the all preceding fields in structure.
However I am not able to save previous fields.
The code is as follows:
nameDataBase = ‘database.mat’;
structNest = load([pathFolder, nameDataBase]);
structFields = myIsField(structNest, ‘data’);
pathOutputFile = pathFolder;
fileName = ”
function isFieldResult = myIsField (inStruct, fieldName)
% inStruct is the name of the structure or an array of structures to search
% fieldName is the name of the field for which the function searches
B = struct();
display(‘output folder’)
isFieldResult = 0;
f = fieldnames(inStruct(1))
f1 = string(fieldnames(inStruct(1)))
for i=1:1%length(f)
display("i")
i
if(strcmp(f{i},strtrim(fieldName)))
isFieldResult = 1;
display(‘data found – end’)
B.(f{i}) = inStruct(1).(f{i})
data = getfield(B,’data’)
return;
elseif isstruct(inStruct(1).(f{i}))
isFieldResult = myIsField(inStruct(1).(f{i}), fieldName);
B.(f{i}) = inStruct(1).(f{i})
if isFieldResult
display(‘time found -loop’)
return;
end
end
end Hello,
I am trying to save value of the data placed in the last fields in nested structure by concatenating string in recursion. The name of the file should string composed of the all preceding fields in structure.
However I am not able to save previous fields.
The code is as follows:
nameDataBase = ‘database.mat’;
structNest = load([pathFolder, nameDataBase]);
structFields = myIsField(structNest, ‘data’);
pathOutputFile = pathFolder;
fileName = ”
function isFieldResult = myIsField (inStruct, fieldName)
% inStruct is the name of the structure or an array of structures to search
% fieldName is the name of the field for which the function searches
B = struct();
display(‘output folder’)
isFieldResult = 0;
f = fieldnames(inStruct(1))
f1 = string(fieldnames(inStruct(1)))
for i=1:1%length(f)
display("i")
i
if(strcmp(f{i},strtrim(fieldName)))
isFieldResult = 1;
display(‘data found – end’)
B.(f{i}) = inStruct(1).(f{i})
data = getfield(B,’data’)
return;
elseif isstruct(inStruct(1).(f{i}))
isFieldResult = myIsField(inStruct(1).(f{i}), fieldName);
B.(f{i}) = inStruct(1).(f{i})
if isFieldResult
display(‘time found -loop’)
return;
end
end
end concatenate name fields in nested structure MATLAB Answers — New Questions
AI and .NET: Elevate .NET Apps with AI & Redis
Redis and .NET
A .NET Contoso HR web application augmented with AI and Redis for chatbot-style capabilities.
An eShop web application enhanced with AI for intelligent recommendations and improved performance.
Resources
Blog: https://aka.ms/redis-ai/04-2024
Documentation:https://aka.ms/redis-ai/vss
Redis branch at https://github.com/Azure-Samples/azure-search-openai-demo-csharp/tree/redis
Vss branch at https://github.com/CawaMS/eShop/tree/vss
Recording
Next Steps
Microsoft Tech Community – Latest Blogs –Read More
Accessing a full PDF of tasks and answers of ONRAMP
Is there anyway I can have a full text of the answers to the tasks completed in the ONRAMP course? Just so I can print it and keep it with me and go through the things I have learnt without restarting a while module and going through the tasks again?Is there anyway I can have a full text of the answers to the tasks completed in the ONRAMP course? Just so I can print it and keep it with me and go through the things I have learnt without restarting a while module and going through the tasks again? Is there anyway I can have a full text of the answers to the tasks completed in the ONRAMP course? Just so I can print it and keep it with me and go through the things I have learnt without restarting a while module and going through the tasks again? answers, pdf, course, access, homework, download MATLAB Answers — New Questions
command line vs GUI, toolbox failed
I am running a script on R2024a via command line and i have got this error:
cmd: matlab -nodisplay -nosplash -nodesktop -r "run(‘my_script.m’); exit;"
error: niftiinfo requires Image Processing Toolbox.
Of course i have Image Processing Toolbox already in the toolbox folder. In fact, when i run same script from the GUI, everything is going well. The path is correctly set otherwise even the GUI has to fail.
Someone has an idea?
ThanksI am running a script on R2024a via command line and i have got this error:
cmd: matlab -nodisplay -nosplash -nodesktop -r "run(‘my_script.m’); exit;"
error: niftiinfo requires Image Processing Toolbox.
Of course i have Image Processing Toolbox already in the toolbox folder. In fact, when i run same script from the GUI, everything is going well. The path is correctly set otherwise even the GUI has to fail.
Someone has an idea?
Thanks I am running a script on R2024a via command line and i have got this error:
cmd: matlab -nodisplay -nosplash -nodesktop -r "run(‘my_script.m’); exit;"
error: niftiinfo requires Image Processing Toolbox.
Of course i have Image Processing Toolbox already in the toolbox folder. In fact, when i run same script from the GUI, everything is going well. The path is correctly set otherwise even the GUI has to fail.
Someone has an idea?
Thanks command line, toolbox MATLAB Answers — New Questions
no standalone apps output in console
I have function:
function m = magicsquare1(n)
%MAGICSQUARE generates a magic square matrix of the size
% specified by the input parameter n.
% Copyright 2003-2012 The MathWorks, Inc.
if ischar(n)
n=str2num(n);
end
m = magic(n);
>> magicsquare1(5)
ans =
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
The standalone application is created by
>> mcc -mv magicsquare1.m
(of course MCR is properly installed and configured)
Then the standalone application "magicsquare1" does not produce any output in command-line console!!! But it should, according to the help page of MATLAB compiler.
When I change the function like this:
function m = magicsquare2(n)
%MAGICSQUARE generates a magic square matrix of the size
% specified by the input parameter n.
% Copyright 2003-2012 The MathWorks, Inc.
if ischar(n)
n=str2num(n);
end
m = magic(n);
disp(m);
and recompile by
>>mcc -mv magicsquare2.m
I am able to get correct output.
>> !magicsquare2 5
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
So my question is: what is wrong? Why I am not able to get output from standalone application magicsquare1?I have function:
function m = magicsquare1(n)
%MAGICSQUARE generates a magic square matrix of the size
% specified by the input parameter n.
% Copyright 2003-2012 The MathWorks, Inc.
if ischar(n)
n=str2num(n);
end
m = magic(n);
>> magicsquare1(5)
ans =
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
The standalone application is created by
>> mcc -mv magicsquare1.m
(of course MCR is properly installed and configured)
Then the standalone application "magicsquare1" does not produce any output in command-line console!!! But it should, according to the help page of MATLAB compiler.
When I change the function like this:
function m = magicsquare2(n)
%MAGICSQUARE generates a magic square matrix of the size
% specified by the input parameter n.
% Copyright 2003-2012 The MathWorks, Inc.
if ischar(n)
n=str2num(n);
end
m = magic(n);
disp(m);
and recompile by
>>mcc -mv magicsquare2.m
I am able to get correct output.
>> !magicsquare2 5
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
So my question is: what is wrong? Why I am not able to get output from standalone application magicsquare1? I have function:
function m = magicsquare1(n)
%MAGICSQUARE generates a magic square matrix of the size
% specified by the input parameter n.
% Copyright 2003-2012 The MathWorks, Inc.
if ischar(n)
n=str2num(n);
end
m = magic(n);
>> magicsquare1(5)
ans =
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
The standalone application is created by
>> mcc -mv magicsquare1.m
(of course MCR is properly installed and configured)
Then the standalone application "magicsquare1" does not produce any output in command-line console!!! But it should, according to the help page of MATLAB compiler.
When I change the function like this:
function m = magicsquare2(n)
%MAGICSQUARE generates a magic square matrix of the size
% specified by the input parameter n.
% Copyright 2003-2012 The MathWorks, Inc.
if ischar(n)
n=str2num(n);
end
m = magic(n);
disp(m);
and recompile by
>>mcc -mv magicsquare2.m
I am able to get correct output.
>> !magicsquare2 5
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
So my question is: what is wrong? Why I am not able to get output from standalone application magicsquare1? console apps MATLAB Answers — New Questions
How can I get a shapley summary plot?
I have checekd the MATLAB syntaxes about the shapley value plots, but the examples didn’t help me figure out how I can sketch a shapley summary plot similar to the attached image. Can you please help me out?
In python, you can use shap libraries to understand how much each input variable in the machine learning model contributes to the model prediction. But, I’m not able to have that flexibility in MATLAB.
Ref:https://towardsdatascience.com/explain-your-model-with-the-shap-values-bc36aac4de3dI have checekd the MATLAB syntaxes about the shapley value plots, but the examples didn’t help me figure out how I can sketch a shapley summary plot similar to the attached image. Can you please help me out?
In python, you can use shap libraries to understand how much each input variable in the machine learning model contributes to the model prediction. But, I’m not able to have that flexibility in MATLAB.
Ref:https://towardsdatascience.com/explain-your-model-with-the-shap-values-bc36aac4de3d I have checekd the MATLAB syntaxes about the shapley value plots, but the examples didn’t help me figure out how I can sketch a shapley summary plot similar to the attached image. Can you please help me out?
In python, you can use shap libraries to understand how much each input variable in the machine learning model contributes to the model prediction. But, I’m not able to have that flexibility in MATLAB.
Ref:https://towardsdatascience.com/explain-your-model-with-the-shap-values-bc36aac4de3d machine learning, shapley values MATLAB Answers — New Questions
modify v1 so that any value less than 4 is replaced with the value 0. Please help me making code.
modify v1 so that any value less than 4 is replaced with the value 0. please help me writing code.modify v1 so that any value less than 4 is replaced with the value 0. please help me writing code. modify v1 so that any value less than 4 is replaced with the value 0. please help me writing code. logical indexing MATLAB Answers — New Questions
Azure Virtual Desktop how to create host pool
What is Host Pool
Collection of one or more virtual machines (VMs) that serve as session hosts
Providing virtual desktops or remote applications to users
Efficient management, scaling, and maintenance of the virtual desktop infrastructure
Example Host Pool
A company Acme Corp, with multiple departments
Sales, Marketing, and Engineering. Each department has different host pool
Sales Department Host Pool
Host pool contains VMs with applications specific to the sales team
Marketing Department Host Pool
Host pool contains VMs with applications specific to the Marketing team
Engineering Department Host Pool
Host pool contains VMs with applications specific to the Engineering team
Host Pool Type
Personal host pool
Each user is assigned a dedicated session host VM
Individual desktop experience
Settings, data, and applications remain the same between sessions
Example:
A company assigns dedicated VMs to their executives and managers for personalized and consistent virtual desktop experiences
Assignment Type
Direct
Administrators manually assign specific session host VMs to individual users
Automatic
Azure Virtual Desktop automatically assigns a session host VM to users when they first log in to the host pool
Pooled host pool
Multiple users to share a set of session host virtual machines (VMs) within a host pool
Users are dynamically assigned an available session host VM from the pool
Two primary load balancing algorithms available for pooled host pools
Breadth-first load balancing
This algorithm distributes user sessions across the maximum number of available session host VMs in the host pool
Example
Pooled host pool with 4 session host VMs maximum session limit 6 , If there are 16 concurrent user sessions each VM will have 4 sessions on average maintaining a balanced distribution
Depth-first load balancing
This algorithm fills each session host VM to its maximum session limit before moving on to the next VM
Example
Pooled host pool with 4 session host VMs maximum session limit 6 , If there are 16 concurrent user sessions each VM will have maximum session limit then only move to next session
Application Group Type
Logical grouping of applications
App groups allow administrators to organize and manage application
Two primary app group types
Desktop App Group
Provides users with a full desktop experience
Allowing access to all applications session host VMs within the host pool
A desktop app group named Desktop Application Group
Automatically created when a host pool is created
Not support to create another desktop app group in the same host pool while a desktop app group exist
Example :
Software development team requires access to a complete Windows 10 desktop experience with various integrated development environments (IDEs), version control tools, and other applications
RemoteApp Group
Provides users access to individual applications installed on session host VMs Instead of presenting an entire desktop environment
You can create multiple remote app group as your requirement
Example:
A sales team needs access to a customer relationship management (CRM) application and a presentation tool
RemoteApp app group with these applications and assigns it to the sales team members
Application groups User Assignment
A user can be assigned to both a desktop app group and one or more RemoteApp app groups in the same host pool.
Users can only launch one type of app group per session
Workspace
A workspace is a logical grouping of application groups.
Each application group must be associated with a workspace for users to see the desktops and applications published to them
complete setup Guide click the below link
https://rijoskill.com/get-started-with-azure-virtual-desktop-a-complete-tutorial/
What is Host PoolCollection of one or more virtual machines (VMs) that serve as session hostsProviding virtual desktops or remote applications to usersEfficient management, scaling, and maintenance of the virtual desktop infrastructureExample Host PoolA company Acme Corp, with multiple departmentsSales, Marketing, and Engineering. Each department has different host poolSales Department Host PoolHost pool contains VMs with applications specific to the sales teamMarketing Department Host PoolHost pool contains VMs with applications specific to the Marketing teamEngineering Department Host PoolHost pool contains VMs with applications specific to the Engineering teamHost Pool TypePersonal host poolEach user is assigned a dedicated session host VMIndividual desktop experienceSettings, data, and applications remain the same between sessionsExample:A company assigns dedicated VMs to their executives and managers for personalized and consistent virtual desktop experiencesAssignment TypeDirectAdministrators manually assign specific session host VMs to individual usersAutomaticAzure Virtual Desktop automatically assigns a session host VM to users when they first log in to the host poolPooled host poolMultiple users to share a set of session host virtual machines (VMs) within a host poolUsers are dynamically assigned an available session host VM from the poolTwo primary load balancing algorithms available for pooled host poolsBreadth-first load balancingThis algorithm distributes user sessions across the maximum number of available session host VMs in the host poolExamplePooled host pool with 4 session host VMs maximum session limit 6 , If there are 16 concurrent user sessions each VM will have 4 sessions on average maintaining a balanced distributionDepth-first load balancingThis algorithm fills each session host VM to its maximum session limit before moving on to the next VMExamplePooled host pool with 4 session host VMs maximum session limit 6 , If there are 16 concurrent user sessions each VM will have maximum session limit then only move to next sessionApplication Group TypeLogical grouping of applicationsApp groups allow administrators to organize and manage applicationTwo primary app group typesDesktop App GroupProvides users with a full desktop experienceAllowing access to all applications session host VMs within the host poolA desktop app group named Desktop Application GroupAutomatically created when a host pool is createdNot support to create another desktop app group in the same host pool while a desktop app group existExample :Software development team requires access to a complete Windows 10 desktop experience with various integrated development environments (IDEs), version control tools, and other applicationsRemoteApp GroupProvides users access to individual applications installed on session host VMs Instead of presenting an entire desktop environmentYou can create multiple remote app group as your requirementExample:A sales team needs access to a customer relationship management (CRM) application and a presentation toolRemoteApp app group with these applications and assigns it to the sales team membersApplication groups User AssignmentA user can be assigned to both a desktop app group and one or more RemoteApp app groups in the same host pool.Users can only launch one type of app group per sessionWorkspaceA workspace is a logical grouping of application groups.Each application group must be associated with a workspace for users to see the desktops and applications published to themcomplete setup Guide click the below link https://rijoskill.com/get-started-with-azure-virtual-desktop-a-complete-tutorial/ Read More
Matlab Online Cannot “Open” Simulink File
Trying to open a Simulink file on Matlab Online causes a browser error, and the screen will be stuck with a loading circle, as shown in the picture above. The browser error is invisible to the user unless browser’s console is open. I hope the error in the picture will help the Matlab’s team to diagnose the problem. There are also a number of fetching errors to some US-east server that are not shown in the picture.
The issue can be replicated across Edge, Chrome, and Firefox.
It is currently impossible to load a simulink file from the computer unless the engineers figure out what the problem is. Is there a way for instructors to upload an online template and assign to students, which the students can retrieve and then modify?Trying to open a Simulink file on Matlab Online causes a browser error, and the screen will be stuck with a loading circle, as shown in the picture above. The browser error is invisible to the user unless browser’s console is open. I hope the error in the picture will help the Matlab’s team to diagnose the problem. There are also a number of fetching errors to some US-east server that are not shown in the picture.
The issue can be replicated across Edge, Chrome, and Firefox.
It is currently impossible to load a simulink file from the computer unless the engineers figure out what the problem is. Is there a way for instructors to upload an online template and assign to students, which the students can retrieve and then modify? Trying to open a Simulink file on Matlab Online causes a browser error, and the screen will be stuck with a loading circle, as shown in the picture above. The browser error is invisible to the user unless browser’s console is open. I hope the error in the picture will help the Matlab’s team to diagnose the problem. There are also a number of fetching errors to some US-east server that are not shown in the picture.
The issue can be replicated across Edge, Chrome, and Firefox.
It is currently impossible to load a simulink file from the computer unless the engineers figure out what the problem is. Is there a way for instructors to upload an online template and assign to students, which the students can retrieve and then modify? matlab online, simulink online MATLAB Answers — New Questions
Disp function with matlab coder
I’m experimenting with a simple hello world function to see how the coder works.
disp(‘Hello world’)
The mex version works, but when I make a standalone executable there is no output. In fact, the generated code for the function itself is completely empty ({}), like the disp() was purposely skipped over. Is this the expected behavior, or is there some setting I can change?
EDIT: I just tried fprintf(1,’Hello world’), and the converted code contains "cfprintf()". So still, purposely suppressing output? BTW, this is on Linux/2016b.I’m experimenting with a simple hello world function to see how the coder works.
disp(‘Hello world’)
The mex version works, but when I make a standalone executable there is no output. In fact, the generated code for the function itself is completely empty ({}), like the disp() was purposely skipped over. Is this the expected behavior, or is there some setting I can change?
EDIT: I just tried fprintf(1,’Hello world’), and the converted code contains "cfprintf()". So still, purposely suppressing output? BTW, this is on Linux/2016b. I’m experimenting with a simple hello world function to see how the coder works.
disp(‘Hello world’)
The mex version works, but when I make a standalone executable there is no output. In fact, the generated code for the function itself is completely empty ({}), like the disp() was purposely skipped over. Is this the expected behavior, or is there some setting I can change?
EDIT: I just tried fprintf(1,’Hello world’), and the converted code contains "cfprintf()". So still, purposely suppressing output? BTW, this is on Linux/2016b. matlab coder MATLAB Answers — New Questions
How to convert *.pth file to *.onnx?
Hi,
I used Pointpillars for 3D object detection on my own dataset (just using *.bin files and their *.txt labels) using Pytorch (Cuda). The format of the trained model is *.pth. I would like to convert the *.pth file to *.onnx format. I think I should define a model (Pointpillars) and a dummy tensor/input in this regard. I am not sure how to define them. Is there any MATLAB example/library in this regard?
I appreciate any help in advance.
Thank you,
AbbasHi,
I used Pointpillars for 3D object detection on my own dataset (just using *.bin files and their *.txt labels) using Pytorch (Cuda). The format of the trained model is *.pth. I would like to convert the *.pth file to *.onnx format. I think I should define a model (Pointpillars) and a dummy tensor/input in this regard. I am not sure how to define them. Is there any MATLAB example/library in this regard?
I appreciate any help in advance.
Thank you,
Abbas Hi,
I used Pointpillars for 3D object detection on my own dataset (just using *.bin files and their *.txt labels) using Pytorch (Cuda). The format of the trained model is *.pth. I would like to convert the *.pth file to *.onnx format. I think I should define a model (Pointpillars) and a dummy tensor/input in this regard. I am not sure how to define them. Is there any MATLAB example/library in this regard?
I appreciate any help in advance.
Thank you,
Abbas pth, onnx, pointpillars MATLAB Answers — New Questions