Category: News
“Access is denied.” Error
I am running a script where I’m trying to create a directory if the directory doesn’t already exist. The relevant section of my script
if exist(input_all_daily{1}.all_plots_location,’dir’) == 0
mkdir(input_all_daily{1}.all_plots_location)
else
end
Sometimes, when I run this script, I get an "Access is denied." error that references the mkdir line. When I rerun the script without making any changes, the "Access is denied." is no longer generated. I have no idea what do to about this error. Can someone please help?I am running a script where I’m trying to create a directory if the directory doesn’t already exist. The relevant section of my script
if exist(input_all_daily{1}.all_plots_location,’dir’) == 0
mkdir(input_all_daily{1}.all_plots_location)
else
end
Sometimes, when I run this script, I get an "Access is denied." error that references the mkdir line. When I rerun the script without making any changes, the "Access is denied." is no longer generated. I have no idea what do to about this error. Can someone please help? I am running a script where I’m trying to create a directory if the directory doesn’t already exist. The relevant section of my script
if exist(input_all_daily{1}.all_plots_location,’dir’) == 0
mkdir(input_all_daily{1}.all_plots_location)
else
end
Sometimes, when I run this script, I get an "Access is denied." error that references the mkdir line. When I rerun the script without making any changes, the "Access is denied." is no longer generated. I have no idea what do to about this error. Can someone please help? create, access, denied, directory MATLAB Answers — New Questions
How could I model a gas purging the liquid in tanks and pipes? How the interface between Gas and TL could be implemented to achieve purging?
I want to model a process that requires purging to displace the liquid in tanks and pipes. My model would be using a G-TL tank and pipes that fill the tank, a pump to recirculate the liquid, or pump out the content. The tank is also pressurized with gas that is additionally used to purge the system.I want to model a process that requires purging to displace the liquid in tanks and pipes. My model would be using a G-TL tank and pipes that fill the tank, a pump to recirculate the liquid, or pump out the content. The tank is also pressurized with gas that is additionally used to purge the system. I want to model a process that requires purging to displace the liquid in tanks and pipes. My model would be using a G-TL tank and pipes that fill the tank, a pump to recirculate the liquid, or pump out the content. The tank is also pressurized with gas that is additionally used to purge the system. gas, purge, tl-g MATLAB Answers — New Questions
Errors when I’m entering a section in System Composer Onramp
In the section "Connect to Simulink > Simulate and Test (System level Simulation)", the Tasks do not load properly. There are several errors in the console, several of the blocks are red, the Submit button is gray, and the Assessment pane is empty.
I am stuck at 76% completion.
How can I avoid this error and progress through the course?
This is what I see in the command prompt:
Warning: Error executing PreClose callback "Studio7_SLOnramp" for block diagram "SystemComposerOnramp": Output argument "position" (and possibly others) not assigned a value in the execution with "learning.simulink.getTrainingStudioPosition" function.
Error using evalin Unrecognized function or variable ‘quadcopterActivitySetup’.Error in learning.simulink.StudioMgr/runInitializationCode Error in learning.simulink.StudioMgr Error in learning.simulink.Application/setupStudioManager Error in learning.simulink.Application/setupSimulinkStudio Error in LearningApplication.setupSimulinkStudio Index exceeds the number of array elements. Index must not exceed 2.Error in learning.simulink.StudioMgr/setupTask Error in learning.simulink.Application/setupTask Error in LearningApplication.setupTaskIn the section "Connect to Simulink > Simulate and Test (System level Simulation)", the Tasks do not load properly. There are several errors in the console, several of the blocks are red, the Submit button is gray, and the Assessment pane is empty.
I am stuck at 76% completion.
How can I avoid this error and progress through the course?
This is what I see in the command prompt:
Warning: Error executing PreClose callback "Studio7_SLOnramp" for block diagram "SystemComposerOnramp": Output argument "position" (and possibly others) not assigned a value in the execution with "learning.simulink.getTrainingStudioPosition" function.
Error using evalin Unrecognized function or variable ‘quadcopterActivitySetup’.Error in learning.simulink.StudioMgr/runInitializationCode Error in learning.simulink.StudioMgr Error in learning.simulink.Application/setupStudioManager Error in learning.simulink.Application/setupSimulinkStudio Error in LearningApplication.setupSimulinkStudio Index exceeds the number of array elements. Index must not exceed 2.Error in learning.simulink.StudioMgr/setupTask Error in learning.simulink.Application/setupTask Error in LearningApplication.setupTask In the section "Connect to Simulink > Simulate and Test (System level Simulation)", the Tasks do not load properly. There are several errors in the console, several of the blocks are red, the Submit button is gray, and the Assessment pane is empty.
I am stuck at 76% completion.
How can I avoid this error and progress through the course?
This is what I see in the command prompt:
Warning: Error executing PreClose callback "Studio7_SLOnramp" for block diagram "SystemComposerOnramp": Output argument "position" (and possibly others) not assigned a value in the execution with "learning.simulink.getTrainingStudioPosition" function.
Error using evalin Unrecognized function or variable ‘quadcopterActivitySetup’.Error in learning.simulink.StudioMgr/runInitializationCode Error in learning.simulink.StudioMgr Error in learning.simulink.Application/setupStudioManager Error in learning.simulink.Application/setupSimulinkStudio Error in LearningApplication.setupSimulinkStudio Index exceeds the number of array elements. Index must not exceed 2.Error in learning.simulink.StudioMgr/setupTask Error in learning.simulink.Application/setupTask Error in LearningApplication.setupTask onramp, system composer MATLAB Answers — New Questions
Cannot create email groups in exchange admin center – 2
Hello
Please i need help on this issue.
Cannot create email groups in exchange admin center
When I attempt to create and email group using EAC I get the following error.
We couldn’t create the group.
Exception of type ‘Microsoft.Online.BOX.Util.Exceptions.InternalException’ was thrown.
I have tried with different web browsers using private or incognito mode and it still doesn’t work. I am able to create the Exchange groups using PowerShell commands, but I cannot create them using the Exchange web portal.
Hello Please i need help on this issue.Cannot create email groups in exchange admin centerWhen I attempt to create and email group using EAC I get the following error. We couldn’t create the group.Exception of type ‘Microsoft.Online.BOX.Util.Exceptions.InternalException’ was thrown. I have tried with different web browsers using private or incognito mode and it still doesn’t work. I am able to create the Exchange groups using PowerShell commands, but I cannot create them using the Exchange web portal. Read More
Appending data when extracting nested fields as individual variables
Hi Matlab community,
I have a variable "hands" that contains several fields, and I am trying to make hand_type, one of the fields, as an individual variable. The size of "hands" varies between 1×1 struct and 1×2 struct, hence I used the if-elseif loop. When "hands" is 1×2 struct, I want the second group of data to be stored in a parallel cell next to the first group of data, hence the {end+1}, as I don’t want them to be in the same cell and create an additional layer of nesting.
However, in the resulting "hand_type", whenever "hands" is 1×2 struct, "hand_type" only has 0x0 double. In comparison, when "hands" is 1×1 struct, "hand_type" has a value of a number (0, 1, etc).
Could someone help me to identify what I am doing wrong, and how I can fix the problem? The full script is attached.
Thank you in advance!
has_hands = ~cellfun(@isempty, {frames.hands});
filtered_frames = frames(has_hands);
id = {filtered_frames.id};
time = {filtered_frames.timestamp};
hands = {filtered_frames.hands};
hand_type = cell(size(hands));
for i = 1:numel(hands)
if isequal(size(hands{i}),[1,1])
hand_type{i} = hands{i}.type;
elseif isequal(size(hands{i}),[1,2])
hand_type{end+1} = hands{i}(1).type;
hand_type{end+1} = hands{i}(2).type;
endHi Matlab community,
I have a variable "hands" that contains several fields, and I am trying to make hand_type, one of the fields, as an individual variable. The size of "hands" varies between 1×1 struct and 1×2 struct, hence I used the if-elseif loop. When "hands" is 1×2 struct, I want the second group of data to be stored in a parallel cell next to the first group of data, hence the {end+1}, as I don’t want them to be in the same cell and create an additional layer of nesting.
However, in the resulting "hand_type", whenever "hands" is 1×2 struct, "hand_type" only has 0x0 double. In comparison, when "hands" is 1×1 struct, "hand_type" has a value of a number (0, 1, etc).
Could someone help me to identify what I am doing wrong, and how I can fix the problem? The full script is attached.
Thank you in advance!
has_hands = ~cellfun(@isempty, {frames.hands});
filtered_frames = frames(has_hands);
id = {filtered_frames.id};
time = {filtered_frames.timestamp};
hands = {filtered_frames.hands};
hand_type = cell(size(hands));
for i = 1:numel(hands)
if isequal(size(hands{i}),[1,1])
hand_type{i} = hands{i}.type;
elseif isequal(size(hands{i}),[1,2])
hand_type{end+1} = hands{i}(1).type;
hand_type{end+1} = hands{i}(2).type;
end Hi Matlab community,
I have a variable "hands" that contains several fields, and I am trying to make hand_type, one of the fields, as an individual variable. The size of "hands" varies between 1×1 struct and 1×2 struct, hence I used the if-elseif loop. When "hands" is 1×2 struct, I want the second group of data to be stored in a parallel cell next to the first group of data, hence the {end+1}, as I don’t want them to be in the same cell and create an additional layer of nesting.
However, in the resulting "hand_type", whenever "hands" is 1×2 struct, "hand_type" only has 0x0 double. In comparison, when "hands" is 1×1 struct, "hand_type" has a value of a number (0, 1, etc).
Could someone help me to identify what I am doing wrong, and how I can fix the problem? The full script is attached.
Thank you in advance!
has_hands = ~cellfun(@isempty, {frames.hands});
filtered_frames = frames(has_hands);
id = {filtered_frames.id};
time = {filtered_frames.timestamp};
hands = {filtered_frames.hands};
hand_type = cell(size(hands));
for i = 1:numel(hands)
if isequal(size(hands{i}),[1,1])
hand_type{i} = hands{i}.type;
elseif isequal(size(hands{i}),[1,2])
hand_type{end+1} = hands{i}(1).type;
hand_type{end+1} = hands{i}(2).type;
end append, nesting, variable, indexing, if statement, loop MATLAB Answers — New Questions
Error using trainNetwork Invalid training data. For cell array input, responses must be an N-by-1 cell array of sequences, where N is the number of sequences. The spatial and
Error using trainNetwork
Invalid training data. For cell array input, responses must be an N-by-1 cell array of sequences, where N is the number of sequences. The spatial and channel dimensions of the sequences must be the same as the output size of the last layer (1).
% Edit – running code here
load CycleAgeingData.mat
numHiddenUnits = 50;
inputSize1 = size(Data{1},1)
% layers = [
% sequenceInputLayer(numChannels)
% lstmLayer(128)
% fullyConnectedLayer(numChannels)
% regressionLayer];
%
layers = [ …
sequenceInputLayer(inputSize1)
lstmLayer(50, ‘OutputMode’, ‘sequence’)
fullyConnectedLayer(7)
dropoutLayer(0.011547480894612765)
fullyConnectedLayer(1)
regressionLayer];
% layersLSTM = [ …
% sequenceInputLayer(inputSize1)
% lstmLayer(numHiddenUnits)
% fullyConnectedLayer(1)
% regressionLayer
% ];
% cell1x = num2cell(features’, 1)’;
% targets=cap6/cap6(1)
% cell1yB = num2cell(targets);
numChannels = size(Data{1},1)
numObservations = numel(Data);
idxTrain = 1:floor(0.7*numObservations);
idxval = floor(0.7*numObservations)+1:numObservations-2
idxTest = floor(0.7*numObservations)+4:numObservations;
dataTrain = Data(idxTrain);
dataVal = Data(idxval)
dataTest = Data(idxTest);
trainindx=(1:24)
validindx=(25:29)
testindx=(30:34)
traincell2yB = target(idxTrain, :);
valcell2yB = target(idxval, :);
testcell2yB = target(idxTest, :);
options = trainingOptions(‘rmsprop’, …
‘MaxEpochs’, 1500, …
‘MiniBatchSize’, 50, …
‘InitialLearnRate’, 0.00036008553147273947, …
‘LearnRateSchedule’, ‘piecewise’, …
‘LearnRateDropPeriod’, 125, …
‘LearnRateDropFactor’, 0.02, …
‘Shuffle’, ‘every-epoch’, …
‘ValidationData’, {dataVal, valcell2yB}, …
‘ValidationFrequency’, 50, …
‘Verbose’, 1, …
‘Plots’, ‘training-progress’);
% options = trainingOptions(‘rmsprop’, …
% ‘InitialLearnRate’, 0.001, …
% ‘MaxEpochs’,500, …
% ‘MiniBatchSize’,50, …
% ‘Plots’,’training-progress’, ‘ValidationData’, {valcell1x, valcell1yB});
% options = trainingOptions(‘adam’, …
% ‘InitialLearnRate’, 0.001, …
% ‘MaxEpochs’,500, …
% ‘MiniBatchSize’,50, …
% ‘Plots’,’training-progress’, ‘ValidationData’, {valcell1x, valcell1yB});
netLSTM1 = trainNetwork(dataTrain, traincell2yB, layers, options);
Here is my dataError using trainNetwork
Invalid training data. For cell array input, responses must be an N-by-1 cell array of sequences, where N is the number of sequences. The spatial and channel dimensions of the sequences must be the same as the output size of the last layer (1).
% Edit – running code here
load CycleAgeingData.mat
numHiddenUnits = 50;
inputSize1 = size(Data{1},1)
% layers = [
% sequenceInputLayer(numChannels)
% lstmLayer(128)
% fullyConnectedLayer(numChannels)
% regressionLayer];
%
layers = [ …
sequenceInputLayer(inputSize1)
lstmLayer(50, ‘OutputMode’, ‘sequence’)
fullyConnectedLayer(7)
dropoutLayer(0.011547480894612765)
fullyConnectedLayer(1)
regressionLayer];
% layersLSTM = [ …
% sequenceInputLayer(inputSize1)
% lstmLayer(numHiddenUnits)
% fullyConnectedLayer(1)
% regressionLayer
% ];
% cell1x = num2cell(features’, 1)’;
% targets=cap6/cap6(1)
% cell1yB = num2cell(targets);
numChannels = size(Data{1},1)
numObservations = numel(Data);
idxTrain = 1:floor(0.7*numObservations);
idxval = floor(0.7*numObservations)+1:numObservations-2
idxTest = floor(0.7*numObservations)+4:numObservations;
dataTrain = Data(idxTrain);
dataVal = Data(idxval)
dataTest = Data(idxTest);
trainindx=(1:24)
validindx=(25:29)
testindx=(30:34)
traincell2yB = target(idxTrain, :);
valcell2yB = target(idxval, :);
testcell2yB = target(idxTest, :);
options = trainingOptions(‘rmsprop’, …
‘MaxEpochs’, 1500, …
‘MiniBatchSize’, 50, …
‘InitialLearnRate’, 0.00036008553147273947, …
‘LearnRateSchedule’, ‘piecewise’, …
‘LearnRateDropPeriod’, 125, …
‘LearnRateDropFactor’, 0.02, …
‘Shuffle’, ‘every-epoch’, …
‘ValidationData’, {dataVal, valcell2yB}, …
‘ValidationFrequency’, 50, …
‘Verbose’, 1, …
‘Plots’, ‘training-progress’);
% options = trainingOptions(‘rmsprop’, …
% ‘InitialLearnRate’, 0.001, …
% ‘MaxEpochs’,500, …
% ‘MiniBatchSize’,50, …
% ‘Plots’,’training-progress’, ‘ValidationData’, {valcell1x, valcell1yB});
% options = trainingOptions(‘adam’, …
% ‘InitialLearnRate’, 0.001, …
% ‘MaxEpochs’,500, …
% ‘MiniBatchSize’,50, …
% ‘Plots’,’training-progress’, ‘ValidationData’, {valcell1x, valcell1yB});
netLSTM1 = trainNetwork(dataTrain, traincell2yB, layers, options);
Here is my data Error using trainNetwork
Invalid training data. For cell array input, responses must be an N-by-1 cell array of sequences, where N is the number of sequences. The spatial and channel dimensions of the sequences must be the same as the output size of the last layer (1).
% Edit – running code here
load CycleAgeingData.mat
numHiddenUnits = 50;
inputSize1 = size(Data{1},1)
% layers = [
% sequenceInputLayer(numChannels)
% lstmLayer(128)
% fullyConnectedLayer(numChannels)
% regressionLayer];
%
layers = [ …
sequenceInputLayer(inputSize1)
lstmLayer(50, ‘OutputMode’, ‘sequence’)
fullyConnectedLayer(7)
dropoutLayer(0.011547480894612765)
fullyConnectedLayer(1)
regressionLayer];
% layersLSTM = [ …
% sequenceInputLayer(inputSize1)
% lstmLayer(numHiddenUnits)
% fullyConnectedLayer(1)
% regressionLayer
% ];
% cell1x = num2cell(features’, 1)’;
% targets=cap6/cap6(1)
% cell1yB = num2cell(targets);
numChannels = size(Data{1},1)
numObservations = numel(Data);
idxTrain = 1:floor(0.7*numObservations);
idxval = floor(0.7*numObservations)+1:numObservations-2
idxTest = floor(0.7*numObservations)+4:numObservations;
dataTrain = Data(idxTrain);
dataVal = Data(idxval)
dataTest = Data(idxTest);
trainindx=(1:24)
validindx=(25:29)
testindx=(30:34)
traincell2yB = target(idxTrain, :);
valcell2yB = target(idxval, :);
testcell2yB = target(idxTest, :);
options = trainingOptions(‘rmsprop’, …
‘MaxEpochs’, 1500, …
‘MiniBatchSize’, 50, …
‘InitialLearnRate’, 0.00036008553147273947, …
‘LearnRateSchedule’, ‘piecewise’, …
‘LearnRateDropPeriod’, 125, …
‘LearnRateDropFactor’, 0.02, …
‘Shuffle’, ‘every-epoch’, …
‘ValidationData’, {dataVal, valcell2yB}, …
‘ValidationFrequency’, 50, …
‘Verbose’, 1, …
‘Plots’, ‘training-progress’);
% options = trainingOptions(‘rmsprop’, …
% ‘InitialLearnRate’, 0.001, …
% ‘MaxEpochs’,500, …
% ‘MiniBatchSize’,50, …
% ‘Plots’,’training-progress’, ‘ValidationData’, {valcell1x, valcell1yB});
% options = trainingOptions(‘adam’, …
% ‘InitialLearnRate’, 0.001, …
% ‘MaxEpochs’,500, …
% ‘MiniBatchSize’,50, …
% ‘Plots’,’training-progress’, ‘ValidationData’, {valcell1x, valcell1yB});
netLSTM1 = trainNetwork(dataTrain, traincell2yB, layers, options);
Here is my data machine learning, neural network, data MATLAB Answers — New Questions
Plot 2D matrix on 2D graph
I have a matrix of 24 rows and 1000 columns. What I want is a 2D plot where, on the x-axis, I have the iterations and on the y-axis I have the value associated to each of the 24 row elements for the corresponding column (where column is indexed by iteration). So, that means, at each iteration I have 24 different colored plots. When I use plot(mygraph) I get a plot where I have the 24 row elements on the x-axis and on the y-axis I have the value for the row element changing vertically. However, I want to see the change in a row element over the course of the 1000 columns. I hope I made my question clear enough. Please help me in representing my data correctly, thank you!I have a matrix of 24 rows and 1000 columns. What I want is a 2D plot where, on the x-axis, I have the iterations and on the y-axis I have the value associated to each of the 24 row elements for the corresponding column (where column is indexed by iteration). So, that means, at each iteration I have 24 different colored plots. When I use plot(mygraph) I get a plot where I have the 24 row elements on the x-axis and on the y-axis I have the value for the row element changing vertically. However, I want to see the change in a row element over the course of the 1000 columns. I hope I made my question clear enough. Please help me in representing my data correctly, thank you! I have a matrix of 24 rows and 1000 columns. What I want is a 2D plot where, on the x-axis, I have the iterations and on the y-axis I have the value associated to each of the 24 row elements for the corresponding column (where column is indexed by iteration). So, that means, at each iteration I have 24 different colored plots. When I use plot(mygraph) I get a plot where I have the 24 row elements on the x-axis and on the y-axis I have the value for the row element changing vertically. However, I want to see the change in a row element over the course of the 1000 columns. I hope I made my question clear enough. Please help me in representing my data correctly, thank you! matlab, plot, graph, matrix MATLAB Answers — New Questions
Executing FileSavePicker.PickSaveFileAsync on .NET MAUI causes the application to crash.
Executing following code on .NET MAUI causes the application to crash.
public async Task<bool> ShowAsync(string fileName, byte[] bytes, SaveFilePickerOptions options)
{
ArgumentNullException.ThrowIfNull(options);
FileSavePicker fileSavePicker = new()
{
SuggestedStartLocation = PickerLocationId.DocumentsLibrary,
SuggestedFileName = fileName,
};
foreach(var item in options.WindowsFileTypes)
{
fileSavePicker.FileTypeChoices.Add(item.Key, item.Value);
}
if(MauiWinUIApplication.Current.Application.Windows[0].Handler.PlatformView is MauiWinUIWindow window)
{
InitializeWithWindow.Initialize(fileSavePicker, window.WindowHandle);
}
StorageFile file = await fileSavePicker.PickSaveFileAsync();
if(file == null)
{
return false;
}
using(FileStream fileStream = new(file.Path, FileMode.OpenOrCreate))
{
fileStream.Write(bytes, 0, bytes.Length);
}
return true;
}
When PickSaveFileAsync is executed, the following dialog is displayed in Debug mode.
Please let me know what to do.
Executing following code on .NET MAUI causes the application to crash. public async Task<bool> ShowAsync(string fileName, byte[] bytes, SaveFilePickerOptions options)
{
ArgumentNullException.ThrowIfNull(options);
FileSavePicker fileSavePicker = new()
{
SuggestedStartLocation = PickerLocationId.DocumentsLibrary,
SuggestedFileName = fileName,
};
foreach(var item in options.WindowsFileTypes)
{
fileSavePicker.FileTypeChoices.Add(item.Key, item.Value);
}
if(MauiWinUIApplication.Current.Application.Windows[0].Handler.PlatformView is MauiWinUIWindow window)
{
InitializeWithWindow.Initialize(fileSavePicker, window.WindowHandle);
}
StorageFile file = await fileSavePicker.PickSaveFileAsync();
if(file == null)
{
return false;
}
using(FileStream fileStream = new(file.Path, FileMode.OpenOrCreate))
{
fileStream.Write(bytes, 0, bytes.Length);
}
return true;
} When PickSaveFileAsync is executed, the following dialog is displayed in Debug mode.Please let me know what to do. Read More
Cant access my Edge since I crashed it
In an effort to obtain more vivid colours I went into
edge://flags
color
and selected sRGB which was fine.
Because it was so simple, I figured I’d go in again and select the next on the drop down menu but as soon as I did Edge crashed and I cant get back into it nor does it respond to anything.
Can someone please advise me what I should do?
I have tried to reset it, but the problem persists.
I’d be happy if it was reset back to factory specs, even if I lose all the other stuff, its no big deal
Please help, I love Edge
In an effort to obtain more vivid colours I went intoedge://flagscolorand selected sRGB which was fine.Because it was so simple, I figured I’d go in again and select the next on the drop down menu but as soon as I did Edge crashed and I cant get back into it nor does it respond to anything.Can someone please advise me what I should do?I have tried to reset it, but the problem persists.I’d be happy if it was reset back to factory specs, even if I lose all the other stuff, its no big dealPlease help, I love Edge Read More
Announcing the General Availability of GPT-4 Turbo with Vision on Azure OpenAI Service
We are excited to announce the general availability (GA) of GPT-4 Turbo with Vision on the Azure OpenAI Service. The GA model, gpt-4-turbo-2024-04-09, is a multimodal model capable of processing both text and image inputs to generate text outputs. This model replaces the following preview models:
gpt-4-1106-preview
gpt-4-0125-preview
gpt-4-vision-preview
Our customers and partners have been utilizing GPT-4 Turbo with Vision to create new processes, enhance efficiencies, and innovate within their businesses. Applications range from retailers improving the online shopping experience, to media and entertainment companies enriching digital asset management, and various organizations deriving insights from charts and diagrams. We will be showcasing detailed case studies from these applications at the upcoming Build conference.
Existing Azure OpenAI Service customers can now deploy gpt-4-turbo-2024-04-09 in Sweden Central and East US 2. For more information, please visit our model availability page.
Guide to Deploying GPT-4 Turbo with Vision GA
To deploy this GA model from the Studio UI, select “GPT-4” and then choose the “turbo-2024-04-09” version from the dropdown menu. The default quota for the gpt-4-turbo-2024-04-09 model will be the same as current quota for GPT-4-Turbo. See the regional quota limits.
Upgrade Path from Preview to GA Models
We are targeting the upgrade of deployments that utilize any of the three preview models (gpt-4-1106-preview, gpt-4-0125-preview, and gpt-4-vision-preview) and are configured for auto-update on the Azure OpenAI Service. These deployments will be upgraded to gpt-4-turbo-2024-04-09 starting on June 10th or later. We will notify all customers with these preview deployments at least two weeks before the start of the upgrades. We will publish an upgrade schedule detailing the order of regions and model versions that we will follow during the upgrades in our public documentation.
Upcoming Features for image (vision) inputs: JSON Mode and Function Calling
JSON mode and function calling for inference requests involving image (vision) inputs will be available in GA in the coming weeks. Please note that text-based inputs will continue to support both JSON mode and function calling.
Changes to GPT-4 Vision Enhancements
Enhancements such as Optical Character Recognition (OCR), object grounding, video prompts, and “Azure OpenAI Service on your data with images”, that were integrated with the gpt-4-vision-preview model will not be available with the GA model. We are dedicated to enhancing our products to provide value to our customers, and are actively exploring how to best integrate these features into future offerings.
To Get Started, Explore the Following Resources
Learn more about What’s new in Azure OpenAI Service?
Learn more about GPT-4 Turbo with Vision on Azure OpenAI Service
Azure Open AI Quickstart for GPT-4 Turbo with Vision
Azure Open AI How-To Guide: How to use the GPT-4 Turbo with Vision model on Azure OpenAI Service
GPT-4 Turbo with Vision pricing explained in detail: Text and Image tokens
Apply now for access to Azure OpenAI Service
If you are a current Azure OpenAI customer and would like to add additional use cases, fill out the Azure OpenAI Additional Use Case form.
Responsible AI: Transparency Note for Azure OpenAI Service
Microsoft Tech Community – Latest Blogs –Read More
Particle size distribution using image processing in MATLAB
http://jcp.bmj.com/content/62/6/481/F6.large.jpg
I want to plot the number of fat cells in the liver versus their size. For which I wanted to use the following steps.
Apply adaptive thresholding on the gray level image.
Find distance transform on the thresholded image.
Invert the distance transform and assign a high value to the background.
Extract marker using gray scale reconstruction and assign zero value to marker.
Apply watershed transformation on the marker embedded inverted distance image to obtain the segmented image.
Use gray scale reconstruction to find radius of each droplet and subsequently calculate area of each labelled droplet.
In step 3 how do I assign a high value to the background and can you help me with step 4?http://jcp.bmj.com/content/62/6/481/F6.large.jpg
I want to plot the number of fat cells in the liver versus their size. For which I wanted to use the following steps.
Apply adaptive thresholding on the gray level image.
Find distance transform on the thresholded image.
Invert the distance transform and assign a high value to the background.
Extract marker using gray scale reconstruction and assign zero value to marker.
Apply watershed transformation on the marker embedded inverted distance image to obtain the segmented image.
Use gray scale reconstruction to find radius of each droplet and subsequently calculate area of each labelled droplet.
In step 3 how do I assign a high value to the background and can you help me with step 4? http://jcp.bmj.com/content/62/6/481/F6.large.jpg
I want to plot the number of fat cells in the liver versus their size. For which I wanted to use the following steps.
Apply adaptive thresholding on the gray level image.
Find distance transform on the thresholded image.
Invert the distance transform and assign a high value to the background.
Extract marker using gray scale reconstruction and assign zero value to marker.
Apply watershed transformation on the marker embedded inverted distance image to obtain the segmented image.
Use gray scale reconstruction to find radius of each droplet and subsequently calculate area of each labelled droplet.
In step 3 how do I assign a high value to the background and can you help me with step 4? image processing MATLAB Answers — New Questions
Plotting Taylor series using python
Plot the Taylor series of exp(𝑥𝑥) for 𝑥𝑥 in [0,5], and overplot the exact curve as a dashed line for comparison. Write the program to allow for different numbers of terms, and have it set for 10 terms when you submit your program. You will need to include a function to calculate 𝑛𝑛! (written in Python, not a call to a numpy function). Compute the plots with ∆𝑥𝑥 = 0.1. You may use a numpy functions to initialise an array 𝑥𝑥𝑖𝑖, to initialise an array 𝑦𝑦𝑖𝑖 to store the Taylor series values, and an array 𝑦𝑦𝑦𝑦ℎ𝑖𝑖 to store the exact values of exp(𝑥𝑥).PPlot the Taylor series of exp(𝑥𝑥) for 𝑥𝑥 in [0,5], and overplot the exact curve as a dashed line for comparison. Write the program to allow for different numbers of terms, and have it set for 10 terms when you submit your program. You will need to include a function to calculate 𝑛𝑛! (written in Python, not a call to a numpy function). Compute the plots with ∆𝑥𝑥 = 0.1. You may use a numpy functions to initialise an array 𝑥𝑥𝑖𝑖, to initialise an array 𝑦𝑦𝑖𝑖 to store the Taylor series values, and an array 𝑦𝑦𝑦𝑦ℎ𝑖𝑖 to store the exact values of exp(𝑥𝑥).P Plot the Taylor series of exp(𝑥𝑥) for 𝑥𝑥 in [0,5], and overplot the exact curve as a dashed line for comparison. Write the program to allow for different numbers of terms, and have it set for 10 terms when you submit your program. You will need to include a function to calculate 𝑛𝑛! (written in Python, not a call to a numpy function). Compute the plots with ∆𝑥𝑥 = 0.1. You may use a numpy functions to initialise an array 𝑥𝑥𝑖𝑖, to initialise an array 𝑦𝑦𝑖𝑖 to store the Taylor series values, and an array 𝑦𝑦𝑦𝑦ℎ𝑖𝑖 to store the exact values of exp(𝑥𝑥).P import numpy MATLAB Answers — New Questions
Excel- Help transfering dropdown lists to new sheet
I have an excel estimate sheet I made for doing comstruction estimates. My idea is to make drop down lists in the estimate sheet for products needed for the job. Each line item will have a drop down list of the supplies/materials to choose from. I want to take supplies/materials that were chosen from the drop downs and add them to another sheet, supplies/materials sheet. The part I’m not sure how to do, is getting the selected items from each drop down list and putting it into another sheet, and then being able to use that sheet to show all the materials and supplies needed for the job. Any help would be greatly appreciated. Thank you.
I have an excel estimate sheet I made for doing comstruction estimates. My idea is to make drop down lists in the estimate sheet for products needed for the job. Each line item will have a drop down list of the supplies/materials to choose from. I want to take supplies/materials that were chosen from the drop downs and add them to another sheet, supplies/materials sheet. The part I’m not sure how to do, is getting the selected items from each drop down list and putting it into another sheet, and then being able to use that sheet to show all the materials and supplies needed for the job. Any help would be greatly appreciated. Thank you. Read More
April V2 end of month Title Plan out now!
The Monthly Title Plan for April V2 is attached to this post. The Title Plan can also be found in the following locations:
MPN Partner Portal Learning Resources page Resource page for Training Services Partners (Title Plan publishing takes 2-3 business days)
MCT Lounge Brand-new lounge for MCTs
New courses are coming soon!
AZ-2005: Develop AI agents using Azure OpenAI and the Semantic Kernel SDK – May 24th, 2024
SC-5008: Configure and manage entitlement with Microsoft Entra ID – June 28th, 2024
SC-5006: Get started with Microsoft Copilot for Security – July 5th, 2024
RETIRED AS OF APRIL 30TH 2024:
DP-500T00: Designing and Implementing Enterprise-Scale Analytics Solutions Using Microsoft Azure and Microsoft Power BI
Major update for AZ-400T00: Designing and Implementing Microsoft DevOps solutions:
Change Log is now available on LDC to better support deliveries ahead of 5/3 update.
MS-102T00: Microsoft 365 Administrator — Major update pushed back.
Major Update now rescheduled for May 24th, 2024
The Monthly Title Plan for April V2 is attached to this post. The Title Plan can also be found in the following locations:
MPN Partner Portal Learning Resources page Resource page for Training Services Partners (Title Plan publishing takes 2-3 business days)
MCT Lounge Brand-new lounge for MCTs
New courses are coming soon!
AZ-2005: Develop AI agents using Azure OpenAI and the Semantic Kernel SDK – May 24th, 2024
SC-5008: Configure and manage entitlement with Microsoft Entra ID – June 28th, 2024
SC-5006: Get started with Microsoft Copilot for Security – July 5th, 2024
RETIRED AS OF APRIL 30TH 2024:DP-500T00: Designing and Implementing Enterprise-Scale Analytics Solutions Using Microsoft Azure and Microsoft Power BI
Major update for AZ-400T00: Designing and Implementing Microsoft DevOps solutions:Change Log is now available on LDC to better support deliveries ahead of 5/3 update.
MS-102T00: Microsoft 365 Administrator — Major update pushed back.Major Update now rescheduled for May 24th, 2024
Read More
Let’s Fix QuickBooks Express Web Connect error- By Expert
The QuickBooks Express Web Connect error occurs when users experience problems connecting their financial institution accounts to QuickBooks using the Express Web Connect feature. This error can manifest as a connection problem or an inability to download a transaction from your bank or bank.
Reasons Behind QuickBooks Express Web Connect Error:
1.Temporary Server Issues:
Sometimes, the error may occur due to temporary server issues on either QuickBooks or your financial institution’s end, disrupting the connection process.
2.Incorrect Credentials:
Entering incorrect login credentials for your financial institution account in QuickBooks can lead to authentication failures, resulting in the Express Web Connect Error.
3.Unsupported Account Type:
Certain account types, such as savings or investment accounts, may not be compatible with the Express Web Connect feature, leading to connectivity issues.
4.Outdated QuickBooks Version:
Running an outdated version of QuickBooks software may cause compatibility issues with the Express Web Connect feature, resulting in errors during data synchronization.
Solutions to Resolve QuickBooks Express Web Connect Error:
1.Verify Credentials and Account Type:
Double-check the login credentials for your financial institution account in QuickBooks, ensuring they are accurate. Additionally, confirm with your financial institution if your account type supports Express Web Connect.
2.Update QuickBooks Software:
Ensure your QuickBooks software is up-to-date by navigating to the “Help” menu and selecting “Update QuickBooks Desktop.” Download and install any available updates to resolve.
3.Retry Connection and Refresh Data:
Attempt to reconnect your financial institution account using the Express Web Connect feature in QuickBooks. After reconnecting, refresh the account to retrieve the latest transactions.
4.Contact QuickBooks Support:
If the issue persists, don’t hesitate to reach out to QuickBooks customer support for personalized assistance. Their experts can guide you through advanced troubleshooting steps tailored to your specific scenario.
Conclusion
While QuickBooks Express Web Connect Error can be challenging, understanding its causes and implementing effective solutions ensures a smooth financial process. By managing credentials, updating software, and accessing support when needed, users can overcome obstacles and customize their QuickBooks experience with confidence and ease.
The QuickBooks Express Web Connect error occurs when users experience problems connecting their financial institution accounts to QuickBooks using the Express Web Connect feature. This error can manifest as a connection problem or an inability to download a transaction from your bank or bank. Reasons Behind QuickBooks Express Web Connect Error: 1.Temporary Server Issues: Sometimes, the error may occur due to temporary server issues on either QuickBooks or your financial institution’s end, disrupting the connection process. 2.Incorrect Credentials: Entering incorrect login credentials for your financial institution account in QuickBooks can lead to authentication failures, resulting in the Express Web Connect Error. 3.Unsupported Account Type: Certain account types, such as savings or investment accounts, may not be compatible with the Express Web Connect feature, leading to connectivity issues. 4.Outdated QuickBooks Version:Running an outdated version of QuickBooks software may cause compatibility issues with the Express Web Connect feature, resulting in errors during data synchronization. Solutions to Resolve QuickBooks Express Web Connect Error: 1.Verify Credentials and Account Type:Double-check the login credentials for your financial institution account in QuickBooks, ensuring they are accurate. Additionally, confirm with your financial institution if your account type supports Express Web Connect. 2.Update QuickBooks Software:Ensure your QuickBooks software is up-to-date by navigating to the “Help” menu and selecting “Update QuickBooks Desktop.” Download and install any available updates to resolve. 3.Retry Connection and Refresh Data: Attempt to reconnect your financial institution account using the Express Web Connect feature in QuickBooks. After reconnecting, refresh the account to retrieve the latest transactions. 4.Contact QuickBooks Support:If the issue persists, don’t hesitate to reach out to QuickBooks customer support for personalized assistance. Their experts can guide you through advanced troubleshooting steps tailored to your specific scenario. Conclusion While QuickBooks Express Web Connect Error can be challenging, understanding its causes and implementing effective solutions ensures a smooth financial process. By managing credentials, updating software, and accessing support when needed, users can overcome obstacles and customize their QuickBooks experience with confidence and ease. Read More
NEW ILT 1-Day Course Coming June 28th!
Release Date: June 28th, 2024
(Release dates are subject to change)
SC-5008: Configure and manage
entitlement with Microsoft Entra ID
Course Description:
1-Day ILT
No Credential
This intensive one-day course offers a deep dive into Microsoft Entra Entitlement Management, Access Reviews, Privileged Access, and Monitoring. Participants will learn how to streamline access management with Entitlement Management, conducted thorough Access Reviews to maintain least privilege, manage high-risk Privileged Access, and implement robust Monitoring strategies to detect and respond to security events promptly.
Labs are integrated throughout the course to provide hands-on experience with the tools and techniques covered. By the end of the training, attendees will be equipped with the best practices and actionable insights to enhance their organization’s security posture.
Audience:
This course is targeted at people who want to implement an end-to-end entitlement management solution based on the principles of Zero Trust. Students should have experience with Azure and experience in the creation of identities and granting those identities access to resources.
Release Date: June 28th, 2024
(Release dates are subject to change)
SC-5008: Configure and manage
entitlement with Microsoft Entra ID
Course Description:
1-Day ILT
No Credential
This intensive one-day course offers a deep dive into Microsoft Entra Entitlement Management, Access Reviews, Privileged Access, and Monitoring. Participants will learn how to streamline access management with Entitlement Management, conducted thorough Access Reviews to maintain least privilege, manage high-risk Privileged Access, and implement robust Monitoring strategies to detect and respond to security events promptly.
Labs are integrated throughout the course to provide hands-on experience with the tools and techniques covered. By the end of the training, attendees will be equipped with the best practices and actionable insights to enhance their organization’s security posture.
Audience:
This course is targeted at people who want to implement an end-to-end entitlement management solution based on the principles of Zero Trust. Students should have experience with Azure and experience in the creation of identities and granting those identities access to resources.
Read More
Using Trial ‘Hyper-V Server 2019’
There is information on the Hyper-V Server 2019 homepage suggesting that it can be used for free, and VM companies are supplying this product for free.
However, we understand that this product requires purchasing a valid Windows Server license to use it legally. We would like to confirm with Microsoft whether this product can be officially used by businesses and institutions without issues.
https://www.microsoft.com/ko-kr/evalcenter/evaluate-hyper-v-server-2019
There is information on the Hyper-V Server 2019 homepage suggesting that it can be used for free, and VM companies are supplying this product for free.However, we understand that this product requires purchasing a valid Windows Server license to use it legally. We would like to confirm with Microsoft whether this product can be officially used by businesses and institutions without issues.https://www.microsoft.com/ko-kr/evalcenter/evaluate-hyper-v-server-2019 Read More
NEW ILT Applied Skills course coming May 24th!
Release Date: May 24th, 2024
(Release dates are subject to change)
AZ-2005: Develop AI agents using
Azure OpenAI and the Semantic Kernel SDK
Course Description:
1-Day ILT
Credential: Applied Skills Assessment
This course teaches C# developers how to use the Semantic Kernel SDK to connect their applications to Large Language Models. Students will learn the core functions of the SDK and will develop features that use the LLM’s natural language processing ability.
Audience:
Students in this course are familiar with C# development and interested in integrating applications with AI.
Release Date: May 24th, 2024
(Release dates are subject to change)
AZ-2005: Develop AI agents using
Azure OpenAI and the Semantic Kernel SDK
Course Description:
1-Day ILT
Credential: Applied Skills Assessment
This course teaches C# developers how to use the Semantic Kernel SDK to connect their applications to Large Language Models. Students will learn the core functions of the SDK and will develop features that use the LLM’s natural language processing ability.
Audience:
Students in this course are familiar with C# development and interested in integrating applications with AI.
NEW ILT Copilot course coming July 5th!
Release Date: July 5th, 2024
(Release dates are subject to change)
SC-5006: Get started with
Microsoft Copilot for Security
Course Description:
1-Day ILT
No Credential
The Learning Path, “Get stated with Microsoft Copilot for Security.” is currently available on MS Learn for self-paced Learners.
This July, we will release the ILT delivery for this course. The ILT release will include lab-like exercises that will give Learners the opportunity to FIRST experience the capabilities of the product through a simulated demo environment. Stay tuned!
Self-paced Learning Path can be found here:
Get started with Microsoft Copilot for Security – Training | Microsoft Learn
Release Date: July 5th, 2024
(Release dates are subject to change)
SC-5006: Get started with
Microsoft Copilot for Security
Course Description:
1-Day ILT
No Credential
The Learning Path, “Get stated with Microsoft Copilot for Security.” is currently available on MS Learn for self-paced Learners.
This July, we will release the ILT delivery for this course. The ILT release will include lab-like exercises that will give Learners the opportunity to FIRST experience the capabilities of the product through a simulated demo environment. Stay tuned!
Self-paced Learning Path can be found here:
Get started with Microsoft Copilot for Security – Training | Microsoft Learn Read More
Azure Functions Newsletter – May 2024
Welcome to the May 2024 edition of Azure Functions newsletter! We’ll share the latest news for Azure Functions here on the Apps on Azure blog.
Azure Functions monthly community live stream
Join us for our upcoming live stream on May 02, 2024, at 9:30 AM PST (16:30 UTC). Tune in to hear from Madhura Bharadwaj, Ramya Oruganti, and Thiago Almeida as they discuss the latest releases in Azure Functions, provide insights into HTTP streams support for Node.js, and Functions on Azure Container Apps. Mark your calendars for this informative session!
Subscribe to the Azure Developers YouTube channel!
Product News
Following is the list of new Azure Functions features released since February 2024:
AREAS
Since February 2024
Retirements
Support for .NET 6 ends on 12 November 2024
Support for .NET 7 ends on 14 May 2024
Support for the in-process model for .NET apps in Azure Functions ends 10 November 2026
Update to Azure Functions Service Bus extension v5.x by 31 March 2025 for continued support
Triggers and Bindings
GA: Azure SQL Trigger support for Azure Functions
Languages
Public Preview: PowerShell 7.4 support for Azure Functions
GA: Azure Functions Support for Node.js 20
Public Preview: Azure Functions Support for HTTP Streams in Node.js
Get notified when we publish future newsletters, subscribe to the Apps on Azure blog. Connect with the Azure Functions team on GitHub and Twitter.
Microsoft Tech Community – Latest Blogs –Read More