Month: June 2024
Linear Neural Network add another linear layer
I have written a program for training a linear neural network for classification. Both the input and the output are 3 row vectors and I need a each node to have a linear transfer function. I have used the linearlayer type as you can see in the code below;
function trainLNN(P, T)
%P = [1.7300 1.9500 2.3800; 1.4400 5.0000 4.7500; 3.4000 3.2000 3.3000];
%T = [ 0 1 0; 1 0 0; 0 0 1];
net = linearlayer;
net.trainParam.epochs = 1000;
net.trainParam.goal = 0.1;
net.trainParam.lr = 0.001;
net.trainParam.lr = maxlinlr(P,’bias’);
net = train(net,P, T);
What I get is a neural network with just an input and an output layer (see the photo below).
How can I extend that to add a hidden layer between the input and the output layers to have a network like the one in the photo with all nodes having a linear transfer function? I have tried net = linearlayer(P,T, 3, {‘purelin’, ‘purelin’}); but I get an error ("Too many parameter arguments");I have written a program for training a linear neural network for classification. Both the input and the output are 3 row vectors and I need a each node to have a linear transfer function. I have used the linearlayer type as you can see in the code below;
function trainLNN(P, T)
%P = [1.7300 1.9500 2.3800; 1.4400 5.0000 4.7500; 3.4000 3.2000 3.3000];
%T = [ 0 1 0; 1 0 0; 0 0 1];
net = linearlayer;
net.trainParam.epochs = 1000;
net.trainParam.goal = 0.1;
net.trainParam.lr = 0.001;
net.trainParam.lr = maxlinlr(P,’bias’);
net = train(net,P, T);
What I get is a neural network with just an input and an output layer (see the photo below).
How can I extend that to add a hidden layer between the input and the output layers to have a network like the one in the photo with all nodes having a linear transfer function? I have tried net = linearlayer(P,T, 3, {‘purelin’, ‘purelin’}); but I get an error ("Too many parameter arguments"); I have written a program for training a linear neural network for classification. Both the input and the output are 3 row vectors and I need a each node to have a linear transfer function. I have used the linearlayer type as you can see in the code below;
function trainLNN(P, T)
%P = [1.7300 1.9500 2.3800; 1.4400 5.0000 4.7500; 3.4000 3.2000 3.3000];
%T = [ 0 1 0; 1 0 0; 0 0 1];
net = linearlayer;
net.trainParam.epochs = 1000;
net.trainParam.goal = 0.1;
net.trainParam.lr = 0.001;
net.trainParam.lr = maxlinlr(P,’bias’);
net = train(net,P, T);
What I get is a neural network with just an input and an output layer (see the photo below).
How can I extend that to add a hidden layer between the input and the output layers to have a network like the one in the photo with all nodes having a linear transfer function? I have tried net = linearlayer(P,T, 3, {‘purelin’, ‘purelin’}); but I get an error ("Too many parameter arguments"); linear neural network, matlab, linearlayer MATLAB Answers — New Questions
Localization of App
Hi,
I tried to update the manifest.json file to support localization.
{
“$schema”: “https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json”,
“manifestVersion”: “1.16”,
“version”: “1.0.0”,
“id”: “3fb32313-adb1-4a04-8c35-f3ad7c0f0188”,
“packageName”: “com.microsoft.teams.extension”,
“localizationInfo”: {
“defaultLanguageTag”: “fr-ca”,
“additionalLanguages”: [
{
“languageTag”: “fr-ca”,
“file”: “fr-ca.json”
}
]
},
“developer”: {
“name”: “Teams App, Inc.”,
“websiteUrl”: “https://localhost:53000”,
“privacyUrl”: “https://localhost:53000/index.html#/privacy”,
“termsOfUseUrl”: “https://localhost:53000/index.html#/termsofuse”
},
“icons”: {
“color”: “color.png”,
“outline”: “outline.png”
},
“name”: {
“short”: “Localization”,
“full”: “Localization App”
},
“description”: {
“short”: “Localization App for Microsoft Teams”,
“full”: “This sample app provides a very simple localization app. You can extend this to add more content and capabilities.”
},
“accentColor”: “#FFFFFF”,
“bots”: [],
“composeExtensions”: [],
“configurableTabs”: [],
“staticTabs”: [
{
“entityId”: “index”,
“name”: “Personal Tab”,
“contentUrl”: “https://localhost:53000/index.html#/tab”,
“websiteUrl”: “https://localhost:53000/index.html#/tab”,
“scopes”: [
“personal”
]
}
],
“permissions”: [
“identity”,
“messageTeamMembers”
],
“validDomains”: [
“localhost:53000”
],
“webApplicationInfo”: {
“id”: “254c5630-0ff0-4ec5-a7e8-824f0762f7e6”,
“resource”: “api://localhost:53000/254c5630-0ff0-4ec5-a7e8-824f0762f7e6”
}
}
But when I am adding the app to the teams, the initial window content is not showing the default language set. As in this case I set fr-ca as a default language. NOTE: I am running this app locally
Hi,I tried to update the manifest.json file to support localization. {
“$schema”: “https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json”,
“manifestVersion”: “1.16”,
“version”: “1.0.0”,
“id”: “3fb32313-adb1-4a04-8c35-f3ad7c0f0188”,
“packageName”: “com.microsoft.teams.extension”,
“localizationInfo”: {
“defaultLanguageTag”: “fr-ca”,
“additionalLanguages”: [
{
“languageTag”: “fr-ca”,
“file”: “fr-ca.json”
}
]
},
“developer”: {
“name”: “Teams App, Inc.”,
“websiteUrl”: “https://localhost:53000”,
“privacyUrl”: “https://localhost:53000/index.html#/privacy”,
“termsOfUseUrl”: “https://localhost:53000/index.html#/termsofuse”
},
“icons”: {
“color”: “color.png”,
“outline”: “outline.png”
},
“name”: {
“short”: “Localization”,
“full”: “Localization App”
},
“description”: {
“short”: “Localization App for Microsoft Teams”,
“full”: “This sample app provides a very simple localization app. You can extend this to add more content and capabilities.”
},
“accentColor”: “#FFFFFF”,
“bots”: [],
“composeExtensions”: [],
“configurableTabs”: [],
“staticTabs”: [
{
“entityId”: “index”,
“name”: “Personal Tab”,
“contentUrl”: “https://localhost:53000/index.html#/tab”,
“websiteUrl”: “https://localhost:53000/index.html#/tab”,
“scopes”: [
“personal”
]
}
],
“permissions”: [
“identity”,
“messageTeamMembers”
],
“validDomains”: [
“localhost:53000”
],
“webApplicationInfo”: {
“id”: “254c5630-0ff0-4ec5-a7e8-824f0762f7e6”,
“resource”: “api://localhost:53000/254c5630-0ff0-4ec5-a7e8-824f0762f7e6”
}
} But when I am adding the app to the teams, the initial window content is not showing the default language set. As in this case I set fr-ca as a default language. NOTE: I am running this app locally Read More
Health check / windows 11 test
Hopefully an easy one, I just tried running the health check to see if our pcs will run windows 11, but when i try because we are on a domain it wont run the windows 11 check, as the pcs are managed, but i am the domain admin logged on as my account, Its acting like i want to install windows 11 rather than just see if our hardware will run windows 11 (which i doubt) Is there bit of software that will just run and test for compatibility, or a way to force the health check to test for me, with out i thinking i actually want to go to windows 11?
Hopefully an easy one, I just tried running the health check to see if our pcs will run windows 11, but when i try because we are on a domain it wont run the windows 11 check, as the pcs are managed, but i am the domain admin logged on as my account, Its acting like i want to install windows 11 rather than just see if our hardware will run windows 11 (which i doubt) Is there bit of software that will just run and test for compatibility, or a way to force the health check to test for me, with out i thinking i actually want to go to windows 11? Read More
Filter Corrupting Print Page Form
Hello,
I created this list for our order list. (Picture #1)
I enter the order of the clients and I want to filter out the empty lines.
When I filter out empty lines I try to print it and it divides the pages bad.
How can I fix it so there is no gap between the lines when I print it ?
Thanks.
Hello, I created this list for our order list. (Picture #1) I enter the order of the clients and I want to filter out the empty lines.When I filter out empty lines I try to print it and it divides the pages bad. How can I fix it so there is no gap between the lines when I print it ? Thanks. Read More
Copilot not working for one on one calls
We have copilot enabled on our tenant with Transcription set to on and Copilot set to On only with retained content.
We cannot turn copilot on in 1:1 direct calls with an error stating:
‘Copilot isn’t available. Transcription is disabled for your org. To do its thing, Copilot needs the transcript’.
Is this actually a bug or is it just not supported for 1:1 calls, hard to get clarity,
We have copilot enabled on our tenant with Transcription set to on and Copilot set to On only with retained content. We cannot turn copilot on in 1:1 direct calls with an error stating:’Copilot isn’t available. Transcription is disabled for your org. To do its thing, Copilot needs the transcript’. Is this actually a bug or is it just not supported for 1:1 calls, hard to get clarity, Read More
UrlsAccessibleCheck for most of our AVD HealthCheckFailed
Hi Team most of our AVD are recieving the below errror. We are facing this issue from yesterday. We tried restarting the avd with no luck. Seems like RD Agent is getting stuck due to which the health is failing. Any suggestion or workaround would be helpful.{ “healthCheckName”: “UrlsAccessibleCheck”, “healthCheckResult”: “HealthCheckFailed”, “additionalFailureDetails”: { “message”: “{“AccessibleUrls”:null,”NotAccessibleUrls”:null,”Context”:”No information URLs accessibility: healthcheck was cancelled.”}”, “errorCode”: 1223, “lastHealthCheckDateTime”: “2024-06-10T14:28:45.5028866Z” } Read More
Sharepoint columns
Hello everyone I’m working on some ideas about automation in SharePoint and I need help or any suggestions for it. In the first picture, we can extract the time of taking these images when we uploaded them and it appears in the column, Is there any method to do the same thing for GPS and make(longitude and latitude) appear also? even if we need to do some flow in power automate and thanks to all of you.12
Hello everyone I’m working on some ideas about automation in SharePoint and I need help or any suggestions for it. In the first picture, we can extract the time of taking these images when we uploaded them and it appears in the column, Is there any method to do the same thing for GPS and make(longitude and latitude) appear also? even if we need to do some flow in power automate and thanks to all of you.12 Read More
MATLAB getMATFilesFromPixhawk Function Fails to Retrieve SD Card Data from Pixhawk PID Controller Simulation
I have been working on a PID controller for Pixhawk and encountered an issue when trying to retrieve MAT files from the SD card after optimizing and building the model in Simulink. Initially, I successfully logged signals to the SD card using the example px4-log and following the documentation. However, when applying the same steps to my PID controller project, I encountered an error when attempting to extract the MAT files using the getMATFilesFromPixhawk function. Despite running MATLAB as an administrator to avoid permission problems, the issue persists. I have tried various solutions without success. Do you have any ideas on how to resolve this?I have been working on a PID controller for Pixhawk and encountered an issue when trying to retrieve MAT files from the SD card after optimizing and building the model in Simulink. Initially, I successfully logged signals to the SD card using the example px4-log and following the documentation. However, when applying the same steps to my PID controller project, I encountered an error when attempting to extract the MAT files using the getMATFilesFromPixhawk function. Despite running MATLAB as an administrator to avoid permission problems, the issue persists. I have tried various solutions without success. Do you have any ideas on how to resolve this? I have been working on a PID controller for Pixhawk and encountered an issue when trying to retrieve MAT files from the SD card after optimizing and building the model in Simulink. Initially, I successfully logged signals to the SD card using the example px4-log and following the documentation. However, when applying the same steps to my PID controller project, I encountered an error when attempting to extract the MAT files using the getMATFilesFromPixhawk function. Despite running MATLAB as an administrator to avoid permission problems, the issue persists. I have tried various solutions without success. Do you have any ideas on how to resolve this? getmatfilesfrompixhawk, simulink, pixhawk, matlab function, simulation, export MATLAB Answers — New Questions
How to correct the recording of a daamaged accelerometer in earthquake analysis
Hello everyone,
I have the recording of two accelerometers but it turned out that one of them did not work properly and the recording is messed up (See photo, The two recordings should be the same). However I think if processed well I can recover the lost acclerogram. Does anyone have an idea how I can proceed. I have attached the recordings.
Thank you in advanceHello everyone,
I have the recording of two accelerometers but it turned out that one of them did not work properly and the recording is messed up (See photo, The two recordings should be the same). However I think if processed well I can recover the lost acclerogram. Does anyone have an idea how I can proceed. I have attached the recordings.
Thank you in advance Hello everyone,
I have the recording of two accelerometers but it turned out that one of them did not work properly and the recording is messed up (See photo, The two recordings should be the same). However I think if processed well I can recover the lost acclerogram. Does anyone have an idea how I can proceed. I have attached the recordings.
Thank you in advance accelerogram, earthquake, dynamic, engineering MATLAB Answers — New Questions
“library initialization failed – unable to allocate file descriptor table – out of memory MATLAB is exiting because of fatal error”
Hi!
I’m a Linux user and today I started receiving the following error message when launching MATLAB:
MATLAB is selecting SOFTWARE OPENGL rendering.
library initialization failed – unable to allocate file descriptor table – out of memory
MATLAB is exiting because of fatal error
[1] 10520 killed matlab
It was working correctly until now, not sure it could have something to do with a software update. However, if I execute matlab with the -nojvm flag it opens the console properly.
I’m using MATLAB R2023a in Debian trixie kernel version 6.7.12.
Thanks for your help!Hi!
I’m a Linux user and today I started receiving the following error message when launching MATLAB:
MATLAB is selecting SOFTWARE OPENGL rendering.
library initialization failed – unable to allocate file descriptor table – out of memory
MATLAB is exiting because of fatal error
[1] 10520 killed matlab
It was working correctly until now, not sure it could have something to do with a software update. However, if I execute matlab with the -nojvm flag it opens the console properly.
I’m using MATLAB R2023a in Debian trixie kernel version 6.7.12.
Thanks for your help! Hi!
I’m a Linux user and today I started receiving the following error message when launching MATLAB:
MATLAB is selecting SOFTWARE OPENGL rendering.
library initialization failed – unable to allocate file descriptor table – out of memory
MATLAB is exiting because of fatal error
[1] 10520 killed matlab
It was working correctly until now, not sure it could have something to do with a software update. However, if I execute matlab with the -nojvm flag it opens the console properly.
I’m using MATLAB R2023a in Debian trixie kernel version 6.7.12.
Thanks for your help! error, launch MATLAB Answers — New Questions
Data Extraction from SimBiology Simulations
What is the BEST way to get the simulation data out of simbiology and into excel or some other program?
I have found a brief explanation on how to export to Matlab area and then convert to XLS but its not working terrible wellWhat is the BEST way to get the simulation data out of simbiology and into excel or some other program?
I have found a brief explanation on how to export to Matlab area and then convert to XLS but its not working terrible well What is the BEST way to get the simulation data out of simbiology and into excel or some other program?
I have found a brief explanation on how to export to Matlab area and then convert to XLS but its not working terrible well simbiology, simulation MATLAB Answers — New Questions
Issues with labs for AZ-400
Hi, there are significant problems with the labs for AZ-400, as discussed here: The subscription is not allowed to create or update the serverfarm – Microsoft Community Hub
This forced us to cancel the last day of a class two weeks ago.
@Mindy_Rosenthal, do you have a timeline as to when this will be resolved?
Kind regards,
Ulf Dalgaard
Hi, there are significant problems with the labs for AZ-400, as discussed here: The subscription is not allowed to create or update the serverfarm – Microsoft Community HubThis forced us to cancel the last day of a class two weeks ago. @Mindy_Rosenthal, do you have a timeline as to when this will be resolved? Kind regards,Ulf Dalgaard Read More
Starting a PA Flow from a script
I’m following:
Using site designs and Power Automate to track site creation requests | Microsoft Learn
to the letter. And it’s not triggering the flow.
#Define the parameters for the branding:
$themeName = “SiteTemplateBrandingvJustFlowv5”
#Changed @’ from @” below – check if still works.
$site_script = @’
{
“$schema”: “schema.json”,
“actions”: [
{
“verb”: “triggerFlow”,
“url”: “https://prod-105.westeurope.logic.azure.com:443/workflows/a8609dd2abb14c5gac1183be13ef0099/triggers/manual/paths/invoke?api-version=2016-06-01”,
“name”: “Record site creation event”,
“parameters”: {
“event”: “site creation”,
“product”: “SharePoint Online”
}
}
],
“bindata”: { },
“version”: 1
}
‘@
Connect-SPOService -Url “https://mydomain-admin.sharepoint.com” -Credential $credentials
$addSiteScript = Add-SPOSiteScript -Title $themeName -Content $site_script -Description “Communication site which removes data export for modern experience and adds branding.”
Write-Host $addSiteScript.Id
Add-SPOSiteDesign -Title $themeName -WebTemplate “68” -SiteScripts $addSiteScript.Id -Description “”
#ADD CREATE LIST ITEM IN O365 TEAM HUB LIST HERE
The flow is just not triggering as mentioned, can anyone see something wrong above. I’ve used 2 different accounts to create the flow.
I’m following:Using site designs and Power Automate to track site creation requests | Microsoft Learnto the letter. And it’s not triggering the flow. #Define the parameters for the branding:
$themeName = “SiteTemplateBrandingvJustFlowv5”
#Changed @’ from @” below – check if still works.
$site_script = @’
{
“$schema”: “schema.json”,
“actions”: [
{
“verb”: “triggerFlow”,
“url”: “https://prod-105.westeurope.logic.azure.com:443/workflows/a8609dd2abb14c5gac1183be13ef0099/triggers/manual/paths/invoke?api-version=2016-06-01”,
“name”: “Record site creation event”,
“parameters”: {
“event”: “site creation”,
“product”: “SharePoint Online”
}
}
],
“bindata”: { },
“version”: 1
}
‘@
Connect-SPOService -Url “https://mydomain-admin.sharepoint.com” -Credential $credentials
$addSiteScript = Add-SPOSiteScript -Title $themeName -Content $site_script -Description “Communication site which removes data export for modern experience and adds branding.”
Write-Host $addSiteScript.Id
Add-SPOSiteDesign -Title $themeName -WebTemplate “68” -SiteScripts $addSiteScript.Id -Description “”
#ADD CREATE LIST ITEM IN O365 TEAM HUB LIST HEREThe flow is just not triggering as mentioned, can anyone see something wrong above. I’ve used 2 different accounts to create the flow. Read More
Can I download Facebook video to my computer Windows 11?
I’m in a bit of a bind and hoping for some expert advice. I need to download videos from Facebook onto my Windows 11 PC for work-related projects. These videos often contain tutorials and demonstrations that are essential for my ongoing professional development and reference. Unfortunately, my attempts so far haven’t yielded any successful results using the methods I’ve found online. Security and maintaining the original quality of the videos are my top priorities. Could anyone recommend a reliable and safe method or software that works well with Windows 11? Your suggestions will be invaluable to my workflow. Thank you!
I’m in a bit of a bind and hoping for some expert advice. I need to download videos from Facebook onto my Windows 11 PC for work-related projects. These videos often contain tutorials and demonstrations that are essential for my ongoing professional development and reference. Unfortunately, my attempts so far haven’t yielded any successful results using the methods I’ve found online. Security and maintaining the original quality of the videos are my top priorities. Could anyone recommend a reliable and safe method or software that works well with Windows 11? Your suggestions will be invaluable to my workflow. Thank you! Read More
Prevent enabling lock screen camera not work
Hi,
I’m using win11,
In the group policy, there is a setting Prevent enabling lock screen camera.
From the wording, it will block the camera when I lock the screen.
but when I enabled this setting and locked screen, I can still call the camera by using script.
eg.
import cv2
cap = cv2.VideoCapture(0)
Could you help to advice how this “Prevent enabling lock screen camera” setting work, and how can I check it’s really effect after enabled.
thanks.
Hi, I’m using win11, In the group policy, there is a setting Prevent enabling lock screen camera. From the wording, it will block the camera when I lock the screen. but when I enabled this setting and locked screen, I can still call the camera by using script. eg. import cv2
cap = cv2.VideoCapture(0) Could you help to advice how this “Prevent enabling lock screen camera” setting work, and how can I check it’s really effect after enabled. thanks. Read More
How to remove the banner section from the ViVa Connections page.
Hello, Is it possible to remove the banner section on the ViVa Connections page as highlighted in the below image? So, the user can view only the dashboard sections.
Expected:
Hello, Is it possible to remove the banner section on the ViVa Connections page as highlighted in the below image? So, the user can view only the dashboard sections. Expected: Read More
Windows doesn’t let me uninstall Microsoft Edge
Currently I’m on Windows 11 Insider preview and I cannot uninstall Microsoft Edge. The uninstall button is greyed out and says “this app cannot be uninstalled because of the policy set by your organization”. I live in Greece.
Currently I’m on Windows 11 Insider preview and I cannot uninstall Microsoft Edge. The uninstall button is greyed out and says “this app cannot be uninstalled because of the policy set by your organization”. I live in Greece. Read More
How to budget your Azure cloud spend with Microsoft Cost Management
Introduction
If you are using Azure for your cloud applications, you might be wondering how to manage your costs effectively. You might have heard of Microsoft Cost Management, a service that helps you monitor, analyze, and optimize your cloud spending[1]. But did you know that Microsoft Cost Management also offers a powerful feature called Budgets?
Budgets are a way to set spending limits and track your costs against them. They help you avoid surprises in your bill, align your spending with your business goals, and empower your teams to make informed decisions[2]. In this article, you will learn the benefits of having a budget in Microsoft Cost Management, and how to set up and manage your budgets effectively.
We will also show you the three simple steps for budgeting in Azure, and who is responsible for what. These steps are based on the FinOps framework, a set of best practices for managing cloud costs. The FinOps framework consists of three phases: inform, optimize, and operate[3]. We will show you how budgets can help you in each of these phases, and how to connect them with other Microsoft Cost Management features and tools.
Figure 1 Navigating the FinOps Journey: Inform, Optimize, Operate. Retrieved from finops.org
By the end of this article, you will have a clear understanding of why you need a budget in Microsoft Cost Management, and how to use it to get the most out of your cloud investment.
What is a Budget in Microsoft Cost Management?
A budget is a way to set a spending limit for a specific scope and time period in Azure. You can create a budget for your entire billing account, or for a subset of your resources, such as a subscription, a resource group, or a tag. You can also create multiple budgets for different scopes and time periods, depending on your needs.
A budget allows you to track your actual and forecasted costs against your spending limit and get alerts when you reach certain thresholds. You can also configure action groups to trigger automated actions, such as sending emails, calling webhooks, or executing Azure functions, when your budget thresholds are met.
A budget is not a hard limit that prevents you from spending more than the amount that you set. It is a mechanism to provide you with visibility and insights into your spending patterns, and to help you proactively take action before it is too late.
Here are some key features of budgets in Microsoft Cost Management:
You can create budgets for any scope and time period, such as billing account, subscription, resource group, or tag.
You can create multiple budgets for different scopes and time periods, and track them separately or together.
You can use the suggested amount feature to get a recommended budget based on your usage patterns and historical data.
You can set up alerts for actual costs, forecasted costs, percentage of budget, or amount.
You can configure action groups to trigger automated actions, such as sending emails, calling webhooks, or executing Azure functions, when your budget thresholds are met.
You can monitor and analyze your budget usage and performance using Microsoft Cost Management and Cost Analysis.
You can update or delete your budget at any time, depending on your changing needs and circumstances (as long as you have the correct rights/permissions to do so).
Why do you need a budget in Microsoft Cost Management?
Having a budget in Microsoft Cost Management can help you in many ways, such as:
Aligning your spending with your business goals and objectives. You can use a budget to set a realistic and achievable target for your cloud spending, and to measure your progress and performance against it. You can also use a budget to communicate your expectations and constraints to your stakeholders, such as your product owners, engineering teams, finance teams, and leadership teams.
Gaining insights and visibility into your cloud costs. You can use a budget to monitor your actual and forecasted costs, and to compare them with your spending limit. You can also use a budget to drill down into your costs by different dimensions, such as service, resource, location, or tag. If your budget alert is triggered, you can investigate further to see if it was due to a usage or cost spike, anomaly or trend, and identify the root cause and potential solutions. Budget thresholds can give you an indication of your spend rate, that is how much time it takes for your resources to reach 50% (or more) of your predicted budget.
Optimizing your cloud costs and maximizing your return on investment. You can use a budget to identify areas for cost savings or efficiency improvements, such as right-sizing your resources, purchasing reservations or savings plans, or redesigning your application architecture. You can also use a budget to evaluate the impact of your optimization actions, and to validate your assumptions and hypotheses.
Operating efficiently and proactively in the cloud. You can use a budget to set up alerts and notifications when you reach certain thresholds of your spending limit, and to trigger automated actions, such as sending emails, calling webhooks, or executing Azure functions. The extensibility of these notifications can help you bring visibility of your cloud spend into other systems that your organization may use, including Microsoft Teams, email, or helpdesk ticketing systems (ITSM). You can also use a budget to define internal processes and workflows for handling budget overages, such as requesting additional funding, escalating issues, or taking corrective actions like shutting down test or development virtual machines.
Here are some benefits of budgets in Microsoft Cost Management:
Avoid surprises in your bill and stay within your budget.
Align your spending with your business goals and objectives.
Gain insights and visibility into your cloud costs.
Optimize your cloud costs and maximize your return on investment.
Operate efficiently and proactively in the cloud.
How to set up and manage your budgets in Microsoft Cost Management?
Setting up and managing your budgets in Microsoft Cost Management involves several steps, such as:
Defining the initial budget estimate
Creating the budget
Configuring the budget alerts and action groups
Monitoring and managing the budget usage and performance
Fine-tuning and adjusting the budget as needed
We will explain each of these steps in detail, and show you how to use the three simple steps for budgeting in Azure, and who is responsible for what.
Defining the initial budget estimate
Embarking on the journey of defining the initial budget estimate requires a clear delineation of roles and responsibilities. To facilitate this, we introduce the RACI model—a cornerstone of project management that delineates the involvement of project participants. RACI, an acronym for Responsible, Accountable, Consulted, and Informed, serves as a guide to define the involvement and communication flow within project tasks.
Responsible individuals are those who do the work to achieve the task. They have a hands-on role in getting the job done.
Accountable is the person or stakeholder who is the ‘owner’ of the work. They must sign off or approve when the task, deliverable, or milestone is complete.
Consulted are those whose opinions are sought; they are typically subject matter experts, with their input having a significant influence over the outcome.
Informed are those who are kept up-to-date on progress, often only on completion of the task or deliverable; they need to be aware of outcomes but are not directly involved in the work.
Integrating the RACI model is pivotal for its ability to bring clarity and structure to project management. It ensures that each participant is aware of their specific roles and responsibilities, thereby preventing any confusion or overlap in duties. By applying the RACI model to our budgeting process, we aim to foster a well-organized and transparent approach, setting a solid foundation for the project’s success.
Defining the initial budget estimate involves understanding the scope of your product, estimating the resources needed, and translating them into financial terms. You can use Azure pricing calculator, Azure TCO calculator, or Azure Advisor to help you with this step.
Here are some tips for defining the initial budget estimate:
Understand your product requirements and operational needs, such as performance, availability, scalability, security, and compliance.
Estimate the resources needed to support your product, such as compute, storage, network, database, and other services.
Translate the resources into financial terms, such as cost per hour, cost per month, or cost per year.
Consider the factors that may affect your costs, such as usage patterns, demand fluctuations, region differences, or currency changes.
Add a buffer or contingency to account for unexpected costs or changes.
Responsible: The Product Owner is responsible for defining the initial budget estimate based on the product requirements and operational needs. This involves understanding the scope of the product, estimating the resources needed, and translating these into financial terms.
Accountable: Finance is accountable for providing guidance during the budget setup process. They ensure that the budget aligns with the organization’s financial goals and complies with any financial regulations or constraints.
Consulted: The Engineering and Procurement teams are consulted during the budget setup process. They provide input on the operational needs and goals, helping to ensure that the budget is realistic and achievable.
Informed: All members of the organization, including Leadership and Finance, are informed about the budget. This promotes a culture of financial accountability and ensures everyone understands the financial constraints and goals.
Please note that the responsibilities and roles outlined in this document according to the RACI matrix are general recommendations and may vary within your organization. The suggested approach to managing responsibilities is one of many possible options and should be adapted to fit your company’s unique organizational structure and needs. It is essential to determine the most effective method for assigning and managing roles and responsibilities that align with your internal processes and culture.
In addition, if you are setting a budget on existing resources in Microsoft Azure, the budget creation process will suggest a budget amount based on historical cost.
Creating the budget
This step involves creating the budget in Microsoft Cost Management for the desired scope and time period. You can use the Azure portal, Azure CLI, Azure PowerShell, or Azure REST API to create a budget. You can also use the suggested amount feature, which provides you with a recommended budget based on your usage patterns and historical data.
Here are some steps for creating the budget:
Choose the scope and time period for your budget, such as billing account, subscription, resource group, tag, month, quarter, or year.
Specify the budget amount and currency, and optionally use the suggested amount feature to get a recommended budget.
Name your budget and provide a description, and optionally add tags to categorize and group your budget.
Save your budget and review the details.
Figure 2 Effortless Budgeting: Harness the Power of Suggested Amounts
Responsible: The Product Owner and Engineering team are responsible for creating the budget in Microsoft Cost Management for the desired scope and time period. They choose the scope and time period, specify the budget amount and currency, name and describe the budget, and save and review the budget.
Accountable: Finance and Budget Owner are accountable for reviewing and approving the budget. They ensure that the budget is consistent with the initial budget estimate, and that it meets the organization’s financial goals and standards.
Consulted: The FinOps Practitioner is consulted for help on using the suggested amount feature, which provides a recommended budget based on usage patterns and historical data. They provide financial expertise and advice on setting the budget amount and currency.
Informed: All members of the organization, including Leadership and Finance, are informed about the budget. This promotes a culture of financial accountability and transparency.
Configuring the budget alerts and action groups
This step involves setting up alerts and action groups for the desired thresholds and conditions. You can set up alerts for actual costs, forecasted costs, percentage of budget, or amount[4]. You can also set up action groups to trigger automated actions, such as sending emails, calling webhooks, or executing Azure functions, when your budget thresholds are met.
Here are some steps for configuring the budget alerts and action groups:
Choose the alert type and condition, such as actual costs, forecasted costs, percentage of budget, or amount.
Specify the alert threshold and frequency, and optionally add a custom message.
Select or create an action group to trigger automated actions, such as sending emails, calling webhooks, or executing Azure functions, when your alert condition is met.
Save your alert and action group and review the details.
Responsible: The Product Owner and Engineering team are responsible for configuring the budget alerts and action groups for the desired thresholds and conditions. They choose the alert type and condition, specify the alert threshold and frequency, select or create an action group, and save and review the alert and action group.
Accountable: The Product Owner and Engineering team are accountable for reviewing and approving the budget alerts and action groups. They ensure that the alerts and action groups are consistent with the budget goals and expectations, and that they comply with the organization’s policies and standards.
Consulted: The FinOps Practitioner is consulted for help on choosing the alert type and condition, and specifying the alert threshold and frequency. They provide financial expertise and advice on setting the budget alerts and action groups.
Informed: All members of the organization, including Leadership and Finance, are informed about the budget alerts and action groups. This promotes a culture of financial accountability and transparency.
Monitoring and managing the budget usage and performance
This step involves tracking your actual and forecasted costs against your budget, and drilling down into your costs by different dimensions. You can use Microsoft Cost Management and Cost Analysis to monitor and analyze your budget usage and performance[5]. You can also use Azure shared dashboards or share customized cost views to share your budget information with your stakeholders[6]. You can also use Azure Advisor Cost Optimization workbook to get recommendations and best practices for optimizing your costs[7].
Here are some tips for monitoring and managing the budget usage and performance:
Use Cost Analysis to view your budget usage and performance, and compare your actual and forecasted costs with your spending limit.
Use Cost Analysis to drill down into your costs by different dimensions, such as service, resource, location, or tag, and identify the cost drivers and contributors.
Use shared dashboards and customized cost views to create and share custom views of your budget information with your stakeholders, such as product owners, engineering teams, finance teams, or leadership teams.
Use Azure Advisor Cost Optimization workbook to get recommendations and best practices for optimizing your costs, such as right-sizing your resources, purchasing reservations or savings plans, or redesigning your application architecture.
Responsible: The Product Owner and Engineering team are responsible for monitoring and managing the budget usage and performance. They use Microsoft Cost Management and Cost Analysis to view and analyze their budget usage and performance, and to drill down into their costs by different dimensions. They also use shared dashboards and customized cost views to share their budget information with their stakeholders, and Azure Advisor Cost Optimization workbook to get recommendations and best practices for optimizing their costs.
Accountable: The Budget Owner is accountable for tracking and managing budgets. They establish acceptable variance thresholds (e.g., 20% overage), and identify exception handling for scenarios when altering budgets out of cycle is needed. This involves regular monitoring and reporting, as well as taking corrective action if the budget is not being adhered to.
Consulted: The Engineering team and FinOps Practitioner are consulted for help on drilling down with tools. They provide technical expertise and can help identify areas for cost savings or efficiency improvements.
Informed: All members of the organization, including Leadership, are kept informed about any changes to the budget. This helps maintain transparency and promotes a culture of financial accountability.
Fine-tuning and adjusting the budget as needed
This step involves updating or deleting your budget at any time, depending on your changing needs and circumstances. You can also use Microsoft Cost Management to analyze the variance between your budget and your actual or forecasted costs, and to identify the reasons and solutions for any discrepancies or overages.
Here are some tips for fine-tuning and adjusting the budget as needed:
Update your budget amount, scope, time period, alerts, or action groups as needed, depending on your changing needs and circumstances.
Delete your budget if it is no longer relevant or needed, such as when your product is decommissioned or migrated.
Analyze the variance between your budget and your actual or forecasted costs, and identify the reasons and solutions for any discrepancies or overages.
Take corrective actions to resolve any issues or challenges, such as requesting additional funding, adjusting resource usage, or modifying product scope.
Responsible: The Product Owner and Engineering team are responsible for fine-tuning and adjusting the budget as needed. They update or delete their budget at any time, depending on their changing needs and circumstances. They also analyze the variance between their budget and their actual or forecasted costs, and take corrective actions to resolve any issues or challenges.
Accountable: The Budget Owner is accountable for the budget performance. If the budget overage is above the defined tolerance (e.g., 20%), they take corrective actions if possible. This could involve identifying areas for cost savings, adjusting resource usage, or modifying the product scope. If the overage cannot be corrected and additional funding is needed, they request additional funding from the holdback.
Consulted: If additional funding from the holdback is not available or not sufficient, the Higher-Level Budget Owner or Finance directly review the request for additional funding. They provide financial expertise and make decisions about whether to approve the additional funding.
Informed: All members of the organization, including Leadership, are kept informed about any changes to the budget. If the budget adjustment is significant and impacts the organizational performance expectations, Leadership makes adjustments to the budgeted spending levels and records/adjusts impacts to organizational performance expectations.
Best practices for budgets in Microsoft Cost Management
To get the most out of your budgets in Microsoft Cost Management, here are some best practices to follow:
Align your budgets with SMART business goals and objectives. Ensure your budgets are Specific, Measurable, Achievable, Relevant, and Time-bound, reflecting your financial aspirations and limitations[8]. They should be realistic and attainable, fostering a sense of accountability and progress tracking. Communicate your budgets clearly to stakeholders, ensuring they comprehend the expectations and implications, and are aligned with the SMART framework for optimal clarity and effectiveness.
Use multiple budgets for different scopes and time periods. You should have an overall budget for your entire billing account, as well as individual budgets for different units, such as subscriptions, resource groups, tags, or applications. You should also have budgets for different time periods, such as monthly, quarterly, or yearly. This way, you can easily track and compare your costs across different dimensions and granularities.
Use tags to categorize and group your resources and budgets. Tags are key-value pairs that you can assign to your resources to identify and organize them[9]. You can use tags to create budgets for specific categories, such as cost center, product owner, app name, environment, or project. You can also use tags to filter and analyze your costs by different dimensions. You can also use the tag inheritance feature to inherit tags from your subscription to your individual resources.
Use actual and forecasted cost alerts for your budgets. You should set up both actual and forecasted alerts for your budgets, as they serve different purposes[10]. Actual alerts trigger on actual costs when thresholds are met, and can be considered as a reactive approach. Forecasted alerts trigger on estimates and can be considered as an active approach, as you can act before it is too late.
Use action groups to trigger automated actions for your budgets. You should set up action groups to trigger automated actions, such as sending emails, calling webhooks, or executing Azure functions, when your budget thresholds are met[11]. This way, you can notify your stakeholders, escalate issues, or take corrective actions in a timely manner.
Define internal processes and workflows for handling budget overages. You should establish acceptable variance thresholds and exception handling for scenarios when altering budgets out of cycle is needed. You should also define who is responsible, accountable, consulted, and informed for setting up and managing your budgets, and what are the roles and responsibilities of each stakeholder. You should also define what happens if your budget is exceeded, such as requesting additional funding, adjusting resource usage, or modifying product scope. You can use your preferred modeling language to describe these processes and workflows, and to align them with your organizational culture and values.
Summary
In this article, you have learnt the benefits of having a budget in Microsoft Cost Management, and how to set up and manage your budgets effectively. We have also shared some best practices for using budgets to gain insights, optimize costs, and operate efficiently in Azure.
Here are some key takeaways to remember:
Budgets are a way to set spending limits and track your costs against them in Microsoft Cost Management.
Budgets help you align your spending with your business goals, gain insights and visibility into your costs, optimize your costs and maximize your ROI, and operate efficiently and proactively in the cloud.
To set up and manage your budgets, you need to define the initial budget estimate, create the budget, configure the alerts and action groups, monitor and manage the budget usage and performance, and fine-tune and adjust the budget as needed.
To get the most out of your budgets, you should align them with your business goals, use multiple budgets for different scopes and time periods, use tags to categorize and group your resources, use actual and forecasted alerts, use action groups to automate actions, and define internal processes and workflows for handling budget overages.
We hope you have found this article useful and informative. If you have any questions or feedback, please let us know in the comments section below. Thank you for reading!
References
[1] Overview of Cost Management – Microsoft Cost Management | Microsoft Learn
[2] Tutorial – Create and manage budgets – Microsoft Cost Management | Microsoft Learn
[4] Monitor usage and spending with cost alerts in Cost Management – Microsoft Cost Management | Microsoft Learn
[5] Quickstart – Start using Cost analysis – Microsoft Cost Management | Microsoft Learn
[6] Create a dashboard in the Azure portal – Azure portal | Microsoft Learn
[7] Use and customize the Cost optimization workbook – Cloud Computing | Microsoft Learn
[8] SMART criteria – Wikipedia
[9] Tag resources, resource groups, and subscriptions for logical organization – Azure Resource Manager | Microsoft Learn
[10] Monitor usage and spending with cost alerts in Cost Management – Microsoft Cost Management | Microsoft Learn
[11] Azure Monitor action groups – Azure Monitor | Microsoft Learn
Microsoft Tech Community – Latest Blogs –Read More
Microsoft and LinkedIn Release the 2024 Work Trend Index on the State of AI at Work in Indonesia
92% of knowledge workers in Indonesia already use generative AI at work, surpassing global (75%) and Asia Pacific (83%) averages.
92% of Indonesian business leaders stress the importance of AI adoption to stay competitive, yet 48% worry their organizational leadership lacks a plan and vision to implement it.
Leaders must channel AI experimentation into business transformation.
Jakarta, 11 June 2024 – Today, Microsoft and LinkedIn released data specific to Indonesia from the global 2024 Work Trend Index, focusing on the use of artificial intelligence (AI) in the workplace. The findings reveal a high percentage of knowledge workers in Indonesia using generative AI and a strong belief among business leaders in the necessity of AI adoption for maintaining competitiveness, both surpassing regional and global figures. This underscores Indonesia’s enthusiasm for leveraging AI to drive business impact and suggests the potential emergence of a new, AI-driven workplace culture in the country.
“We are in an era where AI is transforming our ability to create and innovate at an unprecedented pace. Indonesia’s swift adaptation and growth in this era signal that we are on the right path to realizing our digital economic potential and creating greater positive impacts for society at large. The key now is to channel this enthusiasm into tangible AI business transformations by doing three things: identifying business problems and integrating AI into solutions, adopting a top-down and bottom-up approach, and prioritizing AI skills training for everyone,” said Dharma Simorangkir, President Director of Microsoft Indonesia.
Photo 1. Dharma Simorangkir, President Director Microsoft Indonesia
This report, titled “AI at Work is Here. Now Comes the Hard Part,” is based on a survey of 31,000 people across 31 countries, including Indonesia, labor and hiring trends on LinkedIn, trillions of Microsoft 365 productivity signals, and research with Fortune 500 customers.
In tandem with the report, Microsoft announced new capabilities in Copilot for Microsoft 365, while LinkedIn introduced over 50 free learning courses for LinkedIn Premium members to empower professionals at all levels to enhance their AI skills.
“As AI brings transformative changes to the workplace, companies need new guidelines for recruiting talent,” said Rohit Kalsy, Indonesia Country Lead, LinkedIn. “With the rapidly evolving workforce ecosystem, leaders who prioritize flexibility and invest in developing AI-ready skills will gain a competitive edge. In Indonesia, 69% of business leaders say they won’t hire someone without AI skills. This highlights the urgency for professionals to focus on AI skill enhancement through training. Meanwhile, data also reveals a 65% increase in number of learning hours to study top 100 AI/generative AI courses between 2022 – 2023 on LinkedIn Learning. The participant record for those joining top LinkedIn courses on AI since January 2023 are held by Southeast Asia, Australia, and India.
Photo 2. Rohit Kalsy, Indonesia Country Lead, LinkedIn
The 2024 Work Trend Index highlights three key insights for leaders and professionals in Indonesia about AI’s impact on work and the labor market in the year ahead:
Employees want AI at work – and won’t wait for companies to catch up
As many as 92% of knowledge workers in Indonesia are already using generative AI at work. This figure is higher than the global (75%) and Asia Pacific (83%) average.
Around 92% of leaders in Indonesia believe in the need to adopt AI to stay competitive, higher than the global (79%) and Asia Pacific (84%) averages. However, 48% worry that their organization’s leadership lacks a vision and plan for implementing AI within the company, lower than the global (60%) and Asia Pacific (61%) averages.
As a result, 76% of employees in Indonesia are bringing their own AI tools or solutions to work (Bring Your Own AI/BYOAI)- missing out on the benefits that come from strategic AI use at scale and putting company data at risk. Therefore, the task for company leaders in the near future is to consider how to implement AI on a large scale in the company while maximizing return on investment (ROI).
For employees, AI raises the bar and breaks the career ceiling
As many as 69% of leaders in Indonesia say they will not hire someone without AI skills. Additionally, 76% of leaders say they would rather hire a less experienced candidate with AI skills than a more experienced candidate without them.
Learning from global data, many professionals are taking the initiative to skill up on their own. There has been a 142x increase in LinkedIn members adding AI skills like Copilot and ChatGPT to their profiles and a 160% increase in non-technical professionals using LinkedIn Learning courses to build their AI aptitude.
AI mentions in LinkedIn job posts drive a 17% bump in application growth. Hence, the impact of AI is undeniable: organizations that empower employees with AI tools and training will attract the best talent, while professionals who skill up will have the edge.
The rise of the AI Power Users – and what they reveal about the future of work
Four types of AI users emerged in this research — from skeptics who rarely use AI, to novices and explorers who are somewhat familiar with and frequently use AI, to power users who use it extensively.
AI power users have reoriented their workdays in fundamental ways: 93% of power users in Indonesia use it to start their workday and 94% use it to prepare for the next day (higher than the global average of 85% and Asia Pacific at 88%).
As many as 73% of power users in Indonesia are also more inclined to experiment with AI, higher than the global average (68%) and Asia Pacific (51%).
In Indonesia, various organizations across scales and industries have integrated generative AI tools like Copilot for Microsoft 365 into their daily workflows to boost productivity. These include Indosat Ooredoo Hutchinson (Indosat or IOH). Copilot for Microsoft 365 has become part of the productivity enhancements for Indosat employees in managing their work. The integration of Copilot for Microsoft 365 capabilities has been carried out across various functions at Indosat, from digital, Human Resource, Business-to-Business, to Network. This is a testatement to Indosat’s commitment to transforming from a telecommunications company to an AI Native TechCo and revolutionizing the digital landscape in Indonesia.
Enriching Work Experience with New Features in Copilot for Microsoft 365
Understanding the benefits of generative AI in the workplace, Microsoft also announced innovations in Copilot for Microsoft 365 to help people create more with AI:
A new auto-complete feature is coming to the prompt box. Copilot will now help people who have the start of a prompt by offering to complete it, suggesting a more a detailed prompt based on what is being typed, to deliver a stronger result.
A new rewrite feature in Copilot will help users who know what they want but may not have the right words to describe it, transforming basic prompts into richer ones with the click of a button.
Catch Up is a new chat interface that surfaces personal insights based on recent activities and provides responsive recommendations.
New capabilities in Copilot Lab will enable people to create, publish, and manage prompts tailored to them, and to their specific teams, roles, and functions.
Photo 3. Ricky Haryadi, Go To Market Lead – AI at Work & AI in Cybersecurity (ASEAN) Microsoft
Tools for Relevant Skills Enhancement in the Workplace
LinkedIn provides AI tools to help users stay ahead in their careers:
For Skills Enhancement. LinkedIn Learning offers over 22,000 courses, including more than 600 AI courses, to build aptitude in generative AI, empower teams within a company to make generative AI-driven business investments, or simply keep employees’ skills sharp. These new courses are free and available to everyone until July 8, 2024. Additionally, new AI-Powered Coaching in LinkedIn Learning helps learners find the content they need to improve their skills faster, with greater personalization and guided conversational learning.
For Career Advancement. For LinkedIn Premium subscribers, AI-powered personalized takeaways on LinkedIn Feed, on posts, articles or videos (from articles to commentary), can help users make relevant decisions or simply provide ideas.
For Job Seeking. For users seeking jobs, LinkedIn features make it easier and faster to find the ideal job. Users can now assess their fit for a role in seconds based on their experience and skills, get advice to stand out in the workforce in terms of skills and networking, and more. So far, more than 90% of subscribers with access shared it’s been helpful in job search.
Foto 4. (Left to Right) – Ricky Haryadi, Go To Market Lead – AI at Work & AI in Cybersecurity (ASEAN) Microsoft; Dharma Simorangkir, Presiden Direktur Microsoft Indonesia; Karen Kusnadi, Communications Lead Microsoft Indonesia; Rohit Kalsy Indonesia Country Lead LinkedIn.
For further reading, visit Microsoft’s Official Blog, Work Trend Index 2024 Report, and head to LinkedIn to hear more from the company’s Chief Economist, Karin Kimbrough.
-END-
About Microsoft:
Microsoft (Nasdaq “MSFT” @microsoft) creates platforms and tools powered by AI to deliver innovative solutions that meet the evolving needs of our customers. The technology company is committed to making AI available broadly and doing so responsibly, with a mission to empower every person and every organization on the planet to achieve more.
About LinkedIn
LinkedIn connects professionals worldwide to make them more productive and successful, and transforms the ways companies hire, learn, market, and sell. Our vision is to create economic opportunity for every member of the global workforce through the ongoing development of the world’s first Economic Graph. LinkedIn has 1 billion members and offices around the globe. www.linkedin.com / mobile.linkedin.com
What is the reason for error in HDL Coder and Cadence Stratus HLS tutorial?
Hi all,
I’m trying to complete this tutorial https://se.mathworks.com/help/hdlcoder/ug/get-started-with-matlab-to-hls-workflow-using-hdl-coder-app.html, but I get stuck in the Verification step in Workflow Advisor. I get this output in the Workflow Advisor window in Verification step (Verify with HLS Test Bench):
## Begin TestBench generation.
Code generation successful.
### Collecting data…
### Begin HDL test bench file generation with logged samples
### Generating test bench data file: x_in.dat.
### Generating test bench data file: y_out_expected.dat.
### Generating test bench data file: delayed_xout_expected.dat.
### Generating test bench file: mlhdlc_sfir_fixptClass_tb.hpp
### Running Stratus Importer on the generated testbench.
### Working on mlhdlc_sfir_fixpt_bdw_import_log.txt as mlhdlc_sfir_fixpt_bdw_import_log.txt.
Stratus Importer failed. See ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ for details.
Error in CadenceStratus>>generateBDWImportScripts at 0
Error in CadenceStratus>>postTBGen at 0
Error in HLSPostCodegenDriver>>postTBGen at 0
Error in Manager>>wfa_runHLSSimulation at 0
And following error message to Matlab Command window:
Error using emlhdlcoder.HLSDriver.Tools.CadenceStratus/generateBDWImportScripts
Stratus Importer failed. See ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ for
details.
Error in emlhdlcoder.HLSDriver.Tools.CadenceStratus/postTBGen
Error in emlhdlcoder.HLSDriver.HLSPostCodegenDriver/postTBGen
Error in emlhdlcoder.WorkFlow.Manager/wfa_runHLSSimulation
And here is the content of the ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ file is:
INFO: Searching /sw/rhel7/cadence/STRATUS2301 for template
WARNING: BDW_IMPORT_ML_CLOCK_FREQ = 0, using default 5.0.
INFO: Processing template tb.cc
FATAL ERROR: Unable to process template tb.cc
I’m using Matlab version R2024a and Cadence Stratus 23.01, but tested also with 22.01 which gave same error. What are the software versions that this tutorial is verified to work?Hi all,
I’m trying to complete this tutorial https://se.mathworks.com/help/hdlcoder/ug/get-started-with-matlab-to-hls-workflow-using-hdl-coder-app.html, but I get stuck in the Verification step in Workflow Advisor. I get this output in the Workflow Advisor window in Verification step (Verify with HLS Test Bench):
## Begin TestBench generation.
Code generation successful.
### Collecting data…
### Begin HDL test bench file generation with logged samples
### Generating test bench data file: x_in.dat.
### Generating test bench data file: y_out_expected.dat.
### Generating test bench data file: delayed_xout_expected.dat.
### Generating test bench file: mlhdlc_sfir_fixptClass_tb.hpp
### Running Stratus Importer on the generated testbench.
### Working on mlhdlc_sfir_fixpt_bdw_import_log.txt as mlhdlc_sfir_fixpt_bdw_import_log.txt.
Stratus Importer failed. See ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ for details.
Error in CadenceStratus>>generateBDWImportScripts at 0
Error in CadenceStratus>>postTBGen at 0
Error in HLSPostCodegenDriver>>postTBGen at 0
Error in Manager>>wfa_runHLSSimulation at 0
And following error message to Matlab Command window:
Error using emlhdlcoder.HLSDriver.Tools.CadenceStratus/generateBDWImportScripts
Stratus Importer failed. See ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ for
details.
Error in emlhdlcoder.HLSDriver.Tools.CadenceStratus/postTBGen
Error in emlhdlcoder.HLSDriver.HLSPostCodegenDriver/postTBGen
Error in emlhdlcoder.WorkFlow.Manager/wfa_runHLSSimulation
And here is the content of the ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ file is:
INFO: Searching /sw/rhel7/cadence/STRATUS2301 for template
WARNING: BDW_IMPORT_ML_CLOCK_FREQ = 0, using default 5.0.
INFO: Processing template tb.cc
FATAL ERROR: Unable to process template tb.cc
I’m using Matlab version R2024a and Cadence Stratus 23.01, but tested also with 22.01 which gave same error. What are the software versions that this tutorial is verified to work? Hi all,
I’m trying to complete this tutorial https://se.mathworks.com/help/hdlcoder/ug/get-started-with-matlab-to-hls-workflow-using-hdl-coder-app.html, but I get stuck in the Verification step in Workflow Advisor. I get this output in the Workflow Advisor window in Verification step (Verify with HLS Test Bench):
## Begin TestBench generation.
Code generation successful.
### Collecting data…
### Begin HDL test bench file generation with logged samples
### Generating test bench data file: x_in.dat.
### Generating test bench data file: y_out_expected.dat.
### Generating test bench data file: delayed_xout_expected.dat.
### Generating test bench file: mlhdlc_sfir_fixptClass_tb.hpp
### Running Stratus Importer on the generated testbench.
### Working on mlhdlc_sfir_fixpt_bdw_import_log.txt as mlhdlc_sfir_fixpt_bdw_import_log.txt.
Stratus Importer failed. See ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ for details.
Error in CadenceStratus>>generateBDWImportScripts at 0
Error in CadenceStratus>>postTBGen at 0
Error in HLSPostCodegenDriver>>postTBGen at 0
Error in Manager>>wfa_runHLSSimulation at 0
And following error message to Matlab Command window:
Error using emlhdlcoder.HLSDriver.Tools.CadenceStratus/generateBDWImportScripts
Stratus Importer failed. See ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ for
details.
Error in emlhdlcoder.HLSDriver.Tools.CadenceStratus/postTBGen
Error in emlhdlcoder.HLSDriver.HLSPostCodegenDriver/postTBGen
Error in emlhdlcoder.WorkFlow.Manager/wfa_runHLSSimulation
And here is the content of the ‘mlhdlc_sfir_fixpt_bdw_import_log.txt’ file is:
INFO: Searching /sw/rhel7/cadence/STRATUS2301 for template
WARNING: BDW_IMPORT_ML_CLOCK_FREQ = 0, using default 5.0.
INFO: Processing template tb.cc
FATAL ERROR: Unable to process template tb.cc
I’m using Matlab version R2024a and Cadence Stratus 23.01, but tested also with 22.01 which gave same error. What are the software versions that this tutorial is verified to work? cadence, stratus, hls MATLAB Answers — New Questions