Month: July 2024
How to give MATLAB Web App Server access to a directory or a file on the server?
I have a web app that interacts with a local directory on the server machine. How do I give the Web App Server access to the directory?I have a web app that interacts with a local directory on the server machine. How do I give the Web App Server access to the directory? I have a web app that interacts with a local directory on the server machine. How do I give the Web App Server access to the directory? server, file, webapp MATLAB Answers — New Questions
Arduino MKR Motor Carrier Not Found
I’m trying to use the Arduino MKR 1000 with Motor Carrier and when I run
arduinosetup
and follow the prompts to set up my board, I get the following error log
Jun 03, 2023 12:02:42 PM com.mathworks.hwservices.logging
INFO: Loading configuration…
Initializing packages…
Preparing boards…
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Verifying…
C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1arduino-builder -dump-prefs -logger=machine -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardware -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1tools-builder -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardwaretoolsavr -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -built-in-libraries C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1libraries -libraries C:UsersmasteDocumentsArduinolibraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X804E -ide-version=10801 -build-path C:UsersmasteAppDataLocalTempArduinoServerMW -warnings=null -prefs=build.path=C:UsersmasteAppDataLocalTempArduinoServerMW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsopenocd.9.0-arduino6-static -prefs=runtime.tools.arduinoOTA.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarduinoOTA1.2.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0 -prefs=runtime.tools.bossac.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsbossac1.7.0 -prefs=runtime.tools.CMSIS.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1 -verbose C:UsersmasteAppDataLocalTempArduinoServerArduinoServer.ino
C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1arduino-builder -compile -logger=machine -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardware -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1tools-builder -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardwaretoolsavr -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -built-in-libraries C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1libraries -libraries C:UsersmasteDocumentsArduinolibraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X804E -ide-version=10801 -build-path C:UsersmasteAppDataLocalTempArduinoServerMW -warnings=null -prefs=build.path=C:UsersmasteAppDataLocalTempArduinoServerMW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsopenocd.9.0-arduino6-static -prefs=runtime.tools.arduinoOTA.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarduinoOTA1.2.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0 -prefs=runtime.tools.bossac.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsbossac1.7.0 -prefs=runtime.tools.CMSIS.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1 -verbose C:UsersmasteAppDataLocalTempArduinoServerArduinoServer.ino
Using board ‘mkr1000’ from platform in folder: C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20
Using core ‘arduino’ from platform in folder: C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20
Detecting libraries used…
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchArduinoServer.ino.cpp" -o "nul"
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp" -o "nul"
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp" -o "C:UsersmasteAppDataLocalTempArduinoServerMWpreprocctags_target_for_gcc_minus_e.cpp"
In file included from C:UsersmasteAppDataLocalTempArduinoServerMWsketchaddOnLibraries.h:4:0,
from C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp:12:
C:UsersmasteAppDataRoamingMathWorksMATLAB Add-OnsToolboxesAEK-Rev-1-Hardware-Support-19a+matlabMATLABAddon+arduinoioaddons+arduinosrcMKRMotorCarrierBase.h:11:29: fatal error: MKRMotorCarrier.h: No such file or directory
#include "MKRMotorCarrier.h"
^
compilation terminated.
exit status 1
I have already ran
edit ArduinoKitHardwareSupportReadMe.txt
and followed the directions. I can confirm that the correct Motor Carrier library is in place.
What could I need to do? Do I need to move MKRMotorCarrier.h somewhere?I’m trying to use the Arduino MKR 1000 with Motor Carrier and when I run
arduinosetup
and follow the prompts to set up my board, I get the following error log
Jun 03, 2023 12:02:42 PM com.mathworks.hwservices.logging
INFO: Loading configuration…
Initializing packages…
Preparing boards…
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Verifying…
C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1arduino-builder -dump-prefs -logger=machine -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardware -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1tools-builder -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardwaretoolsavr -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -built-in-libraries C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1libraries -libraries C:UsersmasteDocumentsArduinolibraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X804E -ide-version=10801 -build-path C:UsersmasteAppDataLocalTempArduinoServerMW -warnings=null -prefs=build.path=C:UsersmasteAppDataLocalTempArduinoServerMW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsopenocd.9.0-arduino6-static -prefs=runtime.tools.arduinoOTA.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarduinoOTA1.2.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0 -prefs=runtime.tools.bossac.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsbossac1.7.0 -prefs=runtime.tools.CMSIS.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1 -verbose C:UsersmasteAppDataLocalTempArduinoServerArduinoServer.ino
C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1arduino-builder -compile -logger=machine -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardware -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1tools-builder -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardwaretoolsavr -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -built-in-libraries C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1libraries -libraries C:UsersmasteDocumentsArduinolibraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X804E -ide-version=10801 -build-path C:UsersmasteAppDataLocalTempArduinoServerMW -warnings=null -prefs=build.path=C:UsersmasteAppDataLocalTempArduinoServerMW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsopenocd.9.0-arduino6-static -prefs=runtime.tools.arduinoOTA.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarduinoOTA1.2.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0 -prefs=runtime.tools.bossac.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsbossac1.7.0 -prefs=runtime.tools.CMSIS.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1 -verbose C:UsersmasteAppDataLocalTempArduinoServerArduinoServer.ino
Using board ‘mkr1000’ from platform in folder: C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20
Using core ‘arduino’ from platform in folder: C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20
Detecting libraries used…
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchArduinoServer.ino.cpp" -o "nul"
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp" -o "nul"
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp" -o "C:UsersmasteAppDataLocalTempArduinoServerMWpreprocctags_target_for_gcc_minus_e.cpp"
In file included from C:UsersmasteAppDataLocalTempArduinoServerMWsketchaddOnLibraries.h:4:0,
from C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp:12:
C:UsersmasteAppDataRoamingMathWorksMATLAB Add-OnsToolboxesAEK-Rev-1-Hardware-Support-19a+matlabMATLABAddon+arduinoioaddons+arduinosrcMKRMotorCarrierBase.h:11:29: fatal error: MKRMotorCarrier.h: No such file or directory
#include "MKRMotorCarrier.h"
^
compilation terminated.
exit status 1
I have already ran
edit ArduinoKitHardwareSupportReadMe.txt
and followed the directions. I can confirm that the correct Motor Carrier library is in place.
What could I need to do? Do I need to move MKRMotorCarrier.h somewhere? I’m trying to use the Arduino MKR 1000 with Motor Carrier and when I run
arduinosetup
and follow the prompts to set up my board, I get the following error log
Jun 03, 2023 12:02:42 PM com.mathworks.hwservices.logging
INFO: Loading configuration…
Initializing packages…
Preparing boards…
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Invalid library found in C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1: C:UsersmasteDocumentsArduinolibrariesMKRMotorCarrier-1.0.1
Verifying…
C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1arduino-builder -dump-prefs -logger=machine -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardware -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1tools-builder -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardwaretoolsavr -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -built-in-libraries C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1libraries -libraries C:UsersmasteDocumentsArduinolibraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X804E -ide-version=10801 -build-path C:UsersmasteAppDataLocalTempArduinoServerMW -warnings=null -prefs=build.path=C:UsersmasteAppDataLocalTempArduinoServerMW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsopenocd.9.0-arduino6-static -prefs=runtime.tools.arduinoOTA.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarduinoOTA1.2.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0 -prefs=runtime.tools.bossac.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsbossac1.7.0 -prefs=runtime.tools.CMSIS.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1 -verbose C:UsersmasteAppDataLocalTempArduinoServerArduinoServer.ino
C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1arduino-builder -compile -logger=machine -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardware -hardware C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1tools-builder -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1hardwaretoolsavr -tools C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackages -built-in-libraries C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetarduino-1.8.1libraries -libraries C:UsersmasteDocumentsArduinolibraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X804E -ide-version=10801 -build-path C:UsersmasteAppDataLocalTempArduinoServerMW -warnings=null -prefs=build.path=C:UsersmasteAppDataLocalTempArduinoServerMW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsopenocd.9.0-arduino6-static -prefs=runtime.tools.arduinoOTA.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarduinoOTA1.2.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0 -prefs=runtime.tools.bossac.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsbossac1.7.0 -prefs=runtime.tools.CMSIS.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1 -verbose C:UsersmasteAppDataLocalTempArduinoServerArduinoServer.ino
Using board ‘mkr1000’ from platform in folder: C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20
Using core ‘arduino’ from platform in folder: C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20
Detecting libraries used…
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchArduinoServer.ino.cpp" -o "nul"
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp" -o "nul"
"C:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsarm-none-eabi-gcc4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON ‘-DUSB_MANUFACTURER="Arduino LLC"’ ‘-DUSB_PRODUCT="Arduino MKR1000"’ "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS4.5.0/CMSIS/Include/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinotoolsCMSIS-Atmel1.1.0/CMSIS/Device/ATMEL/" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20coresarduino" "-IC:ProgramDataMATLABSupportPackagesR2019a3P.instrsetarduinoide.instrsetidepkgspackagesarduinohardwaresamd1.6.20variantsmkr1000" "C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp" -o "C:UsersmasteAppDataLocalTempArduinoServerMWpreprocctags_target_for_gcc_minus_e.cpp"
In file included from C:UsersmasteAppDataLocalTempArduinoServerMWsketchaddOnLibraries.h:4:0,
from C:UsersmasteAppDataLocalTempArduinoServerMWsketchIO_addOn.cpp:12:
C:UsersmasteAppDataRoamingMathWorksMATLAB Add-OnsToolboxesAEK-Rev-1-Hardware-Support-19a+matlabMATLABAddon+arduinoioaddons+arduinosrcMKRMotorCarrierBase.h:11:29: fatal error: MKRMotorCarrier.h: No such file or directory
#include "MKRMotorCarrier.h"
^
compilation terminated.
exit status 1
I have already ran
edit ArduinoKitHardwareSupportReadMe.txt
and followed the directions. I can confirm that the correct Motor Carrier library is in place.
What could I need to do? Do I need to move MKRMotorCarrier.h somewhere? arduino MATLAB Answers — New Questions
How to detect change in mean value of a signal
Hello!!!
I would like to ask for some help.
I am working with inputing a large number of time-series signals. Among these signals, there are some signals which the mean value has changed. I would ignore reading the signals which there is a change in mean value. I will give three examples of signal: 1) normal (without changing mean), 2) abrupt changing in mean value, and 3) linear changing in mean value. My goal is to detect signals which there is a change in mean and skip reading these signals.
Ps., I would like to set criteria that if the magnitude of change in mean is larger than 10,000, it will treat as there is a change of mean value. Lastly, the files of these three examples of signal are also attached.
1) Normal (✅ would like to input to matlab)
2) Abupt change (❌ do not want to input to matlab)
3) Linear change (❌ do not want to input to matlab)Hello!!!
I would like to ask for some help.
I am working with inputing a large number of time-series signals. Among these signals, there are some signals which the mean value has changed. I would ignore reading the signals which there is a change in mean value. I will give three examples of signal: 1) normal (without changing mean), 2) abrupt changing in mean value, and 3) linear changing in mean value. My goal is to detect signals which there is a change in mean and skip reading these signals.
Ps., I would like to set criteria that if the magnitude of change in mean is larger than 10,000, it will treat as there is a change of mean value. Lastly, the files of these three examples of signal are also attached.
1) Normal (✅ would like to input to matlab)
2) Abupt change (❌ do not want to input to matlab)
3) Linear change (❌ do not want to input to matlab) Hello!!!
I would like to ask for some help.
I am working with inputing a large number of time-series signals. Among these signals, there are some signals which the mean value has changed. I would ignore reading the signals which there is a change in mean value. I will give three examples of signal: 1) normal (without changing mean), 2) abrupt changing in mean value, and 3) linear changing in mean value. My goal is to detect signals which there is a change in mean and skip reading these signals.
Ps., I would like to set criteria that if the magnitude of change in mean is larger than 10,000, it will treat as there is a change of mean value. Lastly, the files of these three examples of signal are also attached.
1) Normal (✅ would like to input to matlab)
2) Abupt change (❌ do not want to input to matlab)
3) Linear change (❌ do not want to input to matlab) matlab, signal processing MATLAB Answers — New Questions
Simulink Mask won’t display parameter values
I want my masked subsystem to display two parameter values, but for some reason it is only displaying the variable name. I am not sure what the problem is. Photos are attached.I want my masked subsystem to display two parameter values, but for some reason it is only displaying the variable name. I am not sure what the problem is. Photos are attached. I want my masked subsystem to display two parameter values, but for some reason it is only displaying the variable name. I am not sure what the problem is. Photos are attached. simulink, mask, subsystem MATLAB Answers — New Questions
Merge two Outlook accounts
Hello community.
I have two account in Outlook, the first one created using Gmail and then accidently create a new one created in Outlook domain.
I want to merge them to use the one Outlook email alias.
Can somebody assist me with it?
Thanks
Hello community.I have two account in Outlook, the first one created using Gmail and then accidently create a new one created in Outlook domain.I want to merge them to use the one Outlook email alias.Can somebody assist me with it?Thanks Read More
mso98win32client.dll crashes for Excel, Word and Powerpoint
Crash event
Faulting application name: EXCEL.EXE, version: 16.0.17911.20000, time stamp: 0x6690be35
Faulting module name: mso98win32client.dll, version: 0.0.0.0, time stamp: 0x6690b68c
Exception code: 0xc0000005
Fault offset: 0x0000000000420c76
Faulting process id: 0x0x4B8C
Faulting application start time: 0x0x1DAD93D676F5021
Faulting application path: C:Program FilesMicrosoft OfficerootOffice16EXCEL.EXE
Faulting module path: C:Program FilesCommon FilesMicrosoft SharedOffice16mso98win32client.dll
Report Id: 4cdd1014-b952-4180-a2f0-6318cf44ef07
Faulting package full name:
Faulting package-relative application ID:
Cx has even reimaged the laptop and repair the Office still it didnt work
Looking for expert opinion
Crash eventFaulting application name: EXCEL.EXE, version: 16.0.17911.20000, time stamp: 0x6690be35Faulting module name: mso98win32client.dll, version: 0.0.0.0, time stamp: 0x6690b68cException code: 0xc0000005Fault offset: 0x0000000000420c76Faulting process id: 0x0x4B8CFaulting application start time: 0x0x1DAD93D676F5021Faulting application path: C:Program FilesMicrosoft OfficerootOffice16EXCEL.EXEFaulting module path: C:Program FilesCommon FilesMicrosoft SharedOffice16mso98win32client.dllReport Id: 4cdd1014-b952-4180-a2f0-6318cf44ef07Faulting package full name: Faulting package-relative application ID:Cx has even reimaged the laptop and repair the Office still it didnt workLooking for expert opinion Read More
Viva engage embed code not working in chrome
I am trying to integrate Viva engage embed code on our website. It is working fine only in edge but not in chrome. Anything specific that I need to do to make it work in chrome and other browsers ?
I am trying to integrate Viva engage embed code on our website. It is working fine only in edge but not in chrome. Anything specific that I need to do to make it work in chrome and other browsers ? Read More
Renew Certificate tags when Certificate are renewed for Azure webapp
Hi, currently we have certificate which expires after every 6 months and it is set to be renewed automatically. It is renewd after every 6 months without any issue but the tags on the certificates are removed when it is renewed. Is it a bug or is there any other way to make sure the tags are intact even after certificate renewal.
Any help or suggestion will be appreciated.
Hi, currently we have certificate which expires after every 6 months and it is set to be renewed automatically. It is renewd after every 6 months without any issue but the tags on the certificates are removed when it is renewed. Is it a bug or is there any other way to make sure the tags are intact even after certificate renewal. Any help or suggestion will be appreciated. Read More
Last Vulnerability Detection Date in MDVM
I recently started using MDVM and am trying to understand when a vulnerability was last seen on a device. When I zero in on a vulnerability (CVE) I see three dates Published On, First Detected, and Updated On:
Published On: which I believe is the date the CVE was published
First Detected: this is the date the vulnerability was first detected on the device
Updated On: this is where I am not sure what this means.
Is this the last date the vulnerability was detected on the device?
Is it the last the device was scanned?
If no to a & b, then how do I know when the vulnerability was last seen by the scanner. then how do I know when the vulnerability was last seen by the scanner. Is there a Last Date detected?
I have been researching this for a while but have not been able to find an answer to this point and am hopeful this community can assist!
Thanks in advance
Winston
I recently started using MDVM and am trying to understand when a vulnerability was last seen on a device. When I zero in on a vulnerability (CVE) I see three dates Published On, First Detected, and Updated On:Published On: which I believe is the date the CVE was publishedFirst Detected: this is the date the vulnerability was first detected on the deviceUpdated On: this is where I am not sure what this means. Is this the last date the vulnerability was detected on the device? Is it the last the device was scanned? If no to a & b, then how do I know when the vulnerability was last seen by the scanner. then how do I know when the vulnerability was last seen by the scanner. Is there a Last Date detected? I have been researching this for a while but have not been able to find an answer to this point and am hopeful this community can assist! Thanks in advanceWinston Read More
Windows 11 update installation error 0x800f081f, need help from developer to fix this
So since 8 months, i cannot do any windows update as it always give installation error. Something like cumulative windows version 22H2 was the update it was stuck on and now i even joined the windows insider program but still it is showing same installation error 0x800f081f. I even tried to contact support and somebody helped me to try few fixes but it didnt work. Anyone like developer or anyone who knows how to fix this, please reply as this issue is jst bugging my head rn after even trying thousands of fixes.
So since 8 months, i cannot do any windows update as it always give installation error. Something like cumulative windows version 22H2 was the update it was stuck on and now i even joined the windows insider program but still it is showing same installation error 0x800f081f. I even tried to contact support and somebody helped me to try few fixes but it didnt work. Anyone like developer or anyone who knows how to fix this, please reply as this issue is jst bugging my head rn after even trying thousands of fixes. Read More
“Accidental” email archiving during typo correction
Hi,
Since the last outlook update, me and my collegaues discovered a supper annoying but very useless feature.
So when we are writing an email and we make a typo, that we notice and try to correct. In torder to do that we (left)click in the word, where the typo is, the outlook gives us some inteligent suggestions what could be the correct word, but if you don’t choose any of those options (please note that in hungarian it is rarely accurate) but you try to manually correct the typo and hit the delete or backspace keys, to delete teh misspelled character, and outlook archives an email instead ( most of the users don’t notice they have archived an email, just that it didn’t deleted the character they wanted, so they hittinn the key a few more times resulting a bunch of emails being archived accidentally).
To some up, I click on the word where teh typo is, the cursor flashes at the place between the leters as it shoudl be the entire word is highlighted, I see the spellig suggestions and if I hit any of the backspace od delete keys it archives an email, just like it would think my coursor is not where I see it, but on my email list, point one of the emails.
Any idea how can I get rid of this feautre?
Hi,Since the last outlook update, me and my collegaues discovered a supper annoying but very useless feature. So when we are writing an email and we make a typo, that we notice and try to correct. In torder to do that we (left)click in the word, where the typo is, the outlook gives us some inteligent suggestions what could be the correct word, but if you don’t choose any of those options (please note that in hungarian it is rarely accurate) but you try to manually correct the typo and hit the delete or backspace keys, to delete teh misspelled character, and outlook archives an email instead ( most of the users don’t notice they have archived an email, just that it didn’t deleted the character they wanted, so they hittinn the key a few more times resulting a bunch of emails being archived accidentally).To some up, I click on the word where teh typo is, the cursor flashes at the place between the leters as it shoudl be the entire word is highlighted, I see the spellig suggestions and if I hit any of the backspace od delete keys it archives an email, just like it would think my coursor is not where I see it, but on my email list, point one of the emails. Any idea how can I get rid of this feautre? Read More
How can I see when the disposition review for a document is due?
I have documents which have got extendet during the disposition review. And now I want to know how long they got extended and when the next disposition review will be?
Does anybody know how to find out?
I have documents which have got extendet during the disposition review. And now I want to know how long they got extended and when the next disposition review will be? Does anybody know how to find out? Read More
Is 24H2 available now?
Hi just wandering if the 24h2 update has started rolling out yet? I don’t see the update on my laptop.
Hi just wandering if the 24h2 update has started rolling out yet? I don’t see the update on my laptop. Read More
Microsoft Defender for Cloud PoC Series – Microsoft Defender for APIs
Introduction
This Microsoft Defender for Cloud PoC Series provides guidelines on how to perform a proof of concept for specific Microsoft Defender plans. For a more holistic approach where you need to validate Microsoft Defender for Cloud and Microsoft Defender plans, please read How to Effectively Perform an Microsoft Defender for Cloud PoC article.
Defender for APIs provides full lifecycle protection, detection, and response coverage of your APIs published within Azure API Management Platform. Defender for APIs includes unified visibility across your Azure API Management services within your Azure subscriptions, security insights with hardening recommendations, sensitive data classification integrated with Microsoft Purview supporting sensitive information types and labels, and continuous monitoring of APIs with machine learning and threat intelligence-based detections to alert against top OWASP API risks.
Preparation
Every customer is entitled to a 30-day free trial of Defender for APIs when enabling for the first time. This provides a great opportunity to evaluate the functionality of Defender for APIs and its benefits.
To enable Defender for APIs you must have the proper level of privilege within Microsoft Defender for Cloud (Pre-requisites are listed below).
1 – Azure account
You need an Azure account to sign in to the Azure portal.
2 – Azure API Management Service instance
At least one with at least one or more supported APIs in an Azure subscription. Currently Defeder for APIs only supports REST APIs. Defender for APIs is enabled at the level of a subscription
3 – Onboarding permissions
To enable and onboard Defender for APIs, you will need API Management Service Contributor role access, along with the permissions outlined in the User roles and permissions for enabling Microsoft Defender plans.
4 – Onboarding location
You can enable Defender for APIs in the Microsoft Defender for Cloud portal, or in the Azure API Management portal. Onboarding can also be completed via API and via onboarding scripts for enablement at scale.
Planning
As a part of your Defender for APIs PoC you will need to identify use case scenarios that you want to validate. Some of these scenarios include demonstrating secure posture available in Defender for APIs via the API inventory dashboard, recommendation remediation, integrations with cloud security explorer, and attack path analysis for risk prioritization. You will also want to demonstrate the value of alerts sent by Defender for APIs.
Implementation and Validation
Now that you have Defender for APIs enabled in your environment, you must onboard your API resources to Defender for APIs before you can validate. Next, we can validate specific scenarios for demonstrating the value of Defender for APIs.
A. Validate inventory of APIs across onboarded subscriptions and APIM services
After onboarding the API resources, you can track their status in the Defender for Cloud portal > Workload protections > API security:
You can also navigate to other collections to learn about what types of insights or risks might exist in the inventory:
B. Assess security posture of the APIs to drive risk-based prioritization
Once your APIs are onboarded, Defender for APIs starts monitoring your APIs for sensitive data exposure. APIs are classified with both built-in and custom sensitive information types and labels as defined by your organization’s Microsoft Information Protection (MIP) Purview governance rules. If you do not have MIP Purview configured, APIs are classified with the Microsoft Defender for Cloud default classification rule set with the following features.
Within Defender for APIs inventory experience, you can search for sensitivity labels or sensitive information types by adding a filter to identify APIs with custom classifications and information types.
C. Review API hardening recommendations for best practice policies and protections against OWASP Top 10 API risks
In the Defender for Cloud portal, select Workload protections.
Select API security.
In the API Security dashboard, select an API collection.
4. In the API collection page, to drill down into an API endpoint, select the ellipses (…) > View resource.
5. In the Resource health page, review the endpoint settings.
6. In the Recommendations tab, review recommendation details and status.
D. Runtime monitoring and threat detections via alerts
Within the API’s Resource Health page, select the Alerts tab to review security alerts for the endpoint. Defender for APIs monitors API traffic to and from endpoints, to provide runtime protection against suspicious behavior and malicious attacks.
With Defender for APIs and data sensitivity integration into API security alerts, you can prioritize API security incidents involving sensitive data exposure.
In the alert’s extended properties, you can find sensitivity scanning findings for the sensitivity context:
Sensitivity scanning time UTC: when the last scan was performed.
Top sensitivity label: the most sensitive label found in the API endpoint.
Sensitive information types: information types that were found, and whether they are based on custom rules.
Sensitive file types: the file types of the sensitive data.
Defender for API sample alerts
In Defender for Cloud you can use sample alerts to evaluate your Defender for Cloud plans, and validate your security configuration. Follow these instructions to set up sample alerts and select the relevant APIs within your subscriptions. To see the alert process in action, you can simulate an action that triggers a Defender for APIs alert. Follow the instructions in our Tech Community blog to do that. To simulate alerts in your own environment, you can follow exercise 6 here.
E. Perform proactive threat hunting in Cloud Security Explorer and Attack paths
Integration with Cloud Security Explorer
In Defender CSPM, Cloud Security Graph collects data to provide a map of assets and connections across organization, to expose security risks, vulnerabilities, and possible lateral movement paths.
When the Defender CSPM plan is enabled together with Defender for APIs, you can use Cloud Security Explorer to identify, review and analyze API security risks across your organization.
In the Defender for Cloud portal, select Cloud Security Explorer.
In What would you like to search? select the APIs category.
Review the search results so that you can review, prioritize, and fix any API issues.
Alternatively, you can select one of the templated API queries to see high risk issues like Internet exposed API endpoints with sensitive data or APIs communicating over unencrypted protocols with unauthenticated API endpoints
Attack Paths
When the Defender Cloud Security Posture Management (CSPM) plan is enabled, API attack paths let you discover and remediate the risk of API data exposure.
Select the API attack path Internet exposed APIs that are unauthenticated carry sensitive data and review the data path:
View the attack path details by selecting the attack path published.
Select the Insights resource.
Expand the insight to analyze further details about this attack path:
5. For risk mitigation steps, open Active Recommendations and resolve unhealthy recommendations for the API endpoint in scope.
Explore API data exposure through Cloud Security Graph
When the Defender Cloud Security Posture Management CSPM plan is enabled, you can view sensitive APIs data exposure and identify the APIs labels according to your sensitivity settings by adding the following filter:
Conclusion
By the end of this PoC you should be able to determine the value proposition of Microsoft Defender for APIs and the importance to proactively mitigate risks in your environment.
P.S. Subscribe to our Microsoft Defender for Cloud and Microsoft Defender plans Newsletter to stay up to date on helpful tips and new releases and join our Tech Community where you can be one of the first to hear the latest Microsoft Defender for Cloud news, announcements and get your questions answered by Azure Security experts.
Additional Resources
Pricing – Customers may be interested to understand the potential cost of enabling Defender for APIs in their environment. For this refer to our cost estimation workbook – Microsoft Defender for API Security – Estimate Your Plan Cost Easily – Microsoft Community Hub.
Prerequisites – For more information about roles and privileges, visit
Alerts – For more information, see Defender for APIs alerts.
Attack paths – For more information, see Data security posture management in Defender CSPM.
Reviewers
Ajinkya Gore, Senior Product Manager – Defender for APIs
Haris Sohail, Product Manager 2 – Defender for APIs
Preetham Anand Naik, Senior Product Manager – Defender for APIs
Yuri Diogenes, Principal PM Manager – CxE Defender for Cloud
Microsoft Tech Community – Latest Blogs –Read More
Pre-Job Health Checks on AKS: A Guide to Stable AI Workloads
Pre-Job Health Checks on AKS: A Guide to Stable AI Workloads
Introduction
In the realm of AI workloads, ensuring the health and stability of compute nodes is critical. Training large AI models often spans months and relies on advanced AI supercomputers equipped with high-end GPUs like NVIDIA A100 or H100, interconnected via InfiniBand for efficient communication. These models’ training workloads are complex and interdependent, with frequent updates and communications facilitated by NCCL collective communication. However, the inherent complexity also brings challenges, as any failure in GPUs or InfiniBand links—such as dropped GPUs or InfiniBand link flaps—can lead to job termination, necessitating restarts from the last checkpoint.
In traditional HPC schedulers such as SLURM, job prologs are employed to execute scripts before the main job begins. These scripts are often used by customers to perform health checks before launching their workloads. Similarly, in Kubernetes, init containers serve as an effective mechanism for conducting pre-job checks. Init containers execute before the main application container within a pod, enabling the execution of health checks.
Ensuring healthy nodes has been a challenge on Azure for both traditional HPC and AI workloads. Due to their necessity, we have a standard set of tests for GPU/IB VMs on Azure that is published in the azurehpc-health-checks repository on GitHub. These health checks are now included on our Azure HPC images, and they are integrated and can automatically run on node startup for CycleCloud with SLURM or as a pre-job health check on Azure Machine Learning. The health checks are also distributed as a container, aznhc-nv, available on the Microsoft Artifact Registry.
Despite these advancements, we do not yet have a published solution for running these health checks on Azure Kubernetes Service (AKS). This blog post remedies that gap by providing a step-by-step guide on how to run pre-job health checks on AKS, ensuring your AI/HPC workloads run smoothly and efficiently from the start.
Prerequisites
AKS Cluster: You should have an AKS cluster set up.
kubectl: Ensure kubectl is installed and configured to interact with your AKS cluster.
Docker: Have Docker installed to build the Docker image.
Azure Container Registry (ACR): Set up an ACR to store the Docker image.
Note: this guide is specifically targeting the H100 GPU VMs on Azure (Standard_ND96isr_H100_v5). The healthcheck config file will need adaptation for other VM types.
Step 1: Build the Docker Image
First, create the necessary files for your Docker image.
Dockerfile
FROM mcr.microsoft.com/aznhc/aznhc-nv:latest
RUN cd /usr/local/bin
&& curl -LO “https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl”
&& chmod +x kubectl
COPY ndv5.conf /azure-nhc/conf/aznhc.conf
COPY run-healthcheck.sh /azure-nhc/run-healthcheck.sh
RUN chmod +x /azure-nhc/run-healthcheck.sh
ENTRYPOINT [“/azure-nhc/run-healthcheck.sh”]
ndv5.conf
#######################################################################
###
### Hardware checks
###
* || check_hw_cpuinfo 2 96 96
* || check_hw_physmem 1915071MB 1915071MB 5%
* || check_hw_swap 0kB 0kB 3%
* || check_hw_ib 400 mlx5_0:1
* || check_hw_ib 400 mlx5_1:1
* || check_hw_ib 400 mlx5_2:1
* || check_hw_ib 400 mlx5_3:1
* || check_hw_ib 400 mlx5_4:1
* || check_hw_ib 400 mlx5_5:1
* || check_hw_ib 400 mlx5_6:1
* || check_hw_ib 400 mlx5_7:1
* || check_hw_eth lo
* || check_hw_eth eth0
* || check_hw_topology
#######################################################################
####
#### GPU checks
####
* || check_gpu_count 8
* || check_nvsmi_healthmon
* || check_gpu_xid
* || check_gpu_bw 52 350
* || check_gpu_ecc 20000000 10000
* || check_gpu_clock_throttling
* || check_nccl_allreduce 460.0 1 /azure-nhc/topofiles/ndv5-topo.xml 16G
* || check_nvlink_status
#######################################################################
####
#### Additional IB checks
####
* || check_ib_bw_gdr 380
* || check_ib_link_flapping 6
run-healthcheck.sh
#!/bin/bash
CONF_FILE=/azure-nhc/conf/aznhc.conf
LOG_FILE=/azure-nhc/aznhc.log
nhc DETACHED_MODE=0 CONFFILE=$CONF_FILE LOGFILE=$LOG_FILE TIMEOUT=300
# Annotate node with test results
kubectl annotate node $NODE_NAME aznhc-results=”$(<$LOG_FILE)” –overwrite
if grep -q “ERROR: nhc: Health check failed:” $LOG_FILE; then
kubectl taint nodes “$NODE_NAME” aznhc=failed:NoExecute
exit 1
fi
Build and push your Docker image:
export ACR_NAME=<your-acr-name>
docker build -t $ACR_NAME.azurecr.io/aks-healthcheck:latest .
docker push $ACR_NAME.azurecr.io/aks-healthcheck:latest
Step 2: Create Service Account and Role Bindings
Create a serviceaccount.yaml file to define the necessary Kubernetes service account and role bindings.
serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: aksnhc-sa
namespace: default
—
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: aksnhc-role
rules:
– apiGroups: [“”]
resources: [“nodes”]
verbs: [“get”, “patch”]
—
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: aksnhc-rolebinding
subjects:
– kind: ServiceAccount
name: aksnhc-sa
namespace: default
roleRef:
kind: ClusterRole
name: aksnhc-role
apiGroup: rbac.authorization.k8s.io
Apply the configuration:
kubectl apply -f serviceaccount.yaml
Step 3: Running the Job
Create a healthcheck-job.yaml file to define a Kubernetes Job that executes health checks as an init container. This approach can be applied to both standard and Volcano-scheduled Jobs. If the init container fails its health checks, the node will be tainted with the aznhc=failed:NoExecute taint. This prevents new workloads from being scheduled on the node and triggers the eviction of the current Job, forcing it to restart on a healthy node.
healthcheck-job.yaml
apiVersion: batch/v1
kind: Job
metadata:
name: aks-healthcheck-job
spec:
completions: $NUM_NODES
parallelism: $NUM_NODES
completionMode: Indexed
ttlSecondsAfterFinished: 300
template:
spec:
serviceAccountName: aksnhc-sa
initContainers:
– name: healthcheck
image: $ACR_NAME.azurecr.io/aks-healthcheck:latest
imagePullPolicy: Always
securityContext:
capabilities:
add: [“IPC_LOCK”]
env:
– name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
volumeMounts:
– mountPath: /dev/shm
name: shmem
– mountPath: /azure-nhc/syslog
name: syslog-volume
readOnly: true
resources:
requests:
nvidia.com/gpu: 8
nvidia.com/mlnxnics: 8
limits:
nvidia.com/gpu: 8
nvidia.com/mlnxnics: 8
containers:
– name: main
image: busybox
command: [‘sh’, ‘-c’, ‘echo “run torchrun or workload here…”‘]
securityContext:
capabilities:
add: [“IPC_LOCK”]
volumeMounts:
– mountPath: /dev/shm
name: shmem
resources:
requests:
nvidia.com/gpu: 8
nvidia.com/mlnxnics: 8
limits:
nvidia.com/gpu: 8
nvidia.com/mlnxnics: 8
restartPolicy: Never
volumes:
– name: shmem
emptyDir:
medium: Memory
sizeLimit: 128Gi
– name: syslog-volume
hostPath:
path: /var/log/syslog
type: File
Apply the job configuration:
export ACR_NAME=<your-acr-name>
export NUM_NODES=<number-of-nodes>
envsubst < healthcheck-job.yaml | kubectl apply -f –
Step 4: Cleaning Up
To clean up the resources created for the health checks, you can delete the job and the service account resources:
export ACR_NAME=<your-acr-name>
export NUM_NODES=<number-of-nodes>
envsubst < healthcheck-job.yaml | kubectl delete -f –
kubectl delete -f serviceaccount.yaml
Conclusion
By following these steps, you can effectively run health checks as an init container on your AKS nodes. This ensures your nodes meet the required health standards before your application pods are scheduled, improving the reliability and performance of your applications.
Further Reading
Deployment scripts for AKS with AI examples
GPU node health checks integrated into Azure Kubernetes service via node problem detector
Microsoft Tech Community – Latest Blogs –Read More
u003cu0068u0031u003eHow to use Thi”ngSpeak””
lsls ls u003cu0068u0031u003e<h1><h1>%3ch1%3ehwkki%22 MATLAB Answers — New Questions
Import color video as grayscale?
Hi,
I am using the image processing toolbox and wonder if there is a smarter way to import color video as grayscale rather than looping over the color frames with the RGB2GRAY function (see below).
colorVidFrames = read(videoObj, [startFrame endFrame]);
for f = startFrame:endFrame
J = rgb2gray(colorVidFrames(:,:,:,f)); % CONVERT COLOR TO GRAY
gFrames(:,f) = J(:); % GRAY FRAMES
end
clear colorVidFrames
While the RGB2GRAY loop method does provide the desired end result, it is quite computationally expensive for my application. I understand that the computational rigor could be alleviated via parallel computing, but I’m really looking to avoid the conversion loop altogether if possible.
Thanks,
-JeffHi,
I am using the image processing toolbox and wonder if there is a smarter way to import color video as grayscale rather than looping over the color frames with the RGB2GRAY function (see below).
colorVidFrames = read(videoObj, [startFrame endFrame]);
for f = startFrame:endFrame
J = rgb2gray(colorVidFrames(:,:,:,f)); % CONVERT COLOR TO GRAY
gFrames(:,f) = J(:); % GRAY FRAMES
end
clear colorVidFrames
While the RGB2GRAY loop method does provide the desired end result, it is quite computationally expensive for my application. I understand that the computational rigor could be alleviated via parallel computing, but I’m really looking to avoid the conversion loop altogether if possible.
Thanks,
-Jeff Hi,
I am using the image processing toolbox and wonder if there is a smarter way to import color video as grayscale rather than looping over the color frames with the RGB2GRAY function (see below).
colorVidFrames = read(videoObj, [startFrame endFrame]);
for f = startFrame:endFrame
J = rgb2gray(colorVidFrames(:,:,:,f)); % CONVERT COLOR TO GRAY
gFrames(:,f) = J(:); % GRAY FRAMES
end
clear colorVidFrames
While the RGB2GRAY loop method does provide the desired end result, it is quite computationally expensive for my application. I understand that the computational rigor could be alleviated via parallel computing, but I’m really looking to avoid the conversion loop altogether if possible.
Thanks,
-Jeff rgb2gray import video read videoreader color grayscale MATLAB Answers — New Questions
Is there a way to crop an array depending on the values that I want through a function as the values change?
I currently have a graph that has multiple flat maxima but I only want the index values of the last one. I am currently using islocalmax(data,’flatselection’,’all’) to get all of the local maxima that exist and that then gives me a logical array which I can then either get the index values of all the 1’s but I then want the last collection of 1’s or the last collection of consecutive indexes. I was just wondering if there was a way to specifically select these values? I could manually find the start point of the last set and then set it to the end but as I want to use it on multiple data sets I want it to be automatic.
peaks = islocalmax(test.CAN_EMTrq,’FlatSelection’,’all’);
peaks1 = find(peaks==1);
This is the code I am using right now.
The table either looks like: 000011111000100001111101111 and I want the last 4 1’s or it looks like: 12,13,14,15,34,35,36,37,38,56,57,58,59 and I want the last 4 numbers.
ThanksI currently have a graph that has multiple flat maxima but I only want the index values of the last one. I am currently using islocalmax(data,’flatselection’,’all’) to get all of the local maxima that exist and that then gives me a logical array which I can then either get the index values of all the 1’s but I then want the last collection of 1’s or the last collection of consecutive indexes. I was just wondering if there was a way to specifically select these values? I could manually find the start point of the last set and then set it to the end but as I want to use it on multiple data sets I want it to be automatic.
peaks = islocalmax(test.CAN_EMTrq,’FlatSelection’,’all’);
peaks1 = find(peaks==1);
This is the code I am using right now.
The table either looks like: 000011111000100001111101111 and I want the last 4 1’s or it looks like: 12,13,14,15,34,35,36,37,38,56,57,58,59 and I want the last 4 numbers.
Thanks I currently have a graph that has multiple flat maxima but I only want the index values of the last one. I am currently using islocalmax(data,’flatselection’,’all’) to get all of the local maxima that exist and that then gives me a logical array which I can then either get the index values of all the 1’s but I then want the last collection of 1’s or the last collection of consecutive indexes. I was just wondering if there was a way to specifically select these values? I could manually find the start point of the last set and then set it to the end but as I want to use it on multiple data sets I want it to be automatic.
peaks = islocalmax(test.CAN_EMTrq,’FlatSelection’,’all’);
peaks1 = find(peaks==1);
This is the code I am using right now.
The table either looks like: 000011111000100001111101111 and I want the last 4 1’s or it looks like: 12,13,14,15,34,35,36,37,38,56,57,58,59 and I want the last 4 numbers.
Thanks matlab, data MATLAB Answers — New Questions
Hybrid AAD – Intune feature upgrade – security gap before GPO will be applied when no AD connectivit
Hello,
I am looking for a way to be sure that there will be no security gapbridge in the following scenario: there are windows 10 machines which are hybrid domain join – both AD and Azure connected managed by Intune and GPO. There is still a lot of security settings configured by GPO (not configured in Intune at all). We plan to use Intune feature upgrade to perform upgrade to Windows 11. It can happen for users which are working from home that they will receive Intune feature upgrade and will be upgraded to windows 11. After this as they are working from home if no VPN is established there is no AD connectivity so GPO will not be applied. This can lead to missing security configuration (which is done via GPO) and security bridge. Is there any way to handle it (except creating all GPO settings in Intune)?
Hello,I am looking for a way to be sure that there will be no security gapbridge in the following scenario: there are windows 10 machines which are hybrid domain join – both AD and Azure connected managed by Intune and GPO. There is still a lot of security settings configured by GPO (not configured in Intune at all). We plan to use Intune feature upgrade to perform upgrade to Windows 11. It can happen for users which are working from home that they will receive Intune feature upgrade and will be upgraded to windows 11. After this as they are working from home if no VPN is established there is no AD connectivity so GPO will not be applied. This can lead to missing security configuration (which is done via GPO) and security bridge. Is there any way to handle it (except creating all GPO settings in Intune)? Read More