Month: June 2024
I do not know how to make this work??
Im trying to make dynamic variables, based on the names of colums of the tables of some data sets.
This is my Code, the bolded section is my issue
varnammes = ["SpeedGoatT" "imu1_accel_x" "imu1_accel_y" "imu1_accel_z" "imu1_gyro_x" "imu1_gyro_y" "imu1_gyro_z" "imu1_orient_i" "imu1_orient_j" "imu1_orient_k" "imu1_orient_r" "imu2_accel_x" "imu2_accel_y" "imu2_accel_z" "imu2_gyro_x" "imu2_gyro_y" "imu2_gyro_z" "imu2_orient_i" "imu2_orient_j" "imu2_orient_k" "imu2_orient_r" "imu3_accel_x" "imu3_accel_y" "imu3_accel_z" "imu3_gyro_x" "imu3_gyro_y" "imu3_gyro_z" "imu3_orient_i" "imu3_orient_j" "imu3_orient_k" "imu3_orient_r" "imu4_accel_x" "imu4_accel_y" "imu4_accel_z" "imu4_gyro_x" "imu4_gyro_y" "imu4_gyro_z" "imu4_orient_i" "imu4_orient_j" "imu4_orient_k" "imu4_orient_r" "imu5_accel_x" "imu5_accel_y" "imu5_accel_z" "imu5_gyro_x" "imu5_gyro_y" "imu5_gyro_z" "imu5_orient_i" "imu5_orient_j" "imu5_orient_k" "imu5_orient_r" "imu6_accel_x" "imu6_accel_y" "imu6_accel_z" "imu6_gyro_x" "imu6_gyro_y" "imu6_gyro_z" "imu6_orient_i" "imu6_orient_j" "imu6_orient_k" "imu6_orient_r" "imu7_accel_x" "imu7_accel_y" "imu7_accel_z" "imu7_gyro_x" "imu7_gyro_y" "imu7_gyro_z" "imu7_orient_i" "imu7_orient_j" "imu7_orient_k" "imu7_orient_r"];
Tables = struct();
for i = 1:length(files)
load(files(i))
varName = sprintf(‘Table0%d’, i-1); % Create a variable name
Tables.(varName) = logsout.FileLogSignals{4}.Values;% Set the variable in the structure
Tables.(varName) = timeseries2timetable(Tables.(varName));
Tables.(varName) = timetable2table(Tables.(varName));
Tables.(varName) = splitvars(Tables.(varName), 2);
Tables.(varName).Properties.VariableNames(2:end) = varnammes;
for x = 1:length(varnammes)
varName = [char(varnammes(x)) num2str(i-1)];
eval([varName ‘ = x^2;’]);
end
end
This is a test version that is makeing the variables I want but instead of makeing them x^2 i want them to be the column that goes with the variable.
The normal code would be something like
imu1_accel_x = Tables.Table00{:,3};
or
imu1_accel_x = Tables.Table00.imu1_accel_x;
makeing the output being imu1_accel_x0 , with all the values of column imu1_accel_x
I tried makeing the eval line:
eval([varName ‘ = Tables.Table00.imu1_accel_x;’]);
but i got an error and dont know why or how to make it work as inteded
Ive sent an image of the output given the X^2 which works as intended.
Any assistance would be apreciated.Im trying to make dynamic variables, based on the names of colums of the tables of some data sets.
This is my Code, the bolded section is my issue
varnammes = ["SpeedGoatT" "imu1_accel_x" "imu1_accel_y" "imu1_accel_z" "imu1_gyro_x" "imu1_gyro_y" "imu1_gyro_z" "imu1_orient_i" "imu1_orient_j" "imu1_orient_k" "imu1_orient_r" "imu2_accel_x" "imu2_accel_y" "imu2_accel_z" "imu2_gyro_x" "imu2_gyro_y" "imu2_gyro_z" "imu2_orient_i" "imu2_orient_j" "imu2_orient_k" "imu2_orient_r" "imu3_accel_x" "imu3_accel_y" "imu3_accel_z" "imu3_gyro_x" "imu3_gyro_y" "imu3_gyro_z" "imu3_orient_i" "imu3_orient_j" "imu3_orient_k" "imu3_orient_r" "imu4_accel_x" "imu4_accel_y" "imu4_accel_z" "imu4_gyro_x" "imu4_gyro_y" "imu4_gyro_z" "imu4_orient_i" "imu4_orient_j" "imu4_orient_k" "imu4_orient_r" "imu5_accel_x" "imu5_accel_y" "imu5_accel_z" "imu5_gyro_x" "imu5_gyro_y" "imu5_gyro_z" "imu5_orient_i" "imu5_orient_j" "imu5_orient_k" "imu5_orient_r" "imu6_accel_x" "imu6_accel_y" "imu6_accel_z" "imu6_gyro_x" "imu6_gyro_y" "imu6_gyro_z" "imu6_orient_i" "imu6_orient_j" "imu6_orient_k" "imu6_orient_r" "imu7_accel_x" "imu7_accel_y" "imu7_accel_z" "imu7_gyro_x" "imu7_gyro_y" "imu7_gyro_z" "imu7_orient_i" "imu7_orient_j" "imu7_orient_k" "imu7_orient_r"];
Tables = struct();
for i = 1:length(files)
load(files(i))
varName = sprintf(‘Table0%d’, i-1); % Create a variable name
Tables.(varName) = logsout.FileLogSignals{4}.Values;% Set the variable in the structure
Tables.(varName) = timeseries2timetable(Tables.(varName));
Tables.(varName) = timetable2table(Tables.(varName));
Tables.(varName) = splitvars(Tables.(varName), 2);
Tables.(varName).Properties.VariableNames(2:end) = varnammes;
for x = 1:length(varnammes)
varName = [char(varnammes(x)) num2str(i-1)];
eval([varName ‘ = x^2;’]);
end
end
This is a test version that is makeing the variables I want but instead of makeing them x^2 i want them to be the column that goes with the variable.
The normal code would be something like
imu1_accel_x = Tables.Table00{:,3};
or
imu1_accel_x = Tables.Table00.imu1_accel_x;
makeing the output being imu1_accel_x0 , with all the values of column imu1_accel_x
I tried makeing the eval line:
eval([varName ‘ = Tables.Table00.imu1_accel_x;’]);
but i got an error and dont know why or how to make it work as inteded
Ive sent an image of the output given the X^2 which works as intended.
Any assistance would be apreciated. Im trying to make dynamic variables, based on the names of colums of the tables of some data sets.
This is my Code, the bolded section is my issue
varnammes = ["SpeedGoatT" "imu1_accel_x" "imu1_accel_y" "imu1_accel_z" "imu1_gyro_x" "imu1_gyro_y" "imu1_gyro_z" "imu1_orient_i" "imu1_orient_j" "imu1_orient_k" "imu1_orient_r" "imu2_accel_x" "imu2_accel_y" "imu2_accel_z" "imu2_gyro_x" "imu2_gyro_y" "imu2_gyro_z" "imu2_orient_i" "imu2_orient_j" "imu2_orient_k" "imu2_orient_r" "imu3_accel_x" "imu3_accel_y" "imu3_accel_z" "imu3_gyro_x" "imu3_gyro_y" "imu3_gyro_z" "imu3_orient_i" "imu3_orient_j" "imu3_orient_k" "imu3_orient_r" "imu4_accel_x" "imu4_accel_y" "imu4_accel_z" "imu4_gyro_x" "imu4_gyro_y" "imu4_gyro_z" "imu4_orient_i" "imu4_orient_j" "imu4_orient_k" "imu4_orient_r" "imu5_accel_x" "imu5_accel_y" "imu5_accel_z" "imu5_gyro_x" "imu5_gyro_y" "imu5_gyro_z" "imu5_orient_i" "imu5_orient_j" "imu5_orient_k" "imu5_orient_r" "imu6_accel_x" "imu6_accel_y" "imu6_accel_z" "imu6_gyro_x" "imu6_gyro_y" "imu6_gyro_z" "imu6_orient_i" "imu6_orient_j" "imu6_orient_k" "imu6_orient_r" "imu7_accel_x" "imu7_accel_y" "imu7_accel_z" "imu7_gyro_x" "imu7_gyro_y" "imu7_gyro_z" "imu7_orient_i" "imu7_orient_j" "imu7_orient_k" "imu7_orient_r"];
Tables = struct();
for i = 1:length(files)
load(files(i))
varName = sprintf(‘Table0%d’, i-1); % Create a variable name
Tables.(varName) = logsout.FileLogSignals{4}.Values;% Set the variable in the structure
Tables.(varName) = timeseries2timetable(Tables.(varName));
Tables.(varName) = timetable2table(Tables.(varName));
Tables.(varName) = splitvars(Tables.(varName), 2);
Tables.(varName).Properties.VariableNames(2:end) = varnammes;
for x = 1:length(varnammes)
varName = [char(varnammes(x)) num2str(i-1)];
eval([varName ‘ = x^2;’]);
end
end
This is a test version that is makeing the variables I want but instead of makeing them x^2 i want them to be the column that goes with the variable.
The normal code would be something like
imu1_accel_x = Tables.Table00{:,3};
or
imu1_accel_x = Tables.Table00.imu1_accel_x;
makeing the output being imu1_accel_x0 , with all the values of column imu1_accel_x
I tried makeing the eval line:
eval([varName ‘ = Tables.Table00.imu1_accel_x;’]);
but i got an error and dont know why or how to make it work as inteded
Ive sent an image of the output given the X^2 which works as intended.
Any assistance would be apreciated. debug, terrible idea, dynamically named variables, eval MATLAB Answers — New Questions
Regarding choosing correct boundary condition
Hi,
I have a condition where at the left boundary and the right boundary I need the flux to be non-zero.
Thus, the equations
pL + qL*fL = 0 and pr + qr*fr = 0 are such that fL and fr being non zero is making my equation hard to determine the values for pl, ql as well as pr, qr.
Plz tell me how should I approach for the same.
with regards,
rcHi,
I have a condition where at the left boundary and the right boundary I need the flux to be non-zero.
Thus, the equations
pL + qL*fL = 0 and pr + qr*fr = 0 are such that fL and fr being non zero is making my equation hard to determine the values for pl, ql as well as pr, qr.
Plz tell me how should I approach for the same.
with regards,
rc Hi,
I have a condition where at the left boundary and the right boundary I need the flux to be non-zero.
Thus, the equations
pL + qL*fL = 0 and pr + qr*fr = 0 are such that fL and fr being non zero is making my equation hard to determine the values for pl, ql as well as pr, qr.
Plz tell me how should I approach for the same.
with regards,
rc pdepe, boundary conditions MATLAB Answers — New Questions
Relationship between FPGA Sample Frequency, FPGA Clock Frequency, Simulink Solver Rate and Oversampling Factor
Hi, I have a generator controller model in Simulink, I’m hoping to have it deployed on Speedgoat (IO334-325k) and use it to run a real generator. I have five analog input channels and one TTL discrete output channel.
My first question is, am i correct in understanding that the FPGA sample frequency is how fast the FPGA internal signals are sampled? (for example, if i have a discrete transfer function in my model, is it seeing the ‘FPGA sample frequency’ as the sample rate? This is important because discrete transfer functions only work properly at the correct sample rate).
Second question, I read from here (Troubleshooting Real-Time Hardware Deployment Issues in Simscape Hardware-in-the-Loop Workflow – MATLAB & Simulink – MathWorks France) that FPGA sample frequency = FPGA clock frequency/(Oversampling factor x Number of solver iterations), also from here (hdl coder oversampling factor – Google Search) that Oversampling factor = FPGA clock frequency/ Simulink solver rate. Does it mean if the number of solver iterations is 1, then FPGA sample frequency equals the simulink solver rate? I also don’t understand why the simulink solver rate is part of the equation provided that my model only has analog and discrete IOs from/to the outside world, or does it mean in my case, the Oversampling factor = FPGA clock frequency/ ADC rate?
I would really appreciate it if you could help me with the questions above, Thank you very much in advance.
YeungHi, I have a generator controller model in Simulink, I’m hoping to have it deployed on Speedgoat (IO334-325k) and use it to run a real generator. I have five analog input channels and one TTL discrete output channel.
My first question is, am i correct in understanding that the FPGA sample frequency is how fast the FPGA internal signals are sampled? (for example, if i have a discrete transfer function in my model, is it seeing the ‘FPGA sample frequency’ as the sample rate? This is important because discrete transfer functions only work properly at the correct sample rate).
Second question, I read from here (Troubleshooting Real-Time Hardware Deployment Issues in Simscape Hardware-in-the-Loop Workflow – MATLAB & Simulink – MathWorks France) that FPGA sample frequency = FPGA clock frequency/(Oversampling factor x Number of solver iterations), also from here (hdl coder oversampling factor – Google Search) that Oversampling factor = FPGA clock frequency/ Simulink solver rate. Does it mean if the number of solver iterations is 1, then FPGA sample frequency equals the simulink solver rate? I also don’t understand why the simulink solver rate is part of the equation provided that my model only has analog and discrete IOs from/to the outside world, or does it mean in my case, the Oversampling factor = FPGA clock frequency/ ADC rate?
I would really appreciate it if you could help me with the questions above, Thank you very much in advance.
Yeung Hi, I have a generator controller model in Simulink, I’m hoping to have it deployed on Speedgoat (IO334-325k) and use it to run a real generator. I have five analog input channels and one TTL discrete output channel.
My first question is, am i correct in understanding that the FPGA sample frequency is how fast the FPGA internal signals are sampled? (for example, if i have a discrete transfer function in my model, is it seeing the ‘FPGA sample frequency’ as the sample rate? This is important because discrete transfer functions only work properly at the correct sample rate).
Second question, I read from here (Troubleshooting Real-Time Hardware Deployment Issues in Simscape Hardware-in-the-Loop Workflow – MATLAB & Simulink – MathWorks France) that FPGA sample frequency = FPGA clock frequency/(Oversampling factor x Number of solver iterations), also from here (hdl coder oversampling factor – Google Search) that Oversampling factor = FPGA clock frequency/ Simulink solver rate. Does it mean if the number of solver iterations is 1, then FPGA sample frequency equals the simulink solver rate? I also don’t understand why the simulink solver rate is part of the equation provided that my model only has analog and discrete IOs from/to the outside world, or does it mean in my case, the Oversampling factor = FPGA clock frequency/ ADC rate?
I would really appreciate it if you could help me with the questions above, Thank you very much in advance.
Yeung hdl coder, fpga, speedgoat, oversampling, fpga sample frequency MATLAB Answers — New Questions
AVD Connection Issue
1. I can connect AVD from the Browser but when I try to log in from a remote desktop, I get some error like the screenshot below.
Kindly help me as soon as possible.
Looking for your quick response.
thanks
Augustine Anand S
1. I can connect AVD from the Browser but when I try to log in from a remote desktop, I get some error like the screenshot below. Kindly help me as soon as possible. Looking for your quick response. thanksAugustine Anand S Read More
Excel, how to add/detect a coloured cell as only number “1” and ignore the cell value
Hey, ive got a attendance report with up to 10 weeks per person. Right now i have 2 sepertae formulas, 1 which uses cell value to determine colour (so 1=red (absent), 2=green (present) etc.) And another formula that uses the “total weeks present” (‘4/10) to determine a percentage (=40%). Is there any way i can get the “total weeks present” to increase by 1 (from’4/10 to ‘5/10) when i fill in the cell with present (2) and not increase the “total weeks present” by 2 (almost ignoring the cell value, but detecting the cell is full or something like that)?
Thanks in advance!
Hey, ive got a attendance report with up to 10 weeks per person. Right now i have 2 sepertae formulas, 1 which uses cell value to determine colour (so 1=red (absent), 2=green (present) etc.) And another formula that uses the “total weeks present” (‘4/10) to determine a percentage (=40%). Is there any way i can get the “total weeks present” to increase by 1 (from’4/10 to ‘5/10) when i fill in the cell with present (2) and not increase the “total weeks present” by 2 (almost ignoring the cell value, but detecting the cell is full or something like that)?Thanks in advance! Read More
recipients in public event
Dear all,
We are currently testing the function to create public online events in Teams in order to use the corresponding functions for invitations and reminders. I have the following questions:
Is it correct that a webinar that requires registration does NOT provide an invitation email? If so, how does it work?Is it correct that a public meeting does NOT provide a reminder email? If so, how does it work?Is it correct that the invitation to a public event contains ALL email addresses and that this is also visible to the other recipients?
Many thanks in advance
Ralf Ryter
Dear all, We are currently testing the function to create public online events in Teams in order to use the corresponding functions for invitations and reminders. I have the following questions:Is it correct that a webinar that requires registration does NOT provide an invitation email? If so, how does it work?Is it correct that a public meeting does NOT provide a reminder email? If so, how does it work?Is it correct that the invitation to a public event contains ALL email addresses and that this is also visible to the other recipients?Many thanks in advanceRalf Ryter Read More
Filter a table using value selected in a list and filtering another table using the filtered values
Hi All,
I have the following tables
Table 1
TenderIDProjectTitleOrganisation2024_1Title 1Organisation12024_2Title 2Organisation22024_3Title 3Organisation32024_4Title 4Organisation4
Table 2
TenderIDTataSailJSPL2024_1YesNoYes2024_2NoYesYes2024_3YesYesYes2024_4YesNoYes
I want to select one of Tata, Sail, JSPL from a List
1. Basis the value selected, I want all those TenderIDs where value in Tata column is “Yes”
2. The ultimate objective is to filter Table1 to show the values with above TenderIDs where value of option selected from the list is “Yes”
Hi All, I have the following tables Table 1TenderIDProjectTitleOrganisation2024_1Title 1Organisation12024_2Title 2Organisation22024_3Title 3Organisation32024_4Title 4Organisation4 Table 2TenderIDTataSailJSPL2024_1YesNoYes2024_2NoYesYes2024_3YesYesYes2024_4YesNoYes I want to select one of Tata, Sail, JSPL from a List1. Basis the value selected, I want all those TenderIDs where value in Tata column is “Yes”2. The ultimate objective is to filter Table1 to show the values with above TenderIDs where value of option selected from the list is “Yes” Read More
MATRIX’S BACKGROUND COLOR
HI, I NEED A HELP
I HAVE A MATRIX, AND I WOULD LIKE TO CHANGE THE BACKGROUND COLOR WHEN THE AGREGATED VALUE IS UNDER THAN 92K.
I TRYED TO USER A SIMPLE SWITCH OR IIF (IN TABLIX ITS WORKS FINE), BUT IT CHANGE ALL CELLS IN THE MATRIX…
HOW CAN I DO THIS FOR EACH COLUMN YEAR?
THANKS
HI, I NEED A HELPI HAVE A MATRIX, AND I WOULD LIKE TO CHANGE THE BACKGROUND COLOR WHEN THE AGREGATED VALUE IS UNDER THAN 92K.I TRYED TO USER A SIMPLE SWITCH OR IIF (IN TABLIX ITS WORKS FINE), BUT IT CHANGE ALL CELLS IN THE MATRIX… HOW CAN I DO THIS FOR EACH COLUMN YEAR? THANKS Read More
Surface Dock Connectivity Issues
Hi all,
Hoping someone can potentially provide some insight into the below issue in relation to a surface dock:
“connectivity to the external displays no longer works. The connector will charge the laptop and usb outputs work for phone charging etc. The screens/external display also work as have checked it with another laptop however will not allow display use.”
Any suggestions would be greatly appreciated.
Hi all, Hoping someone can potentially provide some insight into the below issue in relation to a surface dock: “connectivity to the external displays no longer works. The connector will charge the laptop and usb outputs work for phone charging etc. The screens/external display also work as have checked it with another laptop however will not allow display use.” Any suggestions would be greatly appreciated. Read More
Show value from table based on selection
Hi all
On an Excel spreadsheet tab I have a table with the following data:
YearSession% Passed% FailedAverageHighest2020July-2055454.882021July-2128725.052022July-2258424.262023July-2382184.062024July-2478224.27
On a separate tab I have the below table. On the data point column I have added a validation drop-down list of the above data points, i.e. % Passed, % Failed, Average and Highest. How can I then display that value in the data value column, taking into consideration the Year and Session? For example the first row below should show 58.
YearSessionData pointData value2022July-22% Passed58
Many thanks!
Hi all On an Excel spreadsheet tab I have a table with the following data: YearSession% Passed% FailedAverageHighest2020July-2055454.882021July-2128725.052022July-2258424.262023July-2382184.062024July-2478224.27 On a separate tab I have the below table. On the data point column I have added a validation drop-down list of the above data points, i.e. % Passed, % Failed, Average and Highest. How can I then display that value in the data value column, taking into consideration the Year and Session? For example the first row below should show 58. YearSessionData pointData value2022July-22% Passed58 Many thanks! Read More
PNP Connect with certificate
Hello. I have 2 registered applications in Azure. I genereted certificates and uploaded and also i granted permissions. Situation is weird because app1 i can acces from only one computer app2 from second. I cannot acces to app1 from pc2 and to app2 from pc1 because of this error:
Values are correct. Please help.
Best regards,
Kamil
Hello. I have 2 registered applications in Azure. I genereted certificates and uploaded and also i granted permissions. Situation is weird because app1 i can acces from only one computer app2 from second. I cannot acces to app1 from pc2 and to app2 from pc1 because of this error:Values are correct. Please help.Best regards,Kamil Read More
How to deploy SAP IQ-NLS Solution using Azure Premium Files on Azure.
SAP IQ High-Availability can be achieved with IQ Multiplex architecture [ SAP Note 2477758], but not when deployed in NLS mode. As per the SAP First Guidance for SAP IQ 16.x, here, Multiplex Architecture is not available/evaluated for the SAP-NLS solution. This blog outlines one of the methods for deploying SAP IQ-NLS utilizing Azure Premium Files on the Azure platform.
Overview
Several customers leverage SAP IQ for storing historical data, extracting aged data from the SAP BW system to enhance SAP BW performance and achieve cost efficiency. It’s crucial to meticulously design and implement the SAP IQ architecture to ensure that data remains online and accessible as per the demands of business processes. We collaborated with our partners and customers to develop an SAP IQ-NLS solution architecture on Azure, incorporating Azure Premium Files. This solution addresses to the customer’s need for SAP IQ High Availability across zones, aiming to achieve a Recovery Point Objective (RPO) of zero across zones in a Zonal Disaster Recovery (Zonal DR) setup. In this architecture, the Primary SAP IQ operates as a standalone system, with its database installed on Azure Premium Files using Zone-Redundant Storage (ZRS). The virtual machine (VM) is then replicated to the secondary zone through Azure Site Recovery [ASR].
As SAP does not provide an official reference for SAP IQ-NLS High Availability (HA)/Disaster Recovery [DR] architecture to meet RPO=0, a bespoke solution developed to fulfil the customer’s requirements. The DR solution has been developed and rigorously tested within the Microsoft Azure Cloud environment. It’s strongly advised that customers conduct thorough DR and performance testing of the scenario to ensure that it meets their business and performance needs.
Architecture Overview
The proposed solution comprises deploying two Virtual Machines (VMs) across different zones as active/passive SAP IQ deployment within the Azure East US region. One VM will serve as the Primary VM, hosting the SAP IQ binaries, while the other VM, deployed across a separate zone, will function as the Secondary VM using Azure Site Recovery for zonal DR.
Key Components
Virtual Machines:
Two VMs deployed across different zones in Azure East US.
Primary VM hosts SAP IQ binaries.
Secondary VM configured for zonal DR using Azure Site Recovery.
Azure Premium Files:
Database files hosted on Azure Premium Files with Zonal Redundant Storage (ZRS) feature for data redundancy across zones.
Azure Site Recovery (ASR):
For orchestrating failover to the Secondary VM in case of a zonal outage.
Recovery plan for seamless failover and Disaster Recovery requirements.
Backup Strategy:
Additional Azure managed disk to the Primary VM for regular backups.
Rubrik backup tool backup management capabilities.
Implementation Steps
VM Deployment:
Provision two VMs in Azure East US region across different zones.
Configure networking and security settings for optimal performance and security.
Azure Premium Files Setup:
Create Azure Premium Files storage account with Zonal Redundant Storage (ZRS) enabled.
SAP IQ Installation:
Install SAP IQ Software (binaries) on the Primary VM.
Database files on Azure Premium Files with ZRS feature.
Configure SAP IQ database files to be hosted on Azure Premium Files.
Azure Site Recovery Configuration:
Set up Azure Site Recovery for zonal DR between Primary and Secondary VMs.
Create recovery plan to automate failover process in case of a zonal outage.
Backup Management:
Attach an additional managed disk to the Primary VM for regular backups.
Configure Rubrik backup tool for comprehensive backup management.
Summary
Implementing SAP IQ database on Azure Premium Files ensures zone redundancy of the database files, making them available across zones to achieve an RPO of zero. The Virtual Machine hosting the SAP IQ Software will be a standalone Virtual Machine in the Primary zone, replicated to the target zone using Azure Site Recovery. This solution guarantees high availability of database files across zones and the ability to failover the compute across zones for Disaster Recovery purposes. This approach perfectly aligns with the customer’s requirements and provides a robust infrastructure for running critical SAP IQ workloads on Azure.
The architecture and documentation provided align with general best practices based on the Azure services, and it’s strongly advised that customers conduct thorough testing tailored to their business needs to mitigate any potential technical or business risks associated with deploying SAP IQ.
Additional related references:
Understand Azure Files performance | Microsoft Learn
Microsoft Tech Community – Latest Blogs –Read More
Execute a Matlab script from Docker container
Hello,
I have a very basic matlab file called hello_world.m that just create a simple .csv file. My goal is now to try to execute this matlab script from a Docker container. This is my Dockerfile:
FROM mathworks/matlab:r2024a
ENV MLM_LICENSE_FILE /licenses
USER root
RUN mkdir -p /licenses /matlab_script
COPY license.lic /licenses/license.lic
COPY hello_world.m /matlab_script/hello_world.m
WORKDIR /matlab_script
CMD ["matlab", "-batch", "hello_world"]
The license.lic attatched is a "DEMO" license.
This is the command I use to run my container:
docker run –rm -v $(pwd)/license.lic:/licenses/license.lic matlab-demo
Error l
ogs:
License checkout failed.
License Manager Error -9
Your username does not match the username in the license file.
To run on this computer, you must run the Activation client to reactivate your license.
Is it because I am using a "demo"license?Hello,
I have a very basic matlab file called hello_world.m that just create a simple .csv file. My goal is now to try to execute this matlab script from a Docker container. This is my Dockerfile:
FROM mathworks/matlab:r2024a
ENV MLM_LICENSE_FILE /licenses
USER root
RUN mkdir -p /licenses /matlab_script
COPY license.lic /licenses/license.lic
COPY hello_world.m /matlab_script/hello_world.m
WORKDIR /matlab_script
CMD ["matlab", "-batch", "hello_world"]
The license.lic attatched is a "DEMO" license.
This is the command I use to run my container:
docker run –rm -v $(pwd)/license.lic:/licenses/license.lic matlab-demo
Error l
ogs:
License checkout failed.
License Manager Error -9
Your username does not match the username in the license file.
To run on this computer, you must run the Activation client to reactivate your license.
Is it because I am using a "demo"license? Hello,
I have a very basic matlab file called hello_world.m that just create a simple .csv file. My goal is now to try to execute this matlab script from a Docker container. This is my Dockerfile:
FROM mathworks/matlab:r2024a
ENV MLM_LICENSE_FILE /licenses
USER root
RUN mkdir -p /licenses /matlab_script
COPY license.lic /licenses/license.lic
COPY hello_world.m /matlab_script/hello_world.m
WORKDIR /matlab_script
CMD ["matlab", "-batch", "hello_world"]
The license.lic attatched is a "DEMO" license.
This is the command I use to run my container:
docker run –rm -v $(pwd)/license.lic:/licenses/license.lic matlab-demo
Error l
ogs:
License checkout failed.
License Manager Error -9
Your username does not match the username in the license file.
To run on this computer, you must run the Activation client to reactivate your license.
Is it because I am using a "demo"license? matlab, docker MATLAB Answers — New Questions
How to extract and input arrays from simscape to plot them
In short if i have simple model like this mass-spring system and i want to input an array of spring constant values in the spring constant block and see how the maximum distance change and graph that relation in order to determine something.
Of course thats just for illustration purposes my model on simscape is more complicated than that but i want to know how can i even begin doing something like this, to input an array of values into a simscape block and simulate as many times as array dimension without doing it manually.
I Already know how to extract the data from a signal using to workspace block but this specific task i cant figure it out.In short if i have simple model like this mass-spring system and i want to input an array of spring constant values in the spring constant block and see how the maximum distance change and graph that relation in order to determine something.
Of course thats just for illustration purposes my model on simscape is more complicated than that but i want to know how can i even begin doing something like this, to input an array of values into a simscape block and simulate as many times as array dimension without doing it manually.
I Already know how to extract the data from a signal using to workspace block but this specific task i cant figure it out. In short if i have simple model like this mass-spring system and i want to input an array of spring constant values in the spring constant block and see how the maximum distance change and graph that relation in order to determine something.
Of course thats just for illustration purposes my model on simscape is more complicated than that but i want to know how can i even begin doing something like this, to input an array of values into a simscape block and simulate as many times as array dimension without doing it manually.
I Already know how to extract the data from a signal using to workspace block but this specific task i cant figure it out. matlab, simscape MATLAB Answers — New Questions
Can not use arrays of ui components in app desiger
I am using the app designer to create an app with quite a lot of properties here is a smal sample:
MemValue_1_1 matlab.ui.control.EditField
MemValue_1_2 matlab.ui.control.EditField
MemValue_1_3 matlab.ui.control.EditField
MemValue_1_4 matlab.ui.control.EditField
MemValue_1_5 matlab.ui.control.EditField
MemValue_1_6 matlab.ui.control.EditField
MemValue_1_7 matlab.ui.control.EditField
MemValue_1_8 matlab.ui.control.EditField
MemValue_1_9 matlab.ui.control.EditField
MemValue_1_10 matlab.ui.control.EditField
MemValue_1_11 matlab.ui.control.EditField
MemValue_1_12 matlab.ui.control.EditField
MemValue_1_13 matlab.ui.control.EditField
MemValue_1_14 matlab.ui.control.EditField
MemValue_1_15 matlab.ui.control.EditField
MemValue_1_16 matlab.ui.control.EditField
MemValue_1_17 matlab.ui.control.EditField
MemValue_1_18 matlab.ui.control.EditField
MemValue_1_19 matlab.ui.control.EditField
MemValue_1_20 matlab.ui.control.EditField
MemValue_1_21 matlab.ui.control.EditField
MemValue_1_22 matlab.ui.control.EditField
MemValue_1_23 matlab.ui.control.EditField
MemValue_1_24 matlab.ui.control.EditField
MemValue_1_25 matlab.ui.control.EditField
MemValue_1_26 matlab.ui.control.EditField
MemValue_1_27 matlab.ui.control.EditField
MemValue_1_28 matlab.ui.control.EditField
MemValue_1_29 matlab.ui.control.EditField
MemValue_1_30 matlab.ui.control.EditField
MemValue_1_31 matlab.ui.control.EditField
MemValue_1_32 matlab.ui.control.EditField
MemValue_1_33 matlab.ui.control.EditField
MemValue_1_34 matlab.ui.control.EditField
MemValue_1_35 matlab.ui.control.EditField
MemValue_1_36 matlab.ui.control.EditField
MemValue_1_37 matlab.ui.control.EditField
MemValue_1_38 matlab.ui.control.EditField
MemValue_1_39 matlab.ui.control.EditField
MemValue_1_40 matlab.ui.control.EditField
MemValue_1_41 matlab.ui.control.EditField
MemValue_1_42 matlab.ui.control.EditField
MemValue_1_43 matlab.ui.control.EditField
MemValue_1_44 matlab.ui.control.EditField
MemValue_1_45 matlab.ui.control.EditField
MemValue_1_46 matlab.ui.control.EditField
MemValue_1_47 matlab.ui.control.EditField
MemValue_1_48 matlab.ui.control.EditField
MemValue_1_49 matlab.ui.control.EditField
MemValue_1_50 matlab.ui.control.EditField
MemValue_1_51 matlab.ui.control.EditField
MemValue_1_52 matlab.ui.control.EditField
MemValue_1_53 matlab.ui.control.EditField
MemValue_1_54 matlab.ui.control.EditField
MemValue_1_55 matlab.ui.control.EditField
MemValue_1_56 matlab.ui.control.EditField
MemValue_1_57 matlab.ui.control.EditField
MemValue_1_58 matlab.ui.control.EditField
MemValue_1_59 matlab.ui.control.EditField
MemValue_1_60 matlab.ui.control.EditField
MemValue_1_61 matlab.ui.control.EditField
MemValue_1_62 matlab.ui.control.EditField
MemValue_1_63 matlab.ui.control.EditField
MemValue_1_64 matlab.ui.control.EditField
It should be very ovious that this is bad code and I would like to use an array of MemValues but sadly due to the restrictions of the app designer I can not do that since I would need to modify the code that is not editable in the app designer. Is there any way to solve this issue?
Btw: I know that I can export to .m file where I could do that but I can not reconvert that to the .mlapp fileI am using the app designer to create an app with quite a lot of properties here is a smal sample:
MemValue_1_1 matlab.ui.control.EditField
MemValue_1_2 matlab.ui.control.EditField
MemValue_1_3 matlab.ui.control.EditField
MemValue_1_4 matlab.ui.control.EditField
MemValue_1_5 matlab.ui.control.EditField
MemValue_1_6 matlab.ui.control.EditField
MemValue_1_7 matlab.ui.control.EditField
MemValue_1_8 matlab.ui.control.EditField
MemValue_1_9 matlab.ui.control.EditField
MemValue_1_10 matlab.ui.control.EditField
MemValue_1_11 matlab.ui.control.EditField
MemValue_1_12 matlab.ui.control.EditField
MemValue_1_13 matlab.ui.control.EditField
MemValue_1_14 matlab.ui.control.EditField
MemValue_1_15 matlab.ui.control.EditField
MemValue_1_16 matlab.ui.control.EditField
MemValue_1_17 matlab.ui.control.EditField
MemValue_1_18 matlab.ui.control.EditField
MemValue_1_19 matlab.ui.control.EditField
MemValue_1_20 matlab.ui.control.EditField
MemValue_1_21 matlab.ui.control.EditField
MemValue_1_22 matlab.ui.control.EditField
MemValue_1_23 matlab.ui.control.EditField
MemValue_1_24 matlab.ui.control.EditField
MemValue_1_25 matlab.ui.control.EditField
MemValue_1_26 matlab.ui.control.EditField
MemValue_1_27 matlab.ui.control.EditField
MemValue_1_28 matlab.ui.control.EditField
MemValue_1_29 matlab.ui.control.EditField
MemValue_1_30 matlab.ui.control.EditField
MemValue_1_31 matlab.ui.control.EditField
MemValue_1_32 matlab.ui.control.EditField
MemValue_1_33 matlab.ui.control.EditField
MemValue_1_34 matlab.ui.control.EditField
MemValue_1_35 matlab.ui.control.EditField
MemValue_1_36 matlab.ui.control.EditField
MemValue_1_37 matlab.ui.control.EditField
MemValue_1_38 matlab.ui.control.EditField
MemValue_1_39 matlab.ui.control.EditField
MemValue_1_40 matlab.ui.control.EditField
MemValue_1_41 matlab.ui.control.EditField
MemValue_1_42 matlab.ui.control.EditField
MemValue_1_43 matlab.ui.control.EditField
MemValue_1_44 matlab.ui.control.EditField
MemValue_1_45 matlab.ui.control.EditField
MemValue_1_46 matlab.ui.control.EditField
MemValue_1_47 matlab.ui.control.EditField
MemValue_1_48 matlab.ui.control.EditField
MemValue_1_49 matlab.ui.control.EditField
MemValue_1_50 matlab.ui.control.EditField
MemValue_1_51 matlab.ui.control.EditField
MemValue_1_52 matlab.ui.control.EditField
MemValue_1_53 matlab.ui.control.EditField
MemValue_1_54 matlab.ui.control.EditField
MemValue_1_55 matlab.ui.control.EditField
MemValue_1_56 matlab.ui.control.EditField
MemValue_1_57 matlab.ui.control.EditField
MemValue_1_58 matlab.ui.control.EditField
MemValue_1_59 matlab.ui.control.EditField
MemValue_1_60 matlab.ui.control.EditField
MemValue_1_61 matlab.ui.control.EditField
MemValue_1_62 matlab.ui.control.EditField
MemValue_1_63 matlab.ui.control.EditField
MemValue_1_64 matlab.ui.control.EditField
It should be very ovious that this is bad code and I would like to use an array of MemValues but sadly due to the restrictions of the app designer I can not do that since I would need to modify the code that is not editable in the app designer. Is there any way to solve this issue?
Btw: I know that I can export to .m file where I could do that but I can not reconvert that to the .mlapp file I am using the app designer to create an app with quite a lot of properties here is a smal sample:
MemValue_1_1 matlab.ui.control.EditField
MemValue_1_2 matlab.ui.control.EditField
MemValue_1_3 matlab.ui.control.EditField
MemValue_1_4 matlab.ui.control.EditField
MemValue_1_5 matlab.ui.control.EditField
MemValue_1_6 matlab.ui.control.EditField
MemValue_1_7 matlab.ui.control.EditField
MemValue_1_8 matlab.ui.control.EditField
MemValue_1_9 matlab.ui.control.EditField
MemValue_1_10 matlab.ui.control.EditField
MemValue_1_11 matlab.ui.control.EditField
MemValue_1_12 matlab.ui.control.EditField
MemValue_1_13 matlab.ui.control.EditField
MemValue_1_14 matlab.ui.control.EditField
MemValue_1_15 matlab.ui.control.EditField
MemValue_1_16 matlab.ui.control.EditField
MemValue_1_17 matlab.ui.control.EditField
MemValue_1_18 matlab.ui.control.EditField
MemValue_1_19 matlab.ui.control.EditField
MemValue_1_20 matlab.ui.control.EditField
MemValue_1_21 matlab.ui.control.EditField
MemValue_1_22 matlab.ui.control.EditField
MemValue_1_23 matlab.ui.control.EditField
MemValue_1_24 matlab.ui.control.EditField
MemValue_1_25 matlab.ui.control.EditField
MemValue_1_26 matlab.ui.control.EditField
MemValue_1_27 matlab.ui.control.EditField
MemValue_1_28 matlab.ui.control.EditField
MemValue_1_29 matlab.ui.control.EditField
MemValue_1_30 matlab.ui.control.EditField
MemValue_1_31 matlab.ui.control.EditField
MemValue_1_32 matlab.ui.control.EditField
MemValue_1_33 matlab.ui.control.EditField
MemValue_1_34 matlab.ui.control.EditField
MemValue_1_35 matlab.ui.control.EditField
MemValue_1_36 matlab.ui.control.EditField
MemValue_1_37 matlab.ui.control.EditField
MemValue_1_38 matlab.ui.control.EditField
MemValue_1_39 matlab.ui.control.EditField
MemValue_1_40 matlab.ui.control.EditField
MemValue_1_41 matlab.ui.control.EditField
MemValue_1_42 matlab.ui.control.EditField
MemValue_1_43 matlab.ui.control.EditField
MemValue_1_44 matlab.ui.control.EditField
MemValue_1_45 matlab.ui.control.EditField
MemValue_1_46 matlab.ui.control.EditField
MemValue_1_47 matlab.ui.control.EditField
MemValue_1_48 matlab.ui.control.EditField
MemValue_1_49 matlab.ui.control.EditField
MemValue_1_50 matlab.ui.control.EditField
MemValue_1_51 matlab.ui.control.EditField
MemValue_1_52 matlab.ui.control.EditField
MemValue_1_53 matlab.ui.control.EditField
MemValue_1_54 matlab.ui.control.EditField
MemValue_1_55 matlab.ui.control.EditField
MemValue_1_56 matlab.ui.control.EditField
MemValue_1_57 matlab.ui.control.EditField
MemValue_1_58 matlab.ui.control.EditField
MemValue_1_59 matlab.ui.control.EditField
MemValue_1_60 matlab.ui.control.EditField
MemValue_1_61 matlab.ui.control.EditField
MemValue_1_62 matlab.ui.control.EditField
MemValue_1_63 matlab.ui.control.EditField
MemValue_1_64 matlab.ui.control.EditField
It should be very ovious that this is bad code and I would like to use an array of MemValues but sadly due to the restrictions of the app designer I can not do that since I would need to modify the code that is not editable in the app designer. Is there any way to solve this issue?
Btw: I know that I can export to .m file where I could do that but I can not reconvert that to the .mlapp file appdesigner, array MATLAB Answers — New Questions
Teams Speaker Coach preview – when will it be fully rolled out?
We would like to roll out Speaker Coach to our organization but are hesitant since it is still in “Preview” (since 2022). Is anyone aware of timing on this functionality moving out of Preview?
Preview: Speaker Coach in Microsoft Teams meetings – Microsoft Support
We would like to roll out Speaker Coach to our organization but are hesitant since it is still in “Preview” (since 2022). Is anyone aware of timing on this functionality moving out of Preview? Preview: Speaker Coach in Microsoft Teams meetings – Microsoft Support Read More
Crashes on Google Maps
Version 128.0.2664.0 (Offizielles Build) canary (64-Bit) crashes repeatedly on starting Google Maps.
Version 128.0.2664.0 (Offizielles Build) canary (64-Bit) crashes repeatedly on starting Google Maps. Read More
“Message from yourself” used to spam users.
Hello all,
a User was asking, how he got a message from “himself” he wasn’t writing.
I’m sure he wasn’t sending a spam link to himself.
Is it possible to check “messages with yourself” as admin or reconstruct the situation?
any Ideas?
Hello all,a User was asking, how he got a message from “himself” he wasn’t writing.I’m sure he wasn’t sending a spam link to himself.Is it possible to check “messages with yourself” as admin or reconstruct the situation?any Ideas? Read More
Swiss DCs Partner Update Call June 2024
Please find attached the pdf slides from this quarter’s partner Swiss DCs update call. The recording and AI recap is here: Regular Partner Q&A Call on CH DC-20240621_140141-Meeting Recording.mp4 (sharepoint.com)
Main info covered:
Please find attached the pdf slides from this quarter’s partner Swiss DCs update call. The recording and AI recap is here: Regular Partner Q&A Call on CH DC-20240621_140141-Meeting Recording.mp4 (sharepoint.com)
Main info covered:
New Public Customer Story
Luzerner Kantonsspital with partner Polypoint
Azure
Azure OpenAI GPT-4 Turbo and GPT-4o available as Provisioned Throughput in Switzerland North – PAYG not yet available, will be listed here:https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models
Azure VMware Solution now generally available in Switzerland North
More powerful NVIDIA GPUs NVv5 now generally available in Switzerland North, enabling e.g. resource-intensive applications such as CAD for Virtual Desktop
Azure Storage Actions (preview), a fully managed platform that helps customers automate data management operations for Azure Blob Storage and Azure Data Lake Storage
Please approach me if your customers have a need for further workloads in Swiss DCs
Defender
Announcement Post | LinkedIn
Covered solutions: Microsoft Defender for Endpoint MDE, Microsoft Defender for Identity MDI and Microsoft Defender XDR as underlying platform
Be aware of a few specific points per the pdf or call recording
Next Call
Current call series will be extended, next call will be on Friday Sept 20 2024 14.00
Please approach me if you’d like to join as well Read More
Logic App Email Not Sending
Hello.
I have a Logic App that is supposed to check for Sentinel incidents every 10 minutes and send an email when an incident has been created. This only seems to work about 80% of the time and there is nothing obvious to me why emails aren’t sent for all incidents captured by the query. Run history shows a status of “Succeeded” every time.
Here is the LA;
The Recurrence is 10 minutes.
Query;
SecurityIncident
| where TimeGenerated >= ago(10m)
| summarize arg_max(TimeGenerated, *) by IncidentNumber
| where Severity != “Informational”
| where Severity != “Low”
| where Status != “Closed”
| extend AlertNum = tostring(AlertIds[0])
| extend Generated = format_datetime(datetime_utc_to_local(TimeGenerated, ‘US/Eastern’), “MM/dd/yyyy hh:mm tt”)
| project Title, AlertNum, IncidentNumber, Generated, Severity, Status, IncidentUrl
| join (SecurityAlert
| project SystemAlertId, Description
)
on $left.AlertNum == $right.SystemAlertId
If I run the query outside of the Logic App it always returns the incident.
Within the LA run history the indication is there are no results;
As mentioned, this work about 80% of the time, so the configuration of the Send Email step is properly setup.
Any suggestions appreciated.
Hello.I have a Logic App that is supposed to check for Sentinel incidents every 10 minutes and send an email when an incident has been created. This only seems to work about 80% of the time and there is nothing obvious to me why emails aren’t sent for all incidents captured by the query. Run history shows a status of “Succeeded” every time. Here is the LA;The Recurrence is 10 minutes.Query;SecurityIncident| where TimeGenerated >= ago(10m) | summarize arg_max(TimeGenerated, *) by IncidentNumber| where Severity != “Informational”| where Severity != “Low”| where Status != “Closed”| extend AlertNum = tostring(AlertIds[0])| extend Generated = format_datetime(datetime_utc_to_local(TimeGenerated, ‘US/Eastern’), “MM/dd/yyyy hh:mm tt”) | project Title, AlertNum, IncidentNumber, Generated, Severity, Status, IncidentUrl| join (SecurityAlert| project SystemAlertId, Description)on $left.AlertNum == $right.SystemAlertId If I run the query outside of the Logic App it always returns the incident. Within the LA run history the indication is there are no results;As mentioned, this work about 80% of the time, so the configuration of the Send Email step is properly setup. Any suggestions appreciated. Read More