Month: August 2024
how to export model coordinates?
Hello,
I am running the example spiralInductor.
Is there a way to export the geometry for fabrication?
Thank youHello,
I am running the example spiralInductor.
Is there a way to export the geometry for fabrication?
Thank you Hello,
I am running the example spiralInductor.
Is there a way to export the geometry for fabrication?
Thank you coil, matlab coder, microwave, performance MATLAB Answers — New Questions
reverting to classic outlook from new outlook
I have done part of this switch back to classic outlook but want to make sure that my calendar moves back and i don’t lose all my appointments. do they/will they just show up in classic outlook when i click the button to shut off new outlook? and if by chance they don’t transfer, can i go back to new outlook and try again?
I have done part of this switch back to classic outlook but want to make sure that my calendar moves back and i don’t lose all my appointments. do they/will they just show up in classic outlook when i click the button to shut off new outlook? and if by chance they don’t transfer, can i go back to new outlook and try again? Read More
Rescheduling an appointment bug, won’t allow users to reschedule within their booking time
I services available for users to self book that have a 2 hr minimum booking time.
If a user tries to reschedule their booking within that time it will not allow them, they have to cancel their booking completely and book again.
e.g. A service is available from 10am – 6pm. A user books a service from 10am (10am – 12pm) , they go to reschedule the booking to start at 11am instead (making it 11-1pm). They get message that says “This time is no longer available. Please choose another one” however they are the user that has booked that time.
Is this a bug or is there something that I can change in the settings for this service that will allow users to reschedule within their booking time?
Any tips are appreciated thanks.
I services available for users to self book that have a 2 hr minimum booking time. If a user tries to reschedule their booking within that time it will not allow them, they have to cancel their booking completely and book again. e.g. A service is available from 10am – 6pm. A user books a service from 10am (10am – 12pm) , they go to reschedule the booking to start at 11am instead (making it 11-1pm). They get message that says “This time is no longer available. Please choose another one” however they are the user that has booked that time. Is this a bug or is there something that I can change in the settings for this service that will allow users to reschedule within their booking time? Any tips are appreciated thanks. Read More
Define workbook export parameter default value
I have a number of Sentinel workbook queries where I click on a value in the 1st query which is then exported as a parameter to be used in a 2nd query. This is working great except when the workbook is first loaded, because I haven’t clicked on anything in the 1st query, the 2nd query displays the following error. How can I specify a default value to satisfy the query until I click on a value?
Query could not be parsed at ‘)’ on line [2,21] Token: ‘)’ Line: 2 Position: 21
The first 2 lines of the 2nd query look like this:
let ActivityType = dynamic({AType});
CloudAppEvents
| where…
Any help to resolve this error is appreciated.
I have a number of Sentinel workbook queries where I click on a value in the 1st query which is then exported as a parameter to be used in a 2nd query. This is working great except when the workbook is first loaded, because I haven’t clicked on anything in the 1st query, the 2nd query displays the following error. How can I specify a default value to satisfy the query until I click on a value?Query could not be parsed at ‘)’ on line [2,21] Token: ‘)’ Line: 2 Position: 21The first 2 lines of the 2nd query look like this: let ActivityType = dynamic({AType});
CloudAppEvents
| where… Any help to resolve this error is appreciated. Read More
Remogenerate optimized code by removing code for out-of-range floating point to integer conversions did not improve execution speed,is there a problem?
I want to improve the running speed of the code converted from Simulink to C coder, so I tried setting the maximum running speed mode in it, but the result was similar to balancing RAM and speed mode. So I tried to modify more detailed settings, I tried to modify the settings to regenerate optimized code by removing out of range floating-point to integer conversion code, but still had no effect. Why is this? Is there any other setting in the model that can improve the running speed of the code? Or should I directly modify the structure of the code to improve speed?I want to improve the running speed of the code converted from Simulink to C coder, so I tried setting the maximum running speed mode in it, but the result was similar to balancing RAM and speed mode. So I tried to modify more detailed settings, I tried to modify the settings to regenerate optimized code by removing out of range floating-point to integer conversion code, but still had no effect. Why is this? Is there any other setting in the model that can improve the running speed of the code? Or should I directly modify the structure of the code to improve speed? I want to improve the running speed of the code converted from Simulink to C coder, so I tried setting the maximum running speed mode in it, but the result was similar to balancing RAM and speed mode. So I tried to modify more detailed settings, I tried to modify the settings to regenerate optimized code by removing out of range floating-point to integer conversion code, but still had no effect. Why is this? Is there any other setting in the model that can improve the running speed of the code? Or should I directly modify the structure of the code to improve speed? simulink, embedded coder MATLAB Answers — New Questions
How to average across tables in a cell
I have a Cell containing a n number of tables (in this case 3 tables (2500×44)) and I’m trying output just one table being the average of each cell within each table across all 3 tables. This is likely a silly question but can’t seem to figure it out.I have a Cell containing a n number of tables (in this case 3 tables (2500×44)) and I’m trying output just one table being the average of each cell within each table across all 3 tables. This is likely a silly question but can’t seem to figure it out. I have a Cell containing a n number of tables (in this case 3 tables (2500×44)) and I’m trying output just one table being the average of each cell within each table across all 3 tables. This is likely a silly question but can’t seem to figure it out. cell array, table, mean MATLAB Answers — New Questions
Is it necessary to delete enrollment tokens for deleted iOS devices?
I am transferring iOS devices from InTune to jamf pro in Apple School Manager. I delete the devices from Intune but then wonder if it is absolutely essential to also delete the tokens for each device from Intune as well. I would think that it should not matter if the old enrollment token is still there once the new MDM assignment has been set in Apple School Manager because the device will no longer be attempting to sync or check in via Intune. Deleting only the device from Intune but leaving the enrollment token behind does not appear to affect the device’s enrollment with the new MDM, but I want to make sure that this will not cause issues down the road. Does anyone know if it is absolutely necessary to delete the enrollment tokens for a device from in tune? I ask because we have about 5,000 devices that will need to be switched to Jamf. While we are able to do bulk device deletions in Intune, we cannot do a bulk deletion of the enrollment tokens for those devices. I am trying to avoid having to select individual devices one by one in Intune to delete. Thanks in advance!
I am transferring iOS devices from InTune to jamf pro in Apple School Manager. I delete the devices from Intune but then wonder if it is absolutely essential to also delete the tokens for each device from Intune as well. I would think that it should not matter if the old enrollment token is still there once the new MDM assignment has been set in Apple School Manager because the device will no longer be attempting to sync or check in via Intune. Deleting only the device from Intune but leaving the enrollment token behind does not appear to affect the device’s enrollment with the new MDM, but I want to make sure that this will not cause issues down the road. Does anyone know if it is absolutely necessary to delete the enrollment tokens for a device from in tune? I ask because we have about 5,000 devices that will need to be switched to Jamf. While we are able to do bulk device deletions in Intune, we cannot do a bulk deletion of the enrollment tokens for those devices. I am trying to avoid having to select individual devices one by one in Intune to delete. Thanks in advance! Read More
Why there is a time delay of one time step while co-simulating a FMU in Simulink?
I exported an FMU from a Simulink model with Simulink Compiler and imported it into Simulink with FMU Import block.
In the results, when comparing the Simulink output and the FMU output, I see that they do not match with a one-time step difference/one-time step delay.
What is causing this behavior?I exported an FMU from a Simulink model with Simulink Compiler and imported it into Simulink with FMU Import block.
In the results, when comparing the Simulink output and the FMU output, I see that they do not match with a one-time step difference/one-time step delay.
What is causing this behavior? I exported an FMU from a Simulink model with Simulink Compiler and imported it into Simulink with FMU Import block.
In the results, when comparing the Simulink output and the FMU output, I see that they do not match with a one-time step difference/one-time step delay.
What is causing this behavior? fmu, delay, time, step, different, results, simulink, fmi MATLAB Answers — New Questions
SharePoint List Not Updating – Caching Issue? Please help.
I have a few SharePoint lists that were working perfectly fine until last week. Suddenly, I can’t see the newer items. When I refresh, sometimes they appear, but other times they don’t. If I clear the cache in Chrome, the items reappear, but as soon as I refresh again, they disappear, even after clearing the cache. The same issue occurs when I link the List to my Teams group as a tab—it shows the last modification date as August 16, even though I’ve been updating it daily. Does anyone know what’s causing this and how I can fix it? The lists contain fewer than 200 items, with one having around 50, so I don’t think that’s the issue.
I have a few SharePoint lists that were working perfectly fine until last week. Suddenly, I can’t see the newer items. When I refresh, sometimes they appear, but other times they don’t. If I clear the cache in Chrome, the items reappear, but as soon as I refresh again, they disappear, even after clearing the cache. The same issue occurs when I link the List to my Teams group as a tab—it shows the last modification date as August 16, even though I’ve been updating it daily. Does anyone know what’s causing this and how I can fix it? The lists contain fewer than 200 items, with one having around 50, so I don’t think that’s the issue. Read More
SharePoint List – Comment Not Available for Certain Items
Some of the items I add to a SharePoint List show a message saying, “This item is saved locally. Comments will be available when the item is uploaded.” Does anyone know why it’s saying that? I’ve attached a screenshot of it.
Some of the items I add to a SharePoint List show a message saying, “This item is saved locally. Comments will be available when the item is uploaded.” Does anyone know why it’s saying that? I’ve attached a screenshot of it. Read More
Update to Microsoft Connector for Teradata
SQL Server Integration Services (SSIS) has released an update to Microsoft Connector for Teradata, enhancing its compatibility with the latest version of Teradata Tools and Utilities (TTU) 20.00.
The Connector now fully supports Teradata Tools and Utilities (TTU) 20.00, ensuring users can leverage the latest enhancements and performance improvements offered by the new TTU version.
For more details, check the Microsoft documentation.
Microsoft Tech Community – Latest Blogs –Read More
Excel for Mac 2019
Hi,
Excel project including macros runs in Windows but when I run it (Excel 2019) MacOS Sonoma 14.5 I get:
method ‘Width’ of object ‘_Application’ failed. I tried replacing Application.Width to Application.Workbook.Width as suggested elsewhere but that didn’t work either.
Can someone help please?
Cheers,
Christopher Miller
Hi, Excel project including macros runs in Windows but when I run it (Excel 2019) MacOS Sonoma 14.5 I get:method ‘Width’ of object ‘_Application’ failed. I tried replacing Application.Width to Application.Workbook.Width as suggested elsewhere but that didn’t work either. Can someone help please? Cheers, Christopher Miller Read More
Interpolating between columns for an index
I am trying to use a seperate array as an index and a variable.
E.g.
Row 1 I want to use as index, or lookup.
Row 2 are data
550 750 950
1 2 8
Column 1 would be reference from row 1
Column 2 would be multiplied against row 2 depending on how Column 1 relates to row 1
550 22
580 21
650 20
623 28
850 14
So my goal is using the second set of data.
at 550, 22 would be multiplied by 1,
at 650, 20 would be multiplied by 1.5
at 850, 14 would be multiplied by 5
I tried search for awhile on the community and through the "basics"
I might be wording this wrong by calling it indexing.I am trying to use a seperate array as an index and a variable.
E.g.
Row 1 I want to use as index, or lookup.
Row 2 are data
550 750 950
1 2 8
Column 1 would be reference from row 1
Column 2 would be multiplied against row 2 depending on how Column 1 relates to row 1
550 22
580 21
650 20
623 28
850 14
So my goal is using the second set of data.
at 550, 22 would be multiplied by 1,
at 650, 20 would be multiplied by 1.5
at 850, 14 would be multiplied by 5
I tried search for awhile on the community and through the "basics"
I might be wording this wrong by calling it indexing. I am trying to use a seperate array as an index and a variable.
E.g.
Row 1 I want to use as index, or lookup.
Row 2 are data
550 750 950
1 2 8
Column 1 would be reference from row 1
Column 2 would be multiplied against row 2 depending on how Column 1 relates to row 1
550 22
580 21
650 20
623 28
850 14
So my goal is using the second set of data.
at 550, 22 would be multiplied by 1,
at 650, 20 would be multiplied by 1.5
at 850, 14 would be multiplied by 5
I tried search for awhile on the community and through the "basics"
I might be wording this wrong by calling it indexing. basics, interpolation, indexing MATLAB Answers — New Questions
Trying to sign out of MATLAB desktop
I am trying to sign out of my MATLAB account on the desktop app, yet it is not letting me.
I keep getting this message, although I have nothing open aside from MATLAB and no scripts are running: Before signing out you must:
Close all MATLAB sessions, including the current one.Note: Restarting MATLAB requires internet access.I am trying to sign out of my MATLAB account on the desktop app, yet it is not letting me.
I keep getting this message, although I have nothing open aside from MATLAB and no scripts are running: Before signing out you must:
Close all MATLAB sessions, including the current one.Note: Restarting MATLAB requires internet access. I am trying to sign out of my MATLAB account on the desktop app, yet it is not letting me.
I keep getting this message, although I have nothing open aside from MATLAB and no scripts are running: Before signing out you must:
Close all MATLAB sessions, including the current one.Note: Restarting MATLAB requires internet access. matlab MATLAB Answers — New Questions
Calendar to do list
Hi all,
I have created a calendar in excel that I can track the ongoings for each month. I have set it up so that each day has a set of 5 cells below it so i can add 5 things per date. I was wondering if there was a way to create a ‘monthly’ to do list on a separate sheet that would automatically add things to it that I am typing in the calendar month sections.
I don’t mind if i end up having to do each date per month with a formula i just really need a work around so i can see tasks/events filtered by the conditional formatting or by the date.
bonus points if the to do list can be split up into monthly sections on the list!
Any advice would be appreciated!
Thank you
Gray
Hi all, I have created a calendar in excel that I can track the ongoings for each month. I have set it up so that each day has a set of 5 cells below it so i can add 5 things per date. I was wondering if there was a way to create a ‘monthly’ to do list on a separate sheet that would automatically add things to it that I am typing in the calendar month sections. I don’t mind if i end up having to do each date per month with a formula i just really need a work around so i can see tasks/events filtered by the conditional formatting or by the date. bonus points if the to do list can be split up into monthly sections on the list! Any advice would be appreciated!Thank youGray Read More
Notice of Planned Maintenance : Aug 20th, 2024 – 4pm-5pm Pacific
Dear Community Members,
As part of our ongoing commitment to maintaining industry-leading security best practices, we are implementing some changes to the Microsoft Tech Community. Our primary goal is to ensure that your experience remains secure, seamless, and reliable. The changes are scheduled to take place on Tuesday, Aug 20th, 2024, from 4:00pm to 5:00pm (Pacific Time).
Most members should not notice any difference during this transition, however, there is a small possibility that users whose sessions expire while the change is being made might experience an issue logging in, as may users logging in for the first time that day.
Affected users may find that when they attempt to sign in, they are redirected back to the community homepage and instead of seeing their avatar and name at the top right corner, it will simply display “Sign in.”
We understand that this might be frustrating, and we apologize for any inconvenience this may cause and we will provide an update once the migration is fully complete to keep you informed.
We would ask you not to contact our team regarding any issues with login during the maintenance window. If you continue to have issues after the work is completed, please try clearing your cache and logging in again. If you continue to have problems after this then please do contact our team.
Thank you for your understanding and continued support.
Best regards,
Microsoft Tech Community – Latest Blogs –Read More
Detecting circles in an image to measure inner and outer diameter
Any reason why this code won’t detect the inner and outer diamter of the tube seen in the image below?
a = imread(‘E1-E2.jpg’);
imshow(a);
% Center and radius
[centers,radii] = imfindcircles(a,[20 1000],’ObjectPolarity’,’bright’, ‘Sensitivity’,0.95);
diameter = radii*2;
viscircles(centers, radii,’Color’,’b’);Any reason why this code won’t detect the inner and outer diamter of the tube seen in the image below?
a = imread(‘E1-E2.jpg’);
imshow(a);
% Center and radius
[centers,radii] = imfindcircles(a,[20 1000],’ObjectPolarity’,’bright’, ‘Sensitivity’,0.95);
diameter = radii*2;
viscircles(centers, radii,’Color’,’b’); Any reason why this code won’t detect the inner and outer diamter of the tube seen in the image below?
a = imread(‘E1-E2.jpg’);
imshow(a);
% Center and radius
[centers,radii] = imfindcircles(a,[20 1000],’ObjectPolarity’,’bright’, ‘Sensitivity’,0.95);
diameter = radii*2;
viscircles(centers, radii,’Color’,’b’); image, circle, wrong lens, image analysis MATLAB Answers — New Questions
Reading data from Microsoft Excel
What is the syntax for reading data from Microsoft Excel sheets? I tried the following and it returned error messages.
A = xlsread(‘amat.xlsx’,’sheet1′,’a1:a10′)
I even changed the case of S in sheet to capital and the error persisted. Anyone with an idea?What is the syntax for reading data from Microsoft Excel sheets? I tried the following and it returned error messages.
A = xlsread(‘amat.xlsx’,’sheet1′,’a1:a10′)
I even changed the case of S in sheet to capital and the error persisted. Anyone with an idea? What is the syntax for reading data from Microsoft Excel sheets? I tried the following and it returned error messages.
A = xlsread(‘amat.xlsx’,’sheet1′,’a1:a10′)
I even changed the case of S in sheet to capital and the error persisted. Anyone with an idea? transferred MATLAB Answers — New Questions
How to deal with corrupted matlabprefs?
I run a matlab-script that use batch processing to collect sample from different sensors at same time.
Some sensors are connect using UDP protocol, modbus, and serial port.
As a rule, they work fine. However, sometimes I have an error related to matlabprefs.mat.
As a consequence, one of the sensors can stop to collect data, i.e., I can not read correctly form a specific serial port, and in the next time I run the same matlab script, it will fail producing some complaining about "matlabprefs.mat" (see example below).
I have this problem frequently.
I am affraid becasue If I can not deal properlly with this problem,I can not trust on matlab to control my data sample system.
Please, could you help me to figure out a deffinitive solution for this issue?
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:load:unableToReadMatFile
Unable to read MAT-file C:UsersuserAppDataRoamingMathWorksMATLABR2023amatlabprefs.mat. File might be corrupt.
> In hgrc (line 151)
In matlab.graphics.internal.initialize (line 15)I run a matlab-script that use batch processing to collect sample from different sensors at same time.
Some sensors are connect using UDP protocol, modbus, and serial port.
As a rule, they work fine. However, sometimes I have an error related to matlabprefs.mat.
As a consequence, one of the sensors can stop to collect data, i.e., I can not read correctly form a specific serial port, and in the next time I run the same matlab script, it will fail producing some complaining about "matlabprefs.mat" (see example below).
I have this problem frequently.
I am affraid becasue If I can not deal properlly with this problem,I can not trust on matlab to control my data sample system.
Please, could you help me to figure out a deffinitive solution for this issue?
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:load:unableToReadMatFile
Unable to read MAT-file C:UsersuserAppDataRoamingMathWorksMATLABR2023amatlabprefs.mat. File might be corrupt.
> In hgrc (line 151)
In matlab.graphics.internal.initialize (line 15) I run a matlab-script that use batch processing to collect sample from different sensors at same time.
Some sensors are connect using UDP protocol, modbus, and serial port.
As a rule, they work fine. However, sometimes I have an error related to matlabprefs.mat.
As a consequence, one of the sensors can stop to collect data, i.e., I can not read correctly form a specific serial port, and in the next time I run the same matlab script, it will fail producing some complaining about "matlabprefs.mat" (see example below).
I have this problem frequently.
I am affraid becasue If I can not deal properlly with this problem,I can not trust on matlab to control my data sample system.
Please, could you help me to figure out a deffinitive solution for this issue?
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:load:unableToReadMatFile
Unable to read MAT-file C:UsersuserAppDataRoamingMathWorksMATLABR2023amatlabprefs.mat. File might be corrupt.
> In hgrc (line 151)
In matlab.graphics.internal.initialize (line 15) matlabprefs.mat MATLAB Answers — New Questions
Top Level Navigation not consistent
Hi all,
We have top level navigation which displays differently in a list than it does on our home page. Please see the attachments….’Enterprise Reports’ should have a dropdown as it shows on the Home page. However, when one goes to a list, that dropdown disappears. I refreshed the structural navigation cache in Site Settings thinking that was the issue, but that didn’t resolve anything.
Any ideas?
Hi all, We have top level navigation which displays differently in a list than it does on our home page. Please see the attachments….’Enterprise Reports’ should have a dropdown as it shows on the Home page. However, when one goes to a list, that dropdown disappears. I refreshed the structural navigation cache in Site Settings thinking that was the issue, but that didn’t resolve anything. Any ideas? Read More