Category: News
Why does the update installer fail with “Error: ENOENT: no such file or directory” and mentions an appdata folder?
Why do I receive the error "Error: ENOENT: no such file or directory, scandir ‘C:Program FilesMATLABR20XXyappdataproducts’"Why do I receive the error "Error: ENOENT: no such file or directory, scandir ‘C:Program FilesMATLABR20XXyappdataproducts’" Why do I receive the error "Error: ENOENT: no such file or directory, scandir ‘C:Program FilesMATLABR20XXyappdataproducts’" MATLAB Answers — New Questions
Help to create a continuous surface heatmap
Dear experts –
I want to create a continuous 1D surface heatmap for every data point, with Distance (ft) in the X-direction and Temperature in the Y-direction. I have no idea how to do it. Please, can someone helps me with that.
Here I attached a sample of my data.
Thank you!Dear experts –
I want to create a continuous 1D surface heatmap for every data point, with Distance (ft) in the X-direction and Temperature in the Y-direction. I have no idea how to do it. Please, can someone helps me with that.
Here I attached a sample of my data.
Thank you! Dear experts –
I want to create a continuous 1D surface heatmap for every data point, with Distance (ft) in the X-direction and Temperature in the Y-direction. I have no idea how to do it. Please, can someone helps me with that.
Here I attached a sample of my data.
Thank you! heatmap MATLAB Answers — New Questions
Ediscovery Premium Search of One Drive Data
Hi,
I’m trying to select all one drive data for an ediscovery search, but I want to ignore a specific folder, containing personal data.
Whereas using DocumentLink:”https://tenant-my.sharepoint.com/personal/…/myfiles/*” is selecting the data for the one folder NOT (DocumentLink:”https://tenant-my.sharepoint.com/personal/…myfiles/*“) is not selecting all my one drive data, except the myfiles folder
Can anyone help with the correct syntax
Thank you
Hi,I’m trying to select all one drive data for an ediscovery search, but I want to ignore a specific folder, containing personal data.Whereas using DocumentLink:”https://tenant-my.sharepoint.com/personal/…/myfiles/*” is selecting the data for the one folder NOT (DocumentLink:”https://tenant-my.sharepoint.com/personal/…myfiles/*”) is not selecting all my one drive data, except the myfiles folderCan anyone help with the correct syntax Thank you Read More
Is there any way to force list forms to open in a new tab in modern
Hey guys,
I have created some custom list forms and I am linking to them ok but I have one issue.
When opening the edit or view forms they open in the same tab which is annoying because when navigating back it resets where you are in the list.
Is there any way to force the edit and view forms to open in a new tab like the new form does?
Hey guys,I have created some custom list forms and I am linking to them ok but I have one issue.When opening the edit or view forms they open in the same tab which is annoying because when navigating back it resets where you are in the list.Is there any way to force the edit and view forms to open in a new tab like the new form does? Read More
Arithmetic overflow error converting IDENTITY to data type bigint
Hello SQL experts,
I have a legacy application developed when SQL server did not have native support for sequences. So what is does is creates table and uses its primary key as a sequence value generated. How it does is – inserts and deletes a dummy row and instantly access @@identity value as a sequence value.
As state in the title, I am getting – Arithmetic overflow error converting IDENTITY to data type bigint (even when I manually trying to cast or convert @@identity as bigint).
Please help:
CREATE procedure GetCounter @tableName varchar(50) OUTPUT AS
BEGIN
DECLARE @insertSQL NVARCHAR(100)
DECLARE @deleteSQL NVARCHAR(100)
set nocount on
SET @insertSQL = N’INSERT INTO TempSeq’ + @tableName + ‘ VALUES (”a”)’
SET @deleteSQL = N’DELETE FROM TempSeq’ + @tableName + ‘ WITH (READPAST) WHERE seqDummy = ”a”’
EXECUTE sp_executesql @insertSQL
EXECUTE sp_executesql @deleteSQL
SELECT CAST(@@IDENTITY AS BIGINT)
END
Raised the identity for testing like this:
DBCC CHECKIDENT(“TempSeqID”, RESEED, 9223372036854775805)
Also, I have tried SCOPE_IDENTITY() instead of @@IDENTITY but facing the same error..
And accessing it as below:
USE [rcu]
GO
DECLARE @return_value int,
@dNextIndex bigint
EXEC @return_value = [STGSQL].[GetCounter]
@tableName = N’ID’,
@dNextIndex = @dNextIndex OUTPUT
SELECT @dNextIndex as N’@dNextIndex’
SELECT ‘Return Value’ = @return_value
GO
Throws error:
Arithmetic overflow error converting IDENTITY to data type bigint.
Arithmetic overflow occurred.
Hello SQL experts,I have a legacy application developed when SQL server did not have native support for sequences. So what is does is creates table and uses its primary key as a sequence value generated. How it does is – inserts and deletes a dummy row and instantly access @@identity value as a sequence value. As state in the title, I am getting – Arithmetic overflow error converting IDENTITY to data type bigint (even when I manually trying to cast or convert @@identity as bigint).Please help: CREATE procedure GetCounter @tableName varchar(50) OUTPUT AS
BEGIN
DECLARE @insertSQL NVARCHAR(100)
DECLARE @deleteSQL NVARCHAR(100)
set nocount on
SET @insertSQL = N’INSERT INTO TempSeq’ + @tableName + ‘ VALUES (”a”)’
SET @deleteSQL = N’DELETE FROM TempSeq’ + @tableName + ‘ WITH (READPAST) WHERE seqDummy = ”a”’
EXECUTE sp_executesql @insertSQL
EXECUTE sp_executesql @deleteSQL
SELECT CAST(@@IDENTITY AS BIGINT)
END Raised the identity for testing like this:DBCC CHECKIDENT(“TempSeqID”, RESEED, 9223372036854775805) Also, I have tried SCOPE_IDENTITY() instead of @@IDENTITY but facing the same error..And accessing it as below: USE [rcu]
GO
DECLARE @return_value int,
@dNextIndex bigint
EXEC @return_value = [STGSQL].[GetCounter]
@tableName = N’ID’,
@dNextIndex = @dNextIndex OUTPUT
SELECT @dNextIndex as N’@dNextIndex’
SELECT ‘Return Value’ = @return_value
GO Throws error:Arithmetic overflow error converting IDENTITY to data type bigint.Arithmetic overflow occurred. Read More
Any Upcoming GitHub Copilot Courses
Hi Team,
Are there any upcoming courses based on GitHub Copilot? If so, could you share any updates on the upcoming release?
Thanks,
Hi Team, Are there any upcoming courses based on GitHub Copilot? If so, could you share any updates on the upcoming release? Thanks, Read More
Microsoft Learn lab Launch VM mode not working
Hello, I am trying to practice in the Microsoft Learn Lab. When I try to launch the lab to access the D365 supply chain training I get the error “hm, something went wrong” error. It then prompts me to verify my account through a puzzle again. It does this in a loop. Can any one help?
Hello, I am trying to practice in the Microsoft Learn Lab. When I try to launch the lab to access the D365 supply chain training I get the error “hm, something went wrong” error. It then prompts me to verify my account through a puzzle again. It does this in a loop. Can any one help? Read More
Introducing ArcBox 3.0 General Availability
Today, the Arc Jumpstart team is excited to announce the general availability of ArcBox 3.0!
Since it was first introduced in 2021, ArcBox has been our most deployed product and widely used by our field sellers and the Jumpstart community. ArcBox remains an invaluable resource for IT professionals, DataOps teams, and DevOps practitioners, providing comprehensive solutions to evaluate how to deploy, manage, and operate Arc-enabled environments.
Jam-packed release
In this jam-packed release, we wanted to address some of the biggest pain points our users shared their feedback on and take our time with the design. We prioritized ease of deployment, reliability, security, troubleshooting experience, and the footprint of the environment among other implementations and concepts as well as additional Arc-related features.
Cost reduction on all three flavors of ArcBox
Automatic Logon to the Client VM – no need for the user to interactively log in to ArcBox Client VM anymore for the Jumpstart automation to complete.
Enchanted security posture by removing the Service Principal Names (SPN) user requirement in favor of Managed Identity at deployment time.
Switching from Chocolatey to WinGet as the solution package manager. WinGet, Microsoft’s command-line package manager for Windows, is now included in ArcBox to streamline software installation and management.
PowerShell 7 is now the default scripting language for running our automation scripts, allowing us to host modern features and improvements that significantly enhance the efficiency, performance, and reliability of our automation processes compared to the traditional Windows PowerShell.
PowerShell 7 also introduces several performance enhancements, including the Foreach-Object -Parallel command, which enables parallel execution of script blocks.
Introducing Declarative Configurations based on PowerShell Desired State Configuration (DSC) for more reliable and consistent automation.
Introducing a new set of comprehensive Integration tests for infrastructure validation using Pester.
Added modularization functionalities for the Logon-Script with PowerShell modules, allowing for an easier contribution and troubleshooting experiance.
As we continue to invest in the Bicep language for deploying infrastructure to Azure, ArcBox now includes sample Bicep parameter files, replacing former JSON parameter files, for a more streamlined and readable infrastructure-as-code experience. Bicep parameters simplify the creation and management of Azure Resource Manager templates, making infrastructure-as-code more intuitive and less error-prone.
Updates Windows and Ubuntu VHD images.
Azure Update Manager experience.
Modernized Azure Monitor Workbooks for enhanced monitoring and visualization capabilities for IT professionals
PowerShell remoting over SSH is available for Windows and Linux machines.
SSH for Arc-enabled servers – SSH-based PowerShell remoting connections to Arc-enabled servers without requiring a public IP address or additional open ports.
SSH Posture Control (auto configure via Azure Policy) – audit and configure SSH Server security posture on supported Linux distros including Ubuntu, Red Hat, Azure Linux, and more.
On-demand SQL Migration Assessment experience, providing detailed evaluations for migrating SQL databases to Azure.
ArcBox has now transitioned from using Cluster API (CAPI) and the Cluster API Provider Azure (CAPZ) to k3s, a lightweight Kubernetes distribution, for managing Kubernetes clusters. By switching to k3s, DevOps teams benefit from a more lightweight, efficient, and easier-to-manage Kubernetes solution, reducing overhead and improving performance in resource-constrained environments.
ArcBox now includes Istio, a powerful service mesh, to facilitate blue/green deployments and load balancing. Previously, ArcBox used Open Service Mesh (OSM) to demonstrate traffic splitting; however, in May of 2023, OSM was archived.
ArcBox flavors
In this release, we decided to deprecate the good old “Full” flavor of ArcBox. To keep things consistent and easier to maintain, while keeping the core experience for every user profile, we invested in making multiple improvements and optimizations to the existing “ITPros”, “DevOps”, and “DateOps” ArcBox flavors.
Cost
Cost efficiency is always a top priority for us! We are happy to share that ArcBox is now cheaper than ever, showing great progress from previous versions.
ArcBox flavor
Previous daily $
New daily $
35$
Getting started
ArcBox 3.0 represents a significant milestone in the evolution of the Arc Jumpstart, bringing a host of new features and improvements that enhance usability, performance, and functionality across various domains, underscores our commitment to delivering cutting-edge solutions that meet the evolving needs of IT professionals, DataOps teams, and DevOps practitioners.
Watch our release announcement episode of Jumpstart Lightning and get started today by visiting aka.ms/JumpstartArcBox!
Microsoft Tech Community – Latest Blogs –Read More
Why am I getting a computed maximum size is not bounded error in a MATLAB Function block in Simulink R2021a even when using assert?
I am using a Matlab function in Simulink and want to create arrays whose size varies. However, I can specify the maximum size in advance. I got the following error message, although I am already using the assert function.
Computed maximum size of the output of function ‘colon’ is not bounded. Static memory allocation requires all sizes to be bounded. The computed size is [1 x :?]. More informationFunction ‘Control_Model/Current Controller ILR and PI/MATLAB Function’ (#24.2546.2574), line 86, column 24: "iL_NL_act:1:(iL_NL_act_plLL)" Launch diagnostic report.
Component: MATLAB Function | Category: Coder error
Computed maximum size of the output of function ‘colon’ is not bounded. Static memory allocation requires all sizes to be bounded. The computed size is [1 x :?]. More informationFunction ‘Control_Model/Current Controller ILR and PI/MATLAB Function’ (#24.2602.2630), line 87, column 24: "iR_NL_act:1:(iR_NL_act_plLL)" Launch diagnostic report.
Here is the corresponding code:
LL = 7;
assert (varyingInput_a <= 800)
assert (varyingInput_b <= 800)
varyingInput_a_plusLL = varyingInput_a+LL;
varyingInput_b_plusLL = varyingInput_b+LL;
assert (varyingInput_a_plusLL <= 800)
assert (varyingInput_b_plusLL <= 800)
iLrange_act(1:LL+1) = (varyingInput_a:1:(varyingInput_a_plusLL))-m;
iRrange_act(1:LL+1) = (varyingInput_b:1:(varyingInput_b_plusLL))-m;
I had the same problem before in the same Matlab function for an input variable from which the variables used here are calculated. There I also used the assert function and the error no longer occurred. I would have expected that using the function once before using the variable for the first time would be enough to limit all other variables derived/calculated from it.
Here is the code from the first assert use:
assert (N_act <= 800)
Angel4Nact = [1:1:N_act]*(2*pi/N_act);
varyingInput_a and varyingInput_b are calculated using N_actI am using a Matlab function in Simulink and want to create arrays whose size varies. However, I can specify the maximum size in advance. I got the following error message, although I am already using the assert function.
Computed maximum size of the output of function ‘colon’ is not bounded. Static memory allocation requires all sizes to be bounded. The computed size is [1 x :?]. More informationFunction ‘Control_Model/Current Controller ILR and PI/MATLAB Function’ (#24.2546.2574), line 86, column 24: "iL_NL_act:1:(iL_NL_act_plLL)" Launch diagnostic report.
Component: MATLAB Function | Category: Coder error
Computed maximum size of the output of function ‘colon’ is not bounded. Static memory allocation requires all sizes to be bounded. The computed size is [1 x :?]. More informationFunction ‘Control_Model/Current Controller ILR and PI/MATLAB Function’ (#24.2602.2630), line 87, column 24: "iR_NL_act:1:(iR_NL_act_plLL)" Launch diagnostic report.
Here is the corresponding code:
LL = 7;
assert (varyingInput_a <= 800)
assert (varyingInput_b <= 800)
varyingInput_a_plusLL = varyingInput_a+LL;
varyingInput_b_plusLL = varyingInput_b+LL;
assert (varyingInput_a_plusLL <= 800)
assert (varyingInput_b_plusLL <= 800)
iLrange_act(1:LL+1) = (varyingInput_a:1:(varyingInput_a_plusLL))-m;
iRrange_act(1:LL+1) = (varyingInput_b:1:(varyingInput_b_plusLL))-m;
I had the same problem before in the same Matlab function for an input variable from which the variables used here are calculated. There I also used the assert function and the error no longer occurred. I would have expected that using the function once before using the variable for the first time would be enough to limit all other variables derived/calculated from it.
Here is the code from the first assert use:
assert (N_act <= 800)
Angel4Nact = [1:1:N_act]*(2*pi/N_act);
varyingInput_a and varyingInput_b are calculated using N_act I am using a Matlab function in Simulink and want to create arrays whose size varies. However, I can specify the maximum size in advance. I got the following error message, although I am already using the assert function.
Computed maximum size of the output of function ‘colon’ is not bounded. Static memory allocation requires all sizes to be bounded. The computed size is [1 x :?]. More informationFunction ‘Control_Model/Current Controller ILR and PI/MATLAB Function’ (#24.2546.2574), line 86, column 24: "iL_NL_act:1:(iL_NL_act_plLL)" Launch diagnostic report.
Component: MATLAB Function | Category: Coder error
Computed maximum size of the output of function ‘colon’ is not bounded. Static memory allocation requires all sizes to be bounded. The computed size is [1 x :?]. More informationFunction ‘Control_Model/Current Controller ILR and PI/MATLAB Function’ (#24.2602.2630), line 87, column 24: "iR_NL_act:1:(iR_NL_act_plLL)" Launch diagnostic report.
Here is the corresponding code:
LL = 7;
assert (varyingInput_a <= 800)
assert (varyingInput_b <= 800)
varyingInput_a_plusLL = varyingInput_a+LL;
varyingInput_b_plusLL = varyingInput_b+LL;
assert (varyingInput_a_plusLL <= 800)
assert (varyingInput_b_plusLL <= 800)
iLrange_act(1:LL+1) = (varyingInput_a:1:(varyingInput_a_plusLL))-m;
iRrange_act(1:LL+1) = (varyingInput_b:1:(varyingInput_b_plusLL))-m;
I had the same problem before in the same Matlab function for an input variable from which the variables used here are calculated. There I also used the assert function and the error no longer occurred. I would have expected that using the function once before using the variable for the first time would be enough to limit all other variables derived/calculated from it.
Here is the code from the first assert use:
assert (N_act <= 800)
Angel4Nact = [1:1:N_act]*(2*pi/N_act);
varyingInput_a and varyingInput_b are calculated using N_act simulink, matlab function, coder error, size not bounded, assert, 2021a MATLAB Answers — New Questions
Why inpolygon is not detecting the whole artificial reef structure?
Hi,
I’m encountering a problem while trying to adjust the bathymetry in my MATLAB code. I have successfully plotted the artificial reef structure. However, I’m having difficulty modifying the bathymetry to reflect a 4-meter depth for the structure instead of the initial 5 meters. I am using the inpolygon function, but it seems to be causing some issues and not detecting the whole structure.
The code plots correctly up to line 77, but I’m experiencing problems with the polygon section. I’ve attached the MATLAB code for review.
Could you please help me identify what might be going wrong?
Thank you!Hi,
I’m encountering a problem while trying to adjust the bathymetry in my MATLAB code. I have successfully plotted the artificial reef structure. However, I’m having difficulty modifying the bathymetry to reflect a 4-meter depth for the structure instead of the initial 5 meters. I am using the inpolygon function, but it seems to be causing some issues and not detecting the whole structure.
The code plots correctly up to line 77, but I’m experiencing problems with the polygon section. I’ve attached the MATLAB code for review.
Could you please help me identify what might be going wrong?
Thank you! Hi,
I’m encountering a problem while trying to adjust the bathymetry in my MATLAB code. I have successfully plotted the artificial reef structure. However, I’m having difficulty modifying the bathymetry to reflect a 4-meter depth for the structure instead of the initial 5 meters. I am using the inpolygon function, but it seems to be causing some issues and not detecting the whole structure.
The code plots correctly up to line 77, but I’m experiencing problems with the polygon section. I’ve attached the MATLAB code for review.
Could you please help me identify what might be going wrong?
Thank you! inpolygon MATLAB Answers — New Questions
How to create a rule in Defender for M365 to block sender domain age has less than 2 weeks ?
How to create a rule in Defender for M365 to block sender domain age has less than 2 weeks ?
How to create a rule in Defender for M365 to block sender domain age has less than 2 weeks ? Read More
Vlookup error
The vlookup formula should be working but unfortunately it is not. It is giving me error and I think its because of the argument is a number saved as text – what can I do? I do not want to convert to the number, tried to save it as a text, but it is still not working.
The vlookup formula should be working but unfortunately it is not. It is giving me error and I think its because of the argument is a number saved as text – what can I do? I do not want to convert to the number, tried to save it as a text, but it is still not working. Read More
“Configure Approvals” missing from SharePoint lists
Hi, we would like to use the Approvals functionality in SharePoint lists. We are not interested in using the two templates to access this functionality because we already have a longstanding List with flows attached that I don’t want to have to recreate.
However when I click AUTOMATE, the option for CONFIGURE APPROVALS doesn’t appear.
Is this something we have to turn on elsewhere? Versioning is turned on for this list. Or is it just not rolled out to everyone yet? I thought they were looking at full rollouts by August.
Thank!
Hi, we would like to use the Approvals functionality in SharePoint lists. We are not interested in using the two templates to access this functionality because we already have a longstanding List with flows attached that I don’t want to have to recreate. However when I click AUTOMATE, the option for CONFIGURE APPROVALS doesn’t appear. Is this something we have to turn on elsewhere? Versioning is turned on for this list. Or is it just not rolled out to everyone yet? I thought they were looking at full rollouts by August. Thank! Read More
Request Access to Viva Amplify
I’m part of the GTM Strategy for Worldwide Enablement & Readiness Communities at Microsoft. I was reviewing Viva Amplify, and this is an amazing tool that would greatly simplify my team’s ability to consistently manage and communicate with our field members. How does one go about requesting access to be able to Create Campaigns? I have reviewed the demo AI Campaign, but do not have ability to create new campaigns? Any assistance with this would be greatly appreciated!
I’m part of the GTM Strategy for Worldwide Enablement & Readiness Communities at Microsoft. I was reviewing Viva Amplify, and this is an amazing tool that would greatly simplify my team’s ability to consistently manage and communicate with our field members. How does one go about requesting access to be able to Create Campaigns? I have reviewed the demo AI Campaign, but do not have ability to create new campaigns? Any assistance with this would be greatly appreciated! Read More
Microsoft MVP x AI Day -tapahtuma 10.9.2024 kumppaneille
Mikä on Microsoftin MVP-ohjelma? Miten pääsen mukaan?
Tule mukaan MVP x AI Day -tapahtumaan 10.9. kuulemaan vastauksia ja muutakin!
Järjestämme yhdessä Suomen Microsoft MVP:iden kanssa (Most Valuable Professional) teknisen päivän kumppaneiden teknisille asiantuntijoille, jotka ovat kiinnostuneet MVP-toiminnasta (mvp.microsoft.com). Tapahtumassa esiintyy nykyisiä suomalaisia MVP-henkilöitä, jotka puhuvat heitä lähellä olevasta AI-aiheesta ja kertovat oman MVP-tarinansa. Lounaalla on mahdollisuus verkostoitua ja tutustua kollegoihin.
Microsoft MVP x AI Day Tuesday 10.9.2024, klo 10-15.30, Microsoft Talo, Espoo (Keilalahdentie 2-4)
Päivän esitykset, joiden esittäjät ja otsikot tarkentuvat vielä (esitykset ovat englanniksi/presentations are in English):
What is MVP and how can I become MVP?
MVP-esitys: Microsoft Copilot(s)
MVP-esitys: Azure AI Design
MVP-esitys: Security
Mukaan mahtuu noin 100 ensimmäistä innokasta Microsoft-asiantuntijaa. Toivomme, että tulisit kuuntelemaan matalalla kynnyksellä ja houkuttelisit mukaan myös nuorempia ammattilaisia organisaatiostasi!
Rekisteröidy tästä (lomake ja linkki on tulossa asap).
Ennen rekisteröitymislomakkeen valmistumista, ilmoittautumiset vapaamuotoisesti Veskulle sähköposti/Teams vesku@microsoft.com
Tervetuloa! Ja suosithan julkisia kulkuvälineitä, koska parkkitilaa Keilaniemessä on rajoitetusti
Microsoft Tech Community – Latest Blogs –Read More
“GlobalSearch”, for some inputs ends up in “NaN” and sqpInterface and fmincon error
Hi everyone,
I have a question regarding "GlobalSearch". For some inputs, my code sometimes ends up in "NaN" and the code gives this error:
"Error using sqpInterface
Objective function is undefined at initial point. Fmincon cannot continue.
Error in fmincon (line 871)
[X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] = sqpInterface(funfcn,X,full(A),full(B),full(Aeq),full(Beq), …
Error in globaloptim.globalsearch.globalsearchnlp
Error in GlobalSearch/run (line 340)
globaloptim.globalsearch.globalsearchnlp(FUN,X0,A,B,Aeq,Beq,LB,UB,NONLCON,options,localOptions);
Error in Optimization (line 37)
[A,f] = run(gs,problem);
Caused by:
Failure in initial call to fmincon with user-supplied problem structure."
Of course, we all know that the algorithm checks the different inputs and finally goes to the smallest objective function value (error).
Is there a way to ignore the inputs that give "NaN" results and make the algorithm use other inputs to finally reach to lowest objective function value (error)?Hi everyone,
I have a question regarding "GlobalSearch". For some inputs, my code sometimes ends up in "NaN" and the code gives this error:
"Error using sqpInterface
Objective function is undefined at initial point. Fmincon cannot continue.
Error in fmincon (line 871)
[X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] = sqpInterface(funfcn,X,full(A),full(B),full(Aeq),full(Beq), …
Error in globaloptim.globalsearch.globalsearchnlp
Error in GlobalSearch/run (line 340)
globaloptim.globalsearch.globalsearchnlp(FUN,X0,A,B,Aeq,Beq,LB,UB,NONLCON,options,localOptions);
Error in Optimization (line 37)
[A,f] = run(gs,problem);
Caused by:
Failure in initial call to fmincon with user-supplied problem structure."
Of course, we all know that the algorithm checks the different inputs and finally goes to the smallest objective function value (error).
Is there a way to ignore the inputs that give "NaN" results and make the algorithm use other inputs to finally reach to lowest objective function value (error)? Hi everyone,
I have a question regarding "GlobalSearch". For some inputs, my code sometimes ends up in "NaN" and the code gives this error:
"Error using sqpInterface
Objective function is undefined at initial point. Fmincon cannot continue.
Error in fmincon (line 871)
[X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] = sqpInterface(funfcn,X,full(A),full(B),full(Aeq),full(Beq), …
Error in globaloptim.globalsearch.globalsearchnlp
Error in GlobalSearch/run (line 340)
globaloptim.globalsearch.globalsearchnlp(FUN,X0,A,B,Aeq,Beq,LB,UB,NONLCON,options,localOptions);
Error in Optimization (line 37)
[A,f] = run(gs,problem);
Caused by:
Failure in initial call to fmincon with user-supplied problem structure."
Of course, we all know that the algorithm checks the different inputs and finally goes to the smallest objective function value (error).
Is there a way to ignore the inputs that give "NaN" results and make the algorithm use other inputs to finally reach to lowest objective function value (error)? globalsearch, fmincon, sqpinterface MATLAB Answers — New Questions
Failing to create matrix from cell array in several ways
לק"י
Hi guys,
I have a cell array in 64X61X21 size.
I want to make a matrix of the values (no vectors) within specific area of the cell array – 15:21,2:61,1:21.
First I make a copy of the cell array:
cellarrayneeded=analysisdayaWT(8:15, 2:60, 1:21);
cellarrayneeded=cell2mat(cellarrayneeded);
Error message I get:
Error using cat
Dimensions of arrays being concatenated are not consistent.
Error in cell2mat (line 118)
ct{mref{:}} = cat(cdim+1,c{mref{:},:});
When I try something else:
cellarrayneeded=cell2mat(analysisdataWT{8:15, 2:60, 1:21});
I get:
Error using cell2mat
Too many input arguments.
What am I doing wrong?
Thanks!לק"י
Hi guys,
I have a cell array in 64X61X21 size.
I want to make a matrix of the values (no vectors) within specific area of the cell array – 15:21,2:61,1:21.
First I make a copy of the cell array:
cellarrayneeded=analysisdayaWT(8:15, 2:60, 1:21);
cellarrayneeded=cell2mat(cellarrayneeded);
Error message I get:
Error using cat
Dimensions of arrays being concatenated are not consistent.
Error in cell2mat (line 118)
ct{mref{:}} = cat(cdim+1,c{mref{:},:});
When I try something else:
cellarrayneeded=cell2mat(analysisdataWT{8:15, 2:60, 1:21});
I get:
Error using cell2mat
Too many input arguments.
What am I doing wrong?
Thanks! לק"י
Hi guys,
I have a cell array in 64X61X21 size.
I want to make a matrix of the values (no vectors) within specific area of the cell array – 15:21,2:61,1:21.
First I make a copy of the cell array:
cellarrayneeded=analysisdayaWT(8:15, 2:60, 1:21);
cellarrayneeded=cell2mat(cellarrayneeded);
Error message I get:
Error using cat
Dimensions of arrays being concatenated are not consistent.
Error in cell2mat (line 118)
ct{mref{:}} = cat(cdim+1,c{mref{:},:});
When I try something else:
cellarrayneeded=cell2mat(analysisdataWT{8:15, 2:60, 1:21});
I get:
Error using cell2mat
Too many input arguments.
What am I doing wrong?
Thanks! cell arrays, matrix, cell2mat MATLAB Answers — New Questions
Highlight cell in column F if it is greater then 4 AND value in column C equals 99 (on cor row
Hello !
I am trying to get a cell to highlight if it is greater than a certain number only if the number in the corresponding row is equal to a certain number.
in other words:
Highlight the cell in column F if it is greater than 4 AND the value in column C equals 99 (on the corresponding row)
Highlight the cell in column F if it is greater than 10 AND the value in column C equals 17 (on corresponding row)
etc…. I am aware I will have to do a few different “rules” to get each set of numbers.
I really appreciate any help!!!
Hello ! I am trying to get a cell to highlight if it is greater than a certain number only if the number in the corresponding row is equal to a certain number. in other words: Highlight the cell in column F if it is greater than 4 AND the value in column C equals 99 (on the corresponding row) Highlight the cell in column F if it is greater than 10 AND the value in column C equals 17 (on corresponding row) etc…. I am aware I will have to do a few different “rules” to get each set of numbers. I really appreciate any help!!! Read More
CSP Registration
I’m trying to set myself with CSP registration but whatever information I submit, it keeps coming back as Rejected at the Employment Verification stage. I’m a sole trader and have submitted various documents – my HMRC Unique Taxpayer Reference, Bank Statement, Tenancy Documents but I just don’t get anywhere. What more can I do or what am I doing wrong?
I’m trying to set myself with CSP registration but whatever information I submit, it keeps coming back as Rejected at the Employment Verification stage. I’m a sole trader and have submitted various documents – my HMRC Unique Taxpayer Reference, Bank Statement, Tenancy Documents but I just don’t get anywhere. What more can I do or what am I doing wrong? Read More
Need efficient way to load data from SAP ECC to Azure Synapse
Need efficient way to load data from SAP ECC and SAP BW to Azure Synapse.
Currently we are loading data from
1. SAP ECC to On Prem SQL using SAP SLT
2. SAP BW to On Prem SQL using Open Hub
and using Qlik Replicate to replicate data from On Prem SQL to Azure Synapse.
We need Efficient way to load data using Data factory or Synapse Pipeline from SAP to Azure Synape without Qlik Replicate.
Kindly suggest.
Need efficient way to load data from SAP ECC and SAP BW to Azure Synapse.Currently we are loading data from1. SAP ECC to On Prem SQL using SAP SLT2. SAP BW to On Prem SQL using Open Huband using Qlik Replicate to replicate data from On Prem SQL to Azure Synapse.We need Efficient way to load data using Data factory or Synapse Pipeline from SAP to Azure Synape without Qlik Replicate. Kindly suggest. Read More