Month: September 2024
Unknown Tiles in default Documents library (Teams Site)
Hi,
wondering why instead of the big folders I am presented with this as tiles:
I am using the Document library webpart on the home page of a Teams site.
Thank you!
Hi,wondering why instead of the big folders I am presented with this as tiles: I am using the Document library webpart on the home page of a Teams site.Thank you! Read More
Formula help
=IF($G8=”yearly”,$Y8*(1+$H8),Y8*(1+$I8))
In this formula Y8 is a growth rate that changes every 12 months. How can i update the formula that it will move that cell reference every 12 cells? I have added year markers but not sure how to reference them
=IF($G8=”yearly”,$Y8*(1+$H8),Y8*(1+$I8)) In this formula Y8 is a growth rate that changes every 12 months. How can i update the formula that it will move that cell reference every 12 cells? I have added year markers but not sure how to reference them Read More
Best way for staff to update monthly text field
Hello, I would like ideas on the best ways for staff to update a text field for monthly report. They have to update the list item monthly until it is marked complete.
My thought is I could create a column for all 12 months, and then manually hide/show each month? I know this isn’t efficient.
If there is a flow that goes along with this as well then I am open to it.
Hello, I would like ideas on the best ways for staff to update a text field for monthly report. They have to update the list item monthly until it is marked complete. My thought is I could create a column for all 12 months, and then manually hide/show each month? I know this isn’t efficient. If there is a flow that goes along with this as well then I am open to it. Read More
MATLAB – Read GRIB Data
Background:
I want to import meteorological data (wind speed, temperature as a function of position and altitude) in the GRIB-format into Matlab.
Status:
While googling I found this Matlab-Grib-Reader: <http://www.mathworks.com/matlabcentr…exchange/21579>
The Matlab Grib-Reader requires CDI libraries from here: <https://code.zmaw.de/projects/cdi/files>
The libraries must be compiled with the own machine, i used this terminal commands:
./configure CFLAGS=-fPIC CPPFLAGS=-fPIC –enable-shared
make
I copied the resulting libcdi.a library into the lib64 folder, and executed compile.m which gave me the following:
COMPILING cdi_varlist…
cdi_mx.c: In function ‘getLevel’:
cdi_mx.c:431: warning: incompatible implicit declaration of built-in function ‘modf’
Undefined symbols for architecture x86_64:
"_Warning", referenced from:
_getLevel in cdi_mx.o
(maybe you meant: _Warning_)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
mex: link of ‘ "cdi_varlist.mexmaci64"’ failed.
Error using mex (line 206)
Unable to complete successfully.
Error in compile (line 15)
mex cdi_varlist.c cdi_mx.c -Iinclude -Llib64 -lcdi -lnetcdf
Who can help?
PS: Matlab 2012a, Mac OS X 10.8.2, Xcode 4.6Background:
I want to import meteorological data (wind speed, temperature as a function of position and altitude) in the GRIB-format into Matlab.
Status:
While googling I found this Matlab-Grib-Reader: <http://www.mathworks.com/matlabcentr…exchange/21579>
The Matlab Grib-Reader requires CDI libraries from here: <https://code.zmaw.de/projects/cdi/files>
The libraries must be compiled with the own machine, i used this terminal commands:
./configure CFLAGS=-fPIC CPPFLAGS=-fPIC –enable-shared
make
I copied the resulting libcdi.a library into the lib64 folder, and executed compile.m which gave me the following:
COMPILING cdi_varlist…
cdi_mx.c: In function ‘getLevel’:
cdi_mx.c:431: warning: incompatible implicit declaration of built-in function ‘modf’
Undefined symbols for architecture x86_64:
"_Warning", referenced from:
_getLevel in cdi_mx.o
(maybe you meant: _Warning_)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
mex: link of ‘ "cdi_varlist.mexmaci64"’ failed.
Error using mex (line 206)
Unable to complete successfully.
Error in compile (line 15)
mex cdi_varlist.c cdi_mx.c -Iinclude -Llib64 -lcdi -lnetcdf
Who can help?
PS: Matlab 2012a, Mac OS X 10.8.2, Xcode 4.6 Background:
I want to import meteorological data (wind speed, temperature as a function of position and altitude) in the GRIB-format into Matlab.
Status:
While googling I found this Matlab-Grib-Reader: <http://www.mathworks.com/matlabcentr…exchange/21579>
The Matlab Grib-Reader requires CDI libraries from here: <https://code.zmaw.de/projects/cdi/files>
The libraries must be compiled with the own machine, i used this terminal commands:
./configure CFLAGS=-fPIC CPPFLAGS=-fPIC –enable-shared
make
I copied the resulting libcdi.a library into the lib64 folder, and executed compile.m which gave me the following:
COMPILING cdi_varlist…
cdi_mx.c: In function ‘getLevel’:
cdi_mx.c:431: warning: incompatible implicit declaration of built-in function ‘modf’
Undefined symbols for architecture x86_64:
"_Warning", referenced from:
_getLevel in cdi_mx.o
(maybe you meant: _Warning_)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
mex: link of ‘ "cdi_varlist.mexmaci64"’ failed.
Error using mex (line 206)
Unable to complete successfully.
Error in compile (line 15)
mex cdi_varlist.c cdi_mx.c -Iinclude -Llib64 -lcdi -lnetcdf
Who can help?
PS: Matlab 2012a, Mac OS X 10.8.2, Xcode 4.6 grib compile mex MATLAB Answers — New Questions
Problems Reading GRiB files with NCTOOLBOX
Greetings,
I use MATLAB 2013a on a Windows 7 platform and am having trouble reading GRiB files with the NCTOOLBOX package (downloaded from https://github.com/nctoolbox/nctoolbox). The package reads netcdf fine….but gives a whole slew of errors for GRiB (yes I verified the GRiB was good).
My question is……is anyone having trouble reading GRiB on Windows platforms? If not, what are you using to read the data?Greetings,
I use MATLAB 2013a on a Windows 7 platform and am having trouble reading GRiB files with the NCTOOLBOX package (downloaded from https://github.com/nctoolbox/nctoolbox). The package reads netcdf fine….but gives a whole slew of errors for GRiB (yes I verified the GRiB was good).
My question is……is anyone having trouble reading GRiB on Windows platforms? If not, what are you using to read the data? Greetings,
I use MATLAB 2013a on a Windows 7 platform and am having trouble reading GRiB files with the NCTOOLBOX package (downloaded from https://github.com/nctoolbox/nctoolbox). The package reads netcdf fine….but gives a whole slew of errors for GRiB (yes I verified the GRiB was good).
My question is……is anyone having trouble reading GRiB on Windows platforms? If not, what are you using to read the data? read grib, windows MATLAB Answers — New Questions
what the logarithm of 85.64/5.946
please can youanswer te quesustionplease can youanswer te quesustion please can youanswer te quesustion please answer MATLAB Answers — New Questions
Problems with reward generation in reinforcement learning simulation
Hi everyone,
I am currently running a reinforcement learning model, integrated with simevents blocks in simulink. I have both a reinforcement learning script and the RL agent present in the simulink. Currently my reward function works based on a matlab function block that is connected to the reward input of RL agent block. I am facing an issue of constant reward generated throughout the entire episodes of RL iteration. Any ideas why? Because I try to assign the reward function (code below) as simple as possible, extract values from the entities of simevents, to generate values that are supposed to be different with each iteration.
function r = w(u1, u2, u3) %#codegen
% Extract Entities
FH = u1 + 1;
Cost = u2 + 1;
Downtime = u3 + 1;
% Reward calculation based on values
r = (Downtime/Cost) * FH;
end
There seems to be a problem as well because this reward area is red, eventhough the simulation runs normally.
I uploaded my model and a screenshot of the RL training result of the reward. If you are interested to replicate my results here are the steps:
Run script A.mlx to generate random number set A
Run script B.mlx to generate random number set B
Run MainScript.mlx to run the simulation
Thank you so much in advance! Let me know should you require any further information.
Best,
Aaron.Hi everyone,
I am currently running a reinforcement learning model, integrated with simevents blocks in simulink. I have both a reinforcement learning script and the RL agent present in the simulink. Currently my reward function works based on a matlab function block that is connected to the reward input of RL agent block. I am facing an issue of constant reward generated throughout the entire episodes of RL iteration. Any ideas why? Because I try to assign the reward function (code below) as simple as possible, extract values from the entities of simevents, to generate values that are supposed to be different with each iteration.
function r = w(u1, u2, u3) %#codegen
% Extract Entities
FH = u1 + 1;
Cost = u2 + 1;
Downtime = u3 + 1;
% Reward calculation based on values
r = (Downtime/Cost) * FH;
end
There seems to be a problem as well because this reward area is red, eventhough the simulation runs normally.
I uploaded my model and a screenshot of the RL training result of the reward. If you are interested to replicate my results here are the steps:
Run script A.mlx to generate random number set A
Run script B.mlx to generate random number set B
Run MainScript.mlx to run the simulation
Thank you so much in advance! Let me know should you require any further information.
Best,
Aaron. Hi everyone,
I am currently running a reinforcement learning model, integrated with simevents blocks in simulink. I have both a reinforcement learning script and the RL agent present in the simulink. Currently my reward function works based on a matlab function block that is connected to the reward input of RL agent block. I am facing an issue of constant reward generated throughout the entire episodes of RL iteration. Any ideas why? Because I try to assign the reward function (code below) as simple as possible, extract values from the entities of simevents, to generate values that are supposed to be different with each iteration.
function r = w(u1, u2, u3) %#codegen
% Extract Entities
FH = u1 + 1;
Cost = u2 + 1;
Downtime = u3 + 1;
% Reward calculation based on values
r = (Downtime/Cost) * FH;
end
There seems to be a problem as well because this reward area is red, eventhough the simulation runs normally.
I uploaded my model and a screenshot of the RL training result of the reward. If you are interested to replicate my results here are the steps:
Run script A.mlx to generate random number set A
Run script B.mlx to generate random number set B
Run MainScript.mlx to run the simulation
Thank you so much in advance! Let me know should you require any further information.
Best,
Aaron. matlab, simulink, matlab function MATLAB Answers — New Questions
How to create a initialize function for a custom layer where the learnable parameters have same size of input?
I want to form a initialize function inside a custom layer where the learnable parameters have same size as the unknown input size. Is it possible? I understood from Define Custom Deep Learning Layer with Learnable Parameters – MATLAB & Simulink – MathWorks India that this can be acquired by utilizing networkDataLayout objects. For instance while creating the deep learning network matlab will analyze the network by using input having a batch size ‘1’ and later on training it will change based on the batch size that we provide in the training options. Is there any way to initialize the custom layer in that way?I want to form a initialize function inside a custom layer where the learnable parameters have same size as the unknown input size. Is it possible? I understood from Define Custom Deep Learning Layer with Learnable Parameters – MATLAB & Simulink – MathWorks India that this can be acquired by utilizing networkDataLayout objects. For instance while creating the deep learning network matlab will analyze the network by using input having a batch size ‘1’ and later on training it will change based on the batch size that we provide in the training options. Is there any way to initialize the custom layer in that way? I want to form a initialize function inside a custom layer where the learnable parameters have same size as the unknown input size. Is it possible? I understood from Define Custom Deep Learning Layer with Learnable Parameters – MATLAB & Simulink – MathWorks India that this can be acquired by utilizing networkDataLayout objects. For instance while creating the deep learning network matlab will analyze the network by using input having a batch size ‘1’ and later on training it will change based on the batch size that we provide in the training options. Is there any way to initialize the custom layer in that way? signal processing, digital signal processing, image processing, digital image processing, deep learning, machine learning, matlab, matlab gui, matrix manipulation, matrix MATLAB Answers — New Questions
365 Apps Admin Center – certain devices not showing "last user" data.
Good afternoon Everyone.
During some routine checks, we found that machines onboarded since jjjjj have blank data for “Last Contact”. “Last User” and “Last Email” in the 365 Apps Admin Center Inventory.
ENTRA and INTUNE have Colleagues correctly assigned but blank in 365 AAC.
Has anyone seen or hopefully rectified this previously?
Thanks in advance.
Good afternoon Everyone. During some routine checks, we found that machines onboarded since jjjjj have blank data for “Last Contact”. “Last User” and “Last Email” in the 365 Apps Admin Center Inventory. ENTRA and INTUNE have Colleagues correctly assigned but blank in 365 AAC. Has anyone seen or hopefully rectified this previously?Thanks in advance. Read More
Looking for integrated it helpdesk and remote desktop control solutions
We have been looking to replace our current remote control / remote desktop support tool (Comodo One/ Xcitium) for a while now, and have looked at Team Viewer, but find it lacking, as we also would like an integrated Help Desk product that could perhaps be used corporate wide not just for IT Support. I have done quite a bit of research but can’t find anything reasonably priced with the feature we need. Some have Teams integration but not a very good help desk solution. Could be we will need to invest in multiple products.
We have been looking to replace our current remote control / remote desktop support tool (Comodo One/ Xcitium) for a while now, and have looked at Team Viewer, but find it lacking, as we also would like an integrated Help Desk product that could perhaps be used corporate wide not just for IT Support. I have done quite a bit of research but can’t find anything reasonably priced with the feature we need. Some have Teams integration but not a very good help desk solution. Could be we will need to invest in multiple products. Read More
Excluding machines from agentless scanning for machines at scale
We can configure the exclusion of machines based on tags in the environment settings under Defender plans > Settings & monitoring at the subscription level. This process is detailed in the documentation.
However, configuring the exclusion of certain tags for all subscriptions at scale is not straightforward. Neither the Configure Microsoft Defender for Servers plan nor the Configure Microsoft Defender CSPM plan Azure Policy provides such a parameter.
The following PowerShell command works:
Set-AzSecurityPricing -Name “CloudPosture” -PricingTier “Standard” -Extension ‘[{“name”:”SensitiveDataDiscovery”,”isEnabled”:”True”,”additionalExtensionProperties”:null},{“name”:”ContainerRegistriesVulnerabilityAssessments”,”isEnabled”:”True”,”additionalExtensionProperties”:null},{“name”:”AgentlessDiscoveryForKubernetes”,”isEnabled”:”True”,”additionalExtensionProperties”:null},{“name”:”AgentlessVmScanning”,”isEnabled”:”True”,”additionalExtensionProperties”:{“ExclusionTags”:”[{“key”:”Microsoft”,”value”:”Defender”},{“key”:”For”,”value”:”Cloud”}]”}}]’
Is directly calling the Azure Resource Manager API (e.g. via Az PowerShell) for every subscription or creating a custom Azure Policy definition the only option? Would be great if this is supported by the built-in policy definition.
We can configure the exclusion of machines based on tags in the environment settings under Defender plans > Settings & monitoring at the subscription level. This process is detailed in the documentation. However, configuring the exclusion of certain tags for all subscriptions at scale is not straightforward. Neither the Configure Microsoft Defender for Servers plan nor the Configure Microsoft Defender CSPM plan Azure Policy provides such a parameter. The following PowerShell command works: Set-AzSecurityPricing -Name “CloudPosture” -PricingTier “Standard” -Extension ‘[{“name”:”SensitiveDataDiscovery”,”isEnabled”:”True”,”additionalExtensionProperties”:null},{“name”:”ContainerRegistriesVulnerabilityAssessments”,”isEnabled”:”True”,”additionalExtensionProperties”:null},{“name”:”AgentlessDiscoveryForKubernetes”,”isEnabled”:”True”,”additionalExtensionProperties”:null},{“name”:”AgentlessVmScanning”,”isEnabled”:”True”,”additionalExtensionProperties”:{“ExclusionTags”:”[{“key”:”Microsoft”,”value”:”Defender”},{“key”:”For”,”value”:”Cloud”}]”}}]’ Is directly calling the Azure Resource Manager API (e.g. via Az PowerShell) for every subscription or creating a custom Azure Policy definition the only option? Would be great if this is supported by the built-in policy definition. Read More
Formula Fix
The formula worked perfectly fine until I added 2 columns. I’m just trying to adjust 2 numbers but the formula will not let me. This may be a data validation issue but I am not sure. Here is the formula: =INDEX(‘Hard Keys Inventory’!$A:$AA,XMATCH(LEFT([@Room],3),LEFT(‘Hard Keys Inventory’!$A:$A,3)),SWITCH(MID([@Room],4,1),””,3,”A”,11,”B”,19)). The 2 numbers I needs changed are 11 & 19 at the end of the formula. The 11 needs to be changed to 12 and the 19 needs to be changed to 21 I believe. When I change the numbers I get the following message “This field is calculated using a formula and should not be entered manually. Please click ‘CANCEL'”. This message is an Error Alert in Data Validation with a Style of Stop. I just need to know how to fix this issue.
Would you please help me out here?
Carl
@m_tarler Formula Change/Fix Key Log FixThe formula worked perfectly fine until I added 2 columns. I’m just trying to adjust 2 numbers but the formula will not let me. This may be a data validation issue but I am not sure. Here is the formula: =INDEX(‘Hard Keys Inventory’!$A:$AA,XMATCH(LEFT([@Room],3),LEFT(‘Hard Keys Inventory’!$A:$A,3)),SWITCH(MID([@Room],4,1),””,3,”A”,11,”B”,19)). The 2 numbers I needs changed are 11 & 19 at the end of the formula. The 11 needs to be changed to 12 and the 19 needs to be changed to 21 I believe. When I change the numbers I get the following message “This field is calculated using a formula and should not be entered manually. Please click ‘CANCEL'”. This message is an Error Alert in Data Validation with a Style of Stop. I just need to know how to fix this issue. Would you please help me out here? Carl Read More
moving median with variable window
Is there any way how to effectively generalize movmedian function to work with variable window length or local variable k-point median values, where k is vector with the same length as length of input vector (lenght(x) = lenght(k))?
Example:
x = 1:6
k = 2,3,3,5,3,2
M = movmedian_vk(x,k)
M = 1, 2, 3, 4, 5, 5.5
My naive solution looks like:
function M = movmedian_vk(x,k)
if length(k) ~= length(x)
error(‘Incomaptible input data’)
end
M = zeros(size(x));
[uk,~,ck] = unique(k);
for i = 1:length(uk)
M_i = movmedian(x,uk(i));
I_i = (ck == i);
M(I_i) = M_i(I_i);
end
endIs there any way how to effectively generalize movmedian function to work with variable window length or local variable k-point median values, where k is vector with the same length as length of input vector (lenght(x) = lenght(k))?
Example:
x = 1:6
k = 2,3,3,5,3,2
M = movmedian_vk(x,k)
M = 1, 2, 3, 4, 5, 5.5
My naive solution looks like:
function M = movmedian_vk(x,k)
if length(k) ~= length(x)
error(‘Incomaptible input data’)
end
M = zeros(size(x));
[uk,~,ck] = unique(k);
for i = 1:length(uk)
M_i = movmedian(x,uk(i));
I_i = (ck == i);
M(I_i) = M_i(I_i);
end
end Is there any way how to effectively generalize movmedian function to work with variable window length or local variable k-point median values, where k is vector with the same length as length of input vector (lenght(x) = lenght(k))?
Example:
x = 1:6
k = 2,3,3,5,3,2
M = movmedian_vk(x,k)
M = 1, 2, 3, 4, 5, 5.5
My naive solution looks like:
function M = movmedian_vk(x,k)
if length(k) ~= length(x)
error(‘Incomaptible input data’)
end
M = zeros(size(x));
[uk,~,ck] = unique(k);
for i = 1:length(uk)
M_i = movmedian(x,uk(i));
I_i = (ck == i);
M(I_i) = M_i(I_i);
end
end moving, median MATLAB Answers — New Questions
Simulink Desktop Real-Time Kernel error: Maximum supported number of timers exceeded?
Hi all,
I’m using the Simulink Desktop Real-Time toolbox in MATLAB 2024a Update 6.
I’m on Windows 10 with Hyper-V and High Precision Event Timer enabled.
I’m reading and writing quite a lot (100+) of CAN and CAN-FD frames using the Packet Input and Packet Output blocks.
I’m using both the ‘Connected IO’ and ‘Run in Kernel’ modes depending on my needs: ‘Connected IO’ allows more interactivity whereas ‘Run in Kernel’ guarantees real-time performance.
I used to use CAN FD Receive and CAN FD Transmit blocks from the Vehicle Network toolbox, which I prefered because they allowed me to receive and send multiple CAN(FD) frames with a single block. But unfortunately they’re not compatible with the ‘Run in Kernel’ mode (see this answer).
My issue is that I have so many Packet Input and Packet Output blocks, that I get this error in ‘Connected IO’ mode :
Error reported by S-function ‘sldrtsync’:
Maximum supported number of timers exceeded.
What is the maximum number of timers allowed?
Is there a way to increase this number (in the toolbox options maybe?), or is it hard-coded in the real-time kernel?
What would be the alternatives to send/receive many CAN(FD) frames in ‘Connected IO’ mode ?
Thank youHi all,
I’m using the Simulink Desktop Real-Time toolbox in MATLAB 2024a Update 6.
I’m on Windows 10 with Hyper-V and High Precision Event Timer enabled.
I’m reading and writing quite a lot (100+) of CAN and CAN-FD frames using the Packet Input and Packet Output blocks.
I’m using both the ‘Connected IO’ and ‘Run in Kernel’ modes depending on my needs: ‘Connected IO’ allows more interactivity whereas ‘Run in Kernel’ guarantees real-time performance.
I used to use CAN FD Receive and CAN FD Transmit blocks from the Vehicle Network toolbox, which I prefered because they allowed me to receive and send multiple CAN(FD) frames with a single block. But unfortunately they’re not compatible with the ‘Run in Kernel’ mode (see this answer).
My issue is that I have so many Packet Input and Packet Output blocks, that I get this error in ‘Connected IO’ mode :
Error reported by S-function ‘sldrtsync’:
Maximum supported number of timers exceeded.
What is the maximum number of timers allowed?
Is there a way to increase this number (in the toolbox options maybe?), or is it hard-coded in the real-time kernel?
What would be the alternatives to send/receive many CAN(FD) frames in ‘Connected IO’ mode ?
Thank you Hi all,
I’m using the Simulink Desktop Real-Time toolbox in MATLAB 2024a Update 6.
I’m on Windows 10 with Hyper-V and High Precision Event Timer enabled.
I’m reading and writing quite a lot (100+) of CAN and CAN-FD frames using the Packet Input and Packet Output blocks.
I’m using both the ‘Connected IO’ and ‘Run in Kernel’ modes depending on my needs: ‘Connected IO’ allows more interactivity whereas ‘Run in Kernel’ guarantees real-time performance.
I used to use CAN FD Receive and CAN FD Transmit blocks from the Vehicle Network toolbox, which I prefered because they allowed me to receive and send multiple CAN(FD) frames with a single block. But unfortunately they’re not compatible with the ‘Run in Kernel’ mode (see this answer).
My issue is that I have so many Packet Input and Packet Output blocks, that I get this error in ‘Connected IO’ mode :
Error reported by S-function ‘sldrtsync’:
Maximum supported number of timers exceeded.
What is the maximum number of timers allowed?
Is there a way to increase this number (in the toolbox options maybe?), or is it hard-coded in the real-time kernel?
What would be the alternatives to send/receive many CAN(FD) frames in ‘Connected IO’ mode ?
Thank you can, sldrt MATLAB Answers — New Questions
Creating a standalone .exe of an .m file that calls a simulink model
Hi,
I have a .m file that controls a gui. A slider in the gui is used as input for a simulink model. My goal is to create a standalone of this whole application, that runs on a PC where neither Matlab nor Simulink are installed.
My approach so far is to generate a standalone .exe out of the simulink model, modify the .m script to pass the input values to this .exe and get the output values, and then generate a .exe out of the .m script.
I have several questions on how to do this:
# Is this the correct approach or would it be better to create a dll out of the simulink model?
# If this is the way to go, which target in the code generation allows the easiest passing of values to the simulink model .exe? I found three different options: ert_shrlib (host based shared library), grt (Generic Realtime Target) and rsim (Rapid Simulation Target). Which of these should I use?
# Are there any step-by-step instructions on how to accomplish this? Or even examples of a similar project?
Thanks you very much!Hi,
I have a .m file that controls a gui. A slider in the gui is used as input for a simulink model. My goal is to create a standalone of this whole application, that runs on a PC where neither Matlab nor Simulink are installed.
My approach so far is to generate a standalone .exe out of the simulink model, modify the .m script to pass the input values to this .exe and get the output values, and then generate a .exe out of the .m script.
I have several questions on how to do this:
# Is this the correct approach or would it be better to create a dll out of the simulink model?
# If this is the way to go, which target in the code generation allows the easiest passing of values to the simulink model .exe? I found three different options: ert_shrlib (host based shared library), grt (Generic Realtime Target) and rsim (Rapid Simulation Target). Which of these should I use?
# Are there any step-by-step instructions on how to accomplish this? Or even examples of a similar project?
Thanks you very much! Hi,
I have a .m file that controls a gui. A slider in the gui is used as input for a simulink model. My goal is to create a standalone of this whole application, that runs on a PC where neither Matlab nor Simulink are installed.
My approach so far is to generate a standalone .exe out of the simulink model, modify the .m script to pass the input values to this .exe and get the output values, and then generate a .exe out of the .m script.
I have several questions on how to do this:
# Is this the correct approach or would it be better to create a dll out of the simulink model?
# If this is the way to go, which target in the code generation allows the easiest passing of values to the simulink model .exe? I found three different options: ert_shrlib (host based shared library), grt (Generic Realtime Target) and rsim (Rapid Simulation Target). Which of these should I use?
# Are there any step-by-step instructions on how to accomplish this? Or even examples of a similar project?
Thanks you very much! simulink, matlab MATLAB Answers — New Questions
CORRECT THE FOLLOWING MATLAB SCRIPT, error in =untitled3 (line 8) / sys = ss(A, B, C, D); ???
% Definisikan matriks G
G = [
1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0;
0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1;
1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1;
0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0;
0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0;
0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1;
];
% Misalkan A, B, C, D adalah matriks untuk sistem ruang keadaan
A = eye(8); % Matriks A identitas ukuran 8×8
B = ones(8, 1); % Matriks B ukuran 8×1 dengan semua elemen 1
C = G; % Menggunakan G sebagai matriks C
D = zeros(size(C, 1), size(B, 2)); % Matriks D ukuran (8×1)
% Buat model ruang keadaan
sys = ss(A, B, C, D); % Buat model ruang keadaan
% Analisis sistem
figure; % Membuat figure baru untuk plot
step(sys); % Analisis respons langkah
title(‘Respons Langkah Sistem Ruang Keadaan’); % Tambahkan judul
grid on; % Tambahkan grid untuk memperjelas plot% Definisikan matriks G
G = [
1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0;
0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1;
1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1;
0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0;
0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0;
0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1;
];
% Misalkan A, B, C, D adalah matriks untuk sistem ruang keadaan
A = eye(8); % Matriks A identitas ukuran 8×8
B = ones(8, 1); % Matriks B ukuran 8×1 dengan semua elemen 1
C = G; % Menggunakan G sebagai matriks C
D = zeros(size(C, 1), size(B, 2)); % Matriks D ukuran (8×1)
% Buat model ruang keadaan
sys = ss(A, B, C, D); % Buat model ruang keadaan
% Analisis sistem
figure; % Membuat figure baru untuk plot
step(sys); % Analisis respons langkah
title(‘Respons Langkah Sistem Ruang Keadaan’); % Tambahkan judul
grid on; % Tambahkan grid untuk memperjelas plot % Definisikan matriks G
G = [
1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0;
0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0;
0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0;
0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1;
1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1;
0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0;
0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0;
0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1;
];
% Misalkan A, B, C, D adalah matriks untuk sistem ruang keadaan
A = eye(8); % Matriks A identitas ukuran 8×8
B = ones(8, 1); % Matriks B ukuran 8×1 dengan semua elemen 1
C = G; % Menggunakan G sebagai matriks C
D = zeros(size(C, 1), size(B, 2)); % Matriks D ukuran (8×1)
% Buat model ruang keadaan
sys = ss(A, B, C, D); % Buat model ruang keadaan
% Analisis sistem
figure; % Membuat figure baru untuk plot
step(sys); % Analisis respons langkah
title(‘Respons Langkah Sistem Ruang Keadaan’); % Tambahkan judul
grid on; % Tambahkan grid untuk memperjelas plot #help MATLAB Answers — New Questions
Frustrated with repetitive tasks – help?
Hi Community,
I’m wondering if you can help me with two Co-Pilot question for our startup …
I found that it’s obviously a super helpful notetaker, but two frustrations that I’ve had are:
1. I do a lot of repetitive tasks for sales meetings … scheduling, putting in an agenda, sending out an email, … it’s just seems odd that I’m doing this all manually because it is very monotonous and time-consuming to do so. Is there Co-pilot use case that I’m missing?
2. Company Context – I don’t expect Co-Pilot to replace my copywriter, but I’d like it to confidently nail our value prop in communications because it has access to alllll our brand, strategy, positioning docs. Somehow, I find even after multiple prompts it doesn’t get it. I think it has access to TOO MUCH stuff almost and it gets lost in the mix.
Any help??
Hi Community, I’m wondering if you can help me with two Co-Pilot question for our startup …I found that it’s obviously a super helpful notetaker, but two frustrations that I’ve had are: 1. I do a lot of repetitive tasks for sales meetings … scheduling, putting in an agenda, sending out an email, … it’s just seems odd that I’m doing this all manually because it is very monotonous and time-consuming to do so. Is there Co-pilot use case that I’m missing? 2. Company Context – I don’t expect Co-Pilot to replace my copywriter, but I’d like it to confidently nail our value prop in communications because it has access to alllll our brand, strategy, positioning docs. Somehow, I find even after multiple prompts it doesn’t get it. I think it has access to TOO MUCH stuff almost and it gets lost in the mix. Any help?? Read More
PowerBI – Creating a top5 chart from sharepoint list columns
Hi guys!
Im having troubles here creating a top5 for my completed trainings, here is the situation:
The purpose of this file is to create KPIs from my sharepoint lists, one of them is the training that have a status of completed, having a card with the total completed trainings (already done) and a ring chart representing the top5.
Sharepoint lists:
AcademyTrainings list columns: TrainingId, TrainingName, and others
AcademyUsercfg list columns: AuthorId, Country
AcademyStatus list columns: TrainingStatusIdId, AuthorId, TrainingId.TrainingId(lookup column from trainings), TrainingId.TrainingName(lookup column from trainings).
AcademyLogs list columns: TrainingStatusIdId, AuthorId
Calendar powerbi table: normal calendar format type
RegionsFinalCount powerbi table: table with two columns -> Country, and Region, with every continent and country.
So my problem basically is, when I create an active relationship between my usercfg sp list, and my regions powerbi table, connecting Country – Country, my topn stops being a top5, as u can see in the image below, so it ignores the topn measure, and just exposes all the completed trainings. Here are the measures im using:
This is the table I created to only get, from the status list, the completed trainings. This way I get the individual quantity, and their name.
-> this is counting all my trainings that have a status of completed.
Completeds = CALCULATE(COUNTROWS(‘AcademyStatus’), ‘AcademyStatus'[TrainingStatusIdId] = “Completed”)
-> this is the topn measure I use for my top5.
Hi guys! Im having troubles here creating a top5 for my completed trainings, here is the situation: The purpose of this file is to create KPIs from my sharepoint lists, one of them is the training that have a status of completed, having a card with the total completed trainings (already done) and a ring chart representing the top5. Sharepoint lists:AcademyTrainings list columns: TrainingId, TrainingName, and othersAcademyUsercfg list columns: AuthorId, CountryAcademyStatus list columns: TrainingStatusIdId, AuthorId, TrainingId.TrainingId(lookup column from trainings), TrainingId.TrainingName(lookup column from trainings).AcademyLogs list columns: TrainingStatusIdId, AuthorIdCalendar powerbi table: normal calendar format typeRegionsFinalCount powerbi table: table with two columns -> Country, and Region, with every continent and country. So my problem basically is, when I create an active relationship between my usercfg sp list, and my regions powerbi table, connecting Country – Country, my topn stops being a top5, as u can see in the image below, so it ignores the topn measure, and just exposes all the completed trainings. Here are the measures im using:This is the table I created to only get, from the status list, the completed trainings. This way I get the individual quantity, and their name.Completed Table = ADDCOLUMNS (FILTER’AcademyStatus’,),’AcademyStatus’ [TrainingStatusIdId] =”Completed””Skills”, RELATED (AcademyTrainings’ [Skills]) -> this is counting all my trainings that have a status of completed.Completeds = CALCULATE(COUNTROWS(‘AcademyStatus’), ‘AcademyStatus'[TrainingStatusIdId] = “Completed”) -> this is the topn measure I use for my top5.Top5 =CALCULATESUMX(TOPN(5,),),ADDCOLUMNS (),VALUES (‘AcademyStatus’ [TrainingId. TrainingName]),”CompletedCount”, [CompletedTrainings][CompletedCount], DESC[CompletedCount]USERELATIONSHIP(‘AcademyStatus’ [Created], ‘Calendar [Date]),ALLSELECTED(‘RegionsFinalCount [Region])) How should I correct it? I’ve tried everything. Im gonna write down the relationships between all my tables/lists to complement the overall explanation: AcademyTrainings:1st – trainingId with trainingId.trainingId from Status list2nd – trainingId with trainingId from logs listUsercfg list: 1st – country with country from RegionsFinalCount2nd – authorid with authorid from status list3rd – authorid with authorid from logs list Basically, a user enters the website, stays registered in usercfg list, we get his name, country, etc. he can do several trainings, which come from academytraining list. Then, he completes a training, his action goes to logs and status list, the trainingName, trainingid, and trainingstatus. And what I wanna do here is to filter the completed trainings by a regions segmentation filter I created with the continents, im currently clicking on them and they all work, but the results aren’t a top5, the active relationship between regionsfinalcount and usercfg list seems to kill it, but its the only way I got to be able to filter my top5 chart by region 😕 Can anyone help? Thank you! Read More
جلب الحبيب بالمرمرية (:01040.581277 002 -) شيخ روحاني عالمى
جلب الحبيب :eight_spoked_asterisk:40581277-002010
شيخ روحاني ، رقم شيخ روحاني ، ، شيخ روحاني السعودية ، جلب الحبيب السعودية
جلب الحبيب :eight_spoked_asterisk:40581277-002010شيخ روحاني ، رقم شيخ روحاني ، ، شيخ روحاني السعودية ، جلب الحبيب السعودية Read More
Issue for renew action pack
Very erratic experience we had. We have raised ticket with MS. Multiple times verification status rejected and last 2 days before all verification completed, we are chasing . We shared details over email with support consultant no response from Microsoft.
Below is tracking ID
TrackingID#2409160010002325
Please MS I request to do verification at earliest or extend period renew. We are wanting to renew but due to this verification process but unable to proceed. Very disappointed with services and assistance.
Very erratic experience we had. We have raised ticket with MS. Multiple times verification status rejected and last 2 days before all verification completed, we are chasing . We shared details over email with support consultant no response from Microsoft. Below is tracking ID TrackingID#2409160010002325Please MS I request to do verification at earliest or extend period renew. We are wanting to renew but due to this verification process but unable to proceed. Very disappointed with services and assistance. Read More