Month: June 2024
3d arrays Matrix multiplication with a vector
i have 3 D matrix <64x64x64 double> i want to mutiply it with a vector <64×1 double>.i have 3 D matrix <64x64x64 double> i want to mutiply it with a vector <64×1 double>. i have 3 D matrix <64x64x64 double> i want to mutiply it with a vector <64×1 double>. multiplication MATLAB Answers — New Questions
How to help generating a proposal with copilot?
Hi all,
I want copilot to assist me, writing a proposal.
The requirement is the following:
1) I have a pool of documents (example proposals that are quite similar to the one a want to create, some general information like project management methods etc.)
2) I have a summarized requirements document from the customer, which describes his needs.
Now I want copilot to help me writing a proposal in Word that is structured like the expample porposals and taking the requirements from the customer in account as the main leading document.
Do you have any ideas how to set this up with copilot?
Thanks in advance
Torsten
Hi all,I want copilot to assist me, writing a proposal.The requirement is the following:1) I have a pool of documents (example proposals that are quite similar to the one a want to create, some general information like project management methods etc.)2) I have a summarized requirements document from the customer, which describes his needs.Now I want copilot to help me writing a proposal in Word that is structured like the expample porposals and taking the requirements from the customer in account as the main leading document.Do you have any ideas how to set this up with copilot?Thanks in advanceTorsten Read More
Invoice population from different worksheet
I have an invoice in excel that I want to be able to enter the qty and the item number and have it populate the description, type, unit price and line total (the discount must be added manually bases on specific client parameters).
INVOICE
PRICELIST TABLE
I am hoping this is something simple I can do with INDEX or MATCH vs. using modeling. Does anyone have any ideas? Thanks
I have an invoice in excel that I want to be able to enter the qty and the item number and have it populate the description, type, unit price and line total (the discount must be added manually bases on specific client parameters). INVOICEPRICELIST TABLE I am hoping this is something simple I can do with INDEX or MATCH vs. using modeling. Does anyone have any ideas? Thanks Read More
DevOps : user story workflow to compel status changes
Hello team
I’ve customize some US status to have a more accurate understanding on US progress (New / Analysis / ready to Work / WIP / …Closed) and now I want to set-up a workflow to compel changes on US status. For example, to prevent a US status New to change to Closed.
I’ve been diging for sometime now but I didn’t find out 🙁
Could you help please ?
Thanks !
Hello teamI’ve customize some US status to have a more accurate understanding on US progress (New / Analysis / ready to Work / WIP / …Closed) and now I want to set-up a workflow to compel changes on US status. For example, to prevent a US status New to change to Closed.I’ve been diging for sometime now but I didn’t find out :(Could you help please ?Thanks ! Read More
Retention policy – keep deleted files for a year
Hello everyone,
Have a question regarding retention policy (or labels if it might help in this situation). I would like to implement a policy which keeps files which were deleted for a year after the file is deleted (in this case, for SharePoint Online). From what I saw, the only triggers for the policies are when items are created and when files are modified, but not when a file is deleted. Also, if I am understanding it correctly, you cannot put labels on the files which are in the recycle bin. Is there any solution which could help me in this case? This is the policy that I would like to implement for all of my SharePoint sites, which I have a lot of.
Kind regards.
Hello everyone, Have a question regarding retention policy (or labels if it might help in this situation). I would like to implement a policy which keeps files which were deleted for a year after the file is deleted (in this case, for SharePoint Online). From what I saw, the only triggers for the policies are when items are created and when files are modified, but not when a file is deleted. Also, if I am understanding it correctly, you cannot put labels on the files which are in the recycle bin. Is there any solution which could help me in this case? This is the policy that I would like to implement for all of my SharePoint sites, which I have a lot of. Kind regards. Read More
Readtable Delimiters on two similar files gives differing result
Is there any reason why using Readtable to open the following 2 csv files produces different results
Im using readtable as it has the ability to auto detect how many lines to skip, and generally works well – except for the case above and I can’t see why. My aim is to get the real data into a uitable
try
[file,folder]=uigetfile({‘*.csv’;’*.xls’},’Open Image’,app.startfolder);
catch
[file,folder]=uigetfile({‘*.csv’;’*.xls’},’Open Image’,’C:’);
end
fullpath=fullfile(folder,file);
app.startfolder=folder;
T = readtable(fullpath,MissingRule="omitrow",Delimiter=","); %Delimiter="tab"
app.UITable.Data=table2array(T);
This is what I am seeing:
I have tried omitting the Delimiter option in readtable, but with no luck
(Note my header files can be different which is why I want to try and avoid skipping " a known number of " rows.)Is there any reason why using Readtable to open the following 2 csv files produces different results
Im using readtable as it has the ability to auto detect how many lines to skip, and generally works well – except for the case above and I can’t see why. My aim is to get the real data into a uitable
try
[file,folder]=uigetfile({‘*.csv’;’*.xls’},’Open Image’,app.startfolder);
catch
[file,folder]=uigetfile({‘*.csv’;’*.xls’},’Open Image’,’C:’);
end
fullpath=fullfile(folder,file);
app.startfolder=folder;
T = readtable(fullpath,MissingRule="omitrow",Delimiter=","); %Delimiter="tab"
app.UITable.Data=table2array(T);
This is what I am seeing:
I have tried omitting the Delimiter option in readtable, but with no luck
(Note my header files can be different which is why I want to try and avoid skipping " a known number of " rows.) Is there any reason why using Readtable to open the following 2 csv files produces different results
Im using readtable as it has the ability to auto detect how many lines to skip, and generally works well – except for the case above and I can’t see why. My aim is to get the real data into a uitable
try
[file,folder]=uigetfile({‘*.csv’;’*.xls’},’Open Image’,app.startfolder);
catch
[file,folder]=uigetfile({‘*.csv’;’*.xls’},’Open Image’,’C:’);
end
fullpath=fullfile(folder,file);
app.startfolder=folder;
T = readtable(fullpath,MissingRule="omitrow",Delimiter=","); %Delimiter="tab"
app.UITable.Data=table2array(T);
This is what I am seeing:
I have tried omitting the Delimiter option in readtable, but with no luck
(Note my header files can be different which is why I want to try and avoid skipping " a known number of " rows.) readtable, uitable MATLAB Answers — New Questions
I’m trying to connect MATLAB 2023b to a Raspberry Pi 4B. I’ve created the object raspi(“192.168.137.128″,”jiang”,”raspberry”), but I keep encountering this issue.
>> r=raspi("192.168.137.128","jiang","raspberry")
### Updating Raspberry Pi I/O server…
### Connecting to board…
### Connected to 192.168.137.128…
### Creating server folder…
### Transferring source files…
### Building MATLAB I/O server…
Error executing command "make ONLY_MATLAB_IO=1 -C /opt/MATLAB/mw_server_v23.2.0 -f Makefile". Details:
STDERR: ‘writeReadSPI’:
IO_wrapperSPI.c:210:12: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
[-Wdiscarded-qualifiers]
210 | memcpy(wrData, &payloadBufferRx[index], dataLength); // Copy data to be written to local buffer
| ^~~~~~
In file included from IO_include.h:18,
from PeripheralToHandle.h:13,
from IO_peripheralInclude.h:16,
from IO_wrapperSPI.h:15,
from IO_wrapperSPI.c:10:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const uint8_T *’ {aka ‘const unsigned char
*’}
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
IO_wrapperSPI.c:189:32: warning: unused variable ‘ctr’ [-Wunused-variable]
189 | uint32_T SPIBus,dataLength,ctr;
| ^~~
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c: In function ‘print_app_details’:
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c:69:57: warning: implicit declaration of function ‘basename’;
did you mean ‘rename’? [-Wimplicit-function-declaration]
69 | fprintf(fd, "n"%s" Camera App (commit %s%s)nn", basename(app_name), GIT_COMMIT_ID, TAINTED);
| ^~~~~~~~
| rename
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c:69:22: warning: format ‘%s’ expects argument of type ‘char *’,
but argument 3 has type ‘int’ [-Wformat=]
69 | fprintf(fd, "n"%s" Camera App (commit %s%s)nn", basename(app_name), GIT_COMMIT_ID, TAINTED);
| ~^ ~~~~~~~~~~~~~~~~~~
| | |
| char * int
| %d
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c: In function ‘raspicommonsettings_parse_cmdline’:
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:149:32: warning: implicit declaration of function
‘basename’; did you mean ‘rename’? [-Wimplicit-function-declaration]
149 | display_valid_parameters(basename(get_app_name()), app_help);
| ^~~~~~~~
| rename
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:149:32: warning: passing argument 1 of
‘display_valid_parameters’ makes pointer from integer without a cast [-Wint-conversion]
149 | display_valid_parameters(basename(get_app_name()), app_help);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from /opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:57:
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.h:32:37: note: expected ‘char *’ but argument is of type ‘int’
32 | void display_valid_parameters(char *name, void (*app_help)(char*));
| ~~~~~~^~~~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_INIT’:
frameBuffer.c:54:55: warning: comparison between pointer and zero character constant [-Wpointer-compare]
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ^~
frameBuffer.c:54:31: note: did you mean to dereference the pointer?
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ^
frameBuffer.c:54:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ~~^~~~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_WRITEPIXEL’:
frameBuffer.c:80:9: warning: unused variable ‘ii’ [-Wunused-variable]
80 | int ii ;
| ^~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_DISPLAYIMAGE’:
frameBuffer.c:107:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
107 | for(ii=0; ii<100 & sh_fbname[ii] != ”; ii++)
| ~~^~~~
frameBuffer.c:105:10: warning: variable ‘fileName’ set but not used [-Wunused-but-set-variable]
105 | char fileName[100];
| ^~~~~~~~
frameBuffer.c:104:9: warning: unused variable ‘pxllocation’ [-Wunused-variable]
104 | int pxllocation=0;
| ^~~~~~~~~~~
joystick.c: In function ‘EXT_JOYSTICK_INIT’:
joystick.c:45:56: warning: comparison between pointer and zero character constant [-Wpointer-compare]
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ^~
joystick.c:45:32: note: did you mean to dereference the pointer?
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ^
joystick.c:45:25: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ~~^~~~
joystick.c: In function ‘EXT_JOYSTICK_READ’:
joystick.c:82:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
82 | for(ii=0;(ii<100 & sh_evdevName[ii] != ”);ii++)
| ~~^~~~
/usr/bin/ld: cannot find -lmmal: No such file or directory
/usr/bin/ld: cannot find -lmmal_core: No such file or directory
/usr/bin/ld: cannot find -lmmal_util: No such file or directory
/usr/bin/ld: cannot find -lmmal_vc_client: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:95: build] Error 1
STDOUT: make: Entering directory ‘/opt/MATLAB/mw_server_v23.2.0’
[Compiling] IO_wrapperv4l2.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperv4l2.c -o obj/IO_wrapperv4l2.o
[Compiling] MW_PWM.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_PWM.c -o
obj/MW_PWM.o
[Compiling] MW_pigs.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_pigs.c -o
obj/MW_pigs.o
[Compiling] sharedServer.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ sharedServer.c
-o obj/sharedServer.o
[Compiling] IO_wrapperCameraboard.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperCameraboard.c -o obj/IO_wrapperCameraboard.o
[Compiling] IO_wrapperArducamMultiAdapter.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperArducamMultiAdapter.c -o obj/IO_wrapperArducamMultiAdapter.o
[Compiling] mw_wrapperCANChannel.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
mw_wrapperCANChannel.c -o obj/mw_wrapperCANChannel.o
[Compiling] LED.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ LED.c -o
obj/LED.o
[Compiling] picam.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ picam.c -o
obj/picam.o
[Compiling] arducamMultiAdapter.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
arducamMultiAdapter.c -o obj/arducamMultiAdapter.o
[Compiling] system.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ system.c -o
obj/system.o
[Compiling] IO_wrapperLED.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperLED.c
-o obj/IO_wrapperLED.o
[Compiling] MW_digitalIO.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_digitalIO.c
-o obj/MW_digitalIO.o
[Compiling] customFunction.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
customFunction.c -o obj/customFunction.o
[Compiling] servoRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ servoRaspi.c -o
obj/servoRaspi.o
[Compiling] IO_checksum.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_checksum.c
-o obj/IO_checksum.o
[Compiling] IO_packet.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_packet.c -o
obj/IO_packet.o
[Compiling] IO_standardperipherals.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_standardperipherals.c -o obj/IO_standardperipherals.o
[Compiling] IO_wrapperI2C.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperI2C.c
-o obj/IO_wrapperI2C.o
[Compiling] IO_wrapperPulseIn.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperPulseIn.c -o obj/IO_wrapperPulseIn.o
[Compiling] IO_wrapperSCI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperSCI.c
-o obj/IO_wrapperSCI.o
[Compiling] PeripheralToHandle.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
PeripheralToHandle.c -o obj/PeripheralToHandle.o
[Compiling] IO_debug.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_debug.c -o
obj/IO_debug.o
[Compiling] IO_server.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_server.c -o
obj/IO_server.o
[Compiling] IO_utilities.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_utilities.c
-o obj/IO_utilities.o
[Compiling] IO_wrapperDigitalIO.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperDigitalIO.c -o obj/IO_wrapperDigitalIO.o
[Compiling] IO_wrapperPWM.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperPWM.c
-o obj/IO_wrapperPWM.o
[Compiling] IO_wrapperSPI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperSPI.c
-o obj/IO_wrapperSPI.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c -o obj/RaspiCamControl.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c -o obj/RaspiHelpers.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c -o obj/RaspiPreview.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c -o obj/RaspiCLI.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c -o obj/RaspiCommonSettings.o
[Compiling] frameBuffer.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ frameBuffer.c
-o obj/frameBuffer.o
[Compiling] frameBufferRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
frameBufferRaspi.c -o obj/frameBufferRaspi.o
[Compiling] joystick.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ joystick.c -o
obj/joystick.o
[Compiling] joystickRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ joystickRaspi.c
-o obj/joystickRaspi.o
[Compiling] runCommand.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ runCommand.c -o
obj/runCommand.o
echo [Linking]
[Linking]
make: Leaving directory ‘/opt/MATLAB/mw_server_v23.2.0’>> r=raspi("192.168.137.128","jiang","raspberry")
### Updating Raspberry Pi I/O server…
### Connecting to board…
### Connected to 192.168.137.128…
### Creating server folder…
### Transferring source files…
### Building MATLAB I/O server…
Error executing command "make ONLY_MATLAB_IO=1 -C /opt/MATLAB/mw_server_v23.2.0 -f Makefile". Details:
STDERR: ‘writeReadSPI’:
IO_wrapperSPI.c:210:12: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
[-Wdiscarded-qualifiers]
210 | memcpy(wrData, &payloadBufferRx[index], dataLength); // Copy data to be written to local buffer
| ^~~~~~
In file included from IO_include.h:18,
from PeripheralToHandle.h:13,
from IO_peripheralInclude.h:16,
from IO_wrapperSPI.h:15,
from IO_wrapperSPI.c:10:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const uint8_T *’ {aka ‘const unsigned char
*’}
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
IO_wrapperSPI.c:189:32: warning: unused variable ‘ctr’ [-Wunused-variable]
189 | uint32_T SPIBus,dataLength,ctr;
| ^~~
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c: In function ‘print_app_details’:
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c:69:57: warning: implicit declaration of function ‘basename’;
did you mean ‘rename’? [-Wimplicit-function-declaration]
69 | fprintf(fd, "n"%s" Camera App (commit %s%s)nn", basename(app_name), GIT_COMMIT_ID, TAINTED);
| ^~~~~~~~
| rename
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c:69:22: warning: format ‘%s’ expects argument of type ‘char *’,
but argument 3 has type ‘int’ [-Wformat=]
69 | fprintf(fd, "n"%s" Camera App (commit %s%s)nn", basename(app_name), GIT_COMMIT_ID, TAINTED);
| ~^ ~~~~~~~~~~~~~~~~~~
| | |
| char * int
| %d
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c: In function ‘raspicommonsettings_parse_cmdline’:
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:149:32: warning: implicit declaration of function
‘basename’; did you mean ‘rename’? [-Wimplicit-function-declaration]
149 | display_valid_parameters(basename(get_app_name()), app_help);
| ^~~~~~~~
| rename
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:149:32: warning: passing argument 1 of
‘display_valid_parameters’ makes pointer from integer without a cast [-Wint-conversion]
149 | display_valid_parameters(basename(get_app_name()), app_help);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from /opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:57:
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.h:32:37: note: expected ‘char *’ but argument is of type ‘int’
32 | void display_valid_parameters(char *name, void (*app_help)(char*));
| ~~~~~~^~~~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_INIT’:
frameBuffer.c:54:55: warning: comparison between pointer and zero character constant [-Wpointer-compare]
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ^~
frameBuffer.c:54:31: note: did you mean to dereference the pointer?
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ^
frameBuffer.c:54:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ~~^~~~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_WRITEPIXEL’:
frameBuffer.c:80:9: warning: unused variable ‘ii’ [-Wunused-variable]
80 | int ii ;
| ^~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_DISPLAYIMAGE’:
frameBuffer.c:107:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
107 | for(ii=0; ii<100 & sh_fbname[ii] != ”; ii++)
| ~~^~~~
frameBuffer.c:105:10: warning: variable ‘fileName’ set but not used [-Wunused-but-set-variable]
105 | char fileName[100];
| ^~~~~~~~
frameBuffer.c:104:9: warning: unused variable ‘pxllocation’ [-Wunused-variable]
104 | int pxllocation=0;
| ^~~~~~~~~~~
joystick.c: In function ‘EXT_JOYSTICK_INIT’:
joystick.c:45:56: warning: comparison between pointer and zero character constant [-Wpointer-compare]
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ^~
joystick.c:45:32: note: did you mean to dereference the pointer?
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ^
joystick.c:45:25: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ~~^~~~
joystick.c: In function ‘EXT_JOYSTICK_READ’:
joystick.c:82:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
82 | for(ii=0;(ii<100 & sh_evdevName[ii] != ”);ii++)
| ~~^~~~
/usr/bin/ld: cannot find -lmmal: No such file or directory
/usr/bin/ld: cannot find -lmmal_core: No such file or directory
/usr/bin/ld: cannot find -lmmal_util: No such file or directory
/usr/bin/ld: cannot find -lmmal_vc_client: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:95: build] Error 1
STDOUT: make: Entering directory ‘/opt/MATLAB/mw_server_v23.2.0’
[Compiling] IO_wrapperv4l2.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperv4l2.c -o obj/IO_wrapperv4l2.o
[Compiling] MW_PWM.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_PWM.c -o
obj/MW_PWM.o
[Compiling] MW_pigs.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_pigs.c -o
obj/MW_pigs.o
[Compiling] sharedServer.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ sharedServer.c
-o obj/sharedServer.o
[Compiling] IO_wrapperCameraboard.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperCameraboard.c -o obj/IO_wrapperCameraboard.o
[Compiling] IO_wrapperArducamMultiAdapter.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperArducamMultiAdapter.c -o obj/IO_wrapperArducamMultiAdapter.o
[Compiling] mw_wrapperCANChannel.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
mw_wrapperCANChannel.c -o obj/mw_wrapperCANChannel.o
[Compiling] LED.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ LED.c -o
obj/LED.o
[Compiling] picam.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ picam.c -o
obj/picam.o
[Compiling] arducamMultiAdapter.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
arducamMultiAdapter.c -o obj/arducamMultiAdapter.o
[Compiling] system.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ system.c -o
obj/system.o
[Compiling] IO_wrapperLED.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperLED.c
-o obj/IO_wrapperLED.o
[Compiling] MW_digitalIO.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_digitalIO.c
-o obj/MW_digitalIO.o
[Compiling] customFunction.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
customFunction.c -o obj/customFunction.o
[Compiling] servoRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ servoRaspi.c -o
obj/servoRaspi.o
[Compiling] IO_checksum.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_checksum.c
-o obj/IO_checksum.o
[Compiling] IO_packet.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_packet.c -o
obj/IO_packet.o
[Compiling] IO_standardperipherals.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_standardperipherals.c -o obj/IO_standardperipherals.o
[Compiling] IO_wrapperI2C.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperI2C.c
-o obj/IO_wrapperI2C.o
[Compiling] IO_wrapperPulseIn.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperPulseIn.c -o obj/IO_wrapperPulseIn.o
[Compiling] IO_wrapperSCI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperSCI.c
-o obj/IO_wrapperSCI.o
[Compiling] PeripheralToHandle.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
PeripheralToHandle.c -o obj/PeripheralToHandle.o
[Compiling] IO_debug.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_debug.c -o
obj/IO_debug.o
[Compiling] IO_server.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_server.c -o
obj/IO_server.o
[Compiling] IO_utilities.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_utilities.c
-o obj/IO_utilities.o
[Compiling] IO_wrapperDigitalIO.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperDigitalIO.c -o obj/IO_wrapperDigitalIO.o
[Compiling] IO_wrapperPWM.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperPWM.c
-o obj/IO_wrapperPWM.o
[Compiling] IO_wrapperSPI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperSPI.c
-o obj/IO_wrapperSPI.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c -o obj/RaspiCamControl.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c -o obj/RaspiHelpers.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c -o obj/RaspiPreview.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c -o obj/RaspiCLI.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c -o obj/RaspiCommonSettings.o
[Compiling] frameBuffer.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ frameBuffer.c
-o obj/frameBuffer.o
[Compiling] frameBufferRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
frameBufferRaspi.c -o obj/frameBufferRaspi.o
[Compiling] joystick.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ joystick.c -o
obj/joystick.o
[Compiling] joystickRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ joystickRaspi.c
-o obj/joystickRaspi.o
[Compiling] runCommand.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ runCommand.c -o
obj/runCommand.o
echo [Linking]
[Linking]
make: Leaving directory ‘/opt/MATLAB/mw_server_v23.2.0’ >> r=raspi("192.168.137.128","jiang","raspberry")
### Updating Raspberry Pi I/O server…
### Connecting to board…
### Connected to 192.168.137.128…
### Creating server folder…
### Transferring source files…
### Building MATLAB I/O server…
Error executing command "make ONLY_MATLAB_IO=1 -C /opt/MATLAB/mw_server_v23.2.0 -f Makefile". Details:
STDERR: ‘writeReadSPI’:
IO_wrapperSPI.c:210:12: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
[-Wdiscarded-qualifiers]
210 | memcpy(wrData, &payloadBufferRx[index], dataLength); // Copy data to be written to local buffer
| ^~~~~~
In file included from IO_include.h:18,
from PeripheralToHandle.h:13,
from IO_peripheralInclude.h:16,
from IO_wrapperSPI.h:15,
from IO_wrapperSPI.c:10:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const uint8_T *’ {aka ‘const unsigned char
*’}
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
IO_wrapperSPI.c:189:32: warning: unused variable ‘ctr’ [-Wunused-variable]
189 | uint32_T SPIBus,dataLength,ctr;
| ^~~
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c: In function ‘print_app_details’:
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c:69:57: warning: implicit declaration of function ‘basename’;
did you mean ‘rename’? [-Wimplicit-function-declaration]
69 | fprintf(fd, "n"%s" Camera App (commit %s%s)nn", basename(app_name), GIT_COMMIT_ID, TAINTED);
| ^~~~~~~~
| rename
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c:69:22: warning: format ‘%s’ expects argument of type ‘char *’,
but argument 3 has type ‘int’ [-Wformat=]
69 | fprintf(fd, "n"%s" Camera App (commit %s%s)nn", basename(app_name), GIT_COMMIT_ID, TAINTED);
| ~^ ~~~~~~~~~~~~~~~~~~
| | |
| char * int
| %d
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c: In function ‘raspicommonsettings_parse_cmdline’:
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:149:32: warning: implicit declaration of function
‘basename’; did you mean ‘rename’? [-Wimplicit-function-declaration]
149 | display_valid_parameters(basename(get_app_name()), app_help);
| ^~~~~~~~
| rename
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:149:32: warning: passing argument 1 of
‘display_valid_parameters’ makes pointer from integer without a cast [-Wint-conversion]
149 | display_valid_parameters(basename(get_app_name()), app_help);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from /opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c:57:
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.h:32:37: note: expected ‘char *’ but argument is of type ‘int’
32 | void display_valid_parameters(char *name, void (*app_help)(char*));
| ~~~~~~^~~~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_INIT’:
frameBuffer.c:54:55: warning: comparison between pointer and zero character constant [-Wpointer-compare]
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ^~
frameBuffer.c:54:31: note: did you mean to dereference the pointer?
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ^
frameBuffer.c:54:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != ”;ii++)
| ~~^~~~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_WRITEPIXEL’:
frameBuffer.c:80:9: warning: unused variable ‘ii’ [-Wunused-variable]
80 | int ii ;
| ^~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_DISPLAYIMAGE’:
frameBuffer.c:107:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
107 | for(ii=0; ii<100 & sh_fbname[ii] != ”; ii++)
| ~~^~~~
frameBuffer.c:105:10: warning: variable ‘fileName’ set but not used [-Wunused-but-set-variable]
105 | char fileName[100];
| ^~~~~~~~
frameBuffer.c:104:9: warning: unused variable ‘pxllocation’ [-Wunused-variable]
104 | int pxllocation=0;
| ^~~~~~~~~~~
joystick.c: In function ‘EXT_JOYSTICK_INIT’:
joystick.c:45:56: warning: comparison between pointer and zero character constant [-Wpointer-compare]
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ^~
joystick.c:45:32: note: did you mean to dereference the pointer?
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ^
joystick.c:45:25: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != ”; ii++)
| ~~^~~~
joystick.c: In function ‘EXT_JOYSTICK_READ’:
joystick.c:82:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
82 | for(ii=0;(ii<100 & sh_evdevName[ii] != ”);ii++)
| ~~^~~~
/usr/bin/ld: cannot find -lmmal: No such file or directory
/usr/bin/ld: cannot find -lmmal_core: No such file or directory
/usr/bin/ld: cannot find -lmmal_util: No such file or directory
/usr/bin/ld: cannot find -lmmal_vc_client: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:95: build] Error 1
STDOUT: make: Entering directory ‘/opt/MATLAB/mw_server_v23.2.0’
[Compiling] IO_wrapperv4l2.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperv4l2.c -o obj/IO_wrapperv4l2.o
[Compiling] MW_PWM.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_PWM.c -o
obj/MW_PWM.o
[Compiling] MW_pigs.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_pigs.c -o
obj/MW_pigs.o
[Compiling] sharedServer.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ sharedServer.c
-o obj/sharedServer.o
[Compiling] IO_wrapperCameraboard.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperCameraboard.c -o obj/IO_wrapperCameraboard.o
[Compiling] IO_wrapperArducamMultiAdapter.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperArducamMultiAdapter.c -o obj/IO_wrapperArducamMultiAdapter.o
[Compiling] mw_wrapperCANChannel.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
mw_wrapperCANChannel.c -o obj/mw_wrapperCANChannel.o
[Compiling] LED.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ LED.c -o
obj/LED.o
[Compiling] picam.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ picam.c -o
obj/picam.o
[Compiling] arducamMultiAdapter.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
arducamMultiAdapter.c -o obj/arducamMultiAdapter.o
[Compiling] system.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ system.c -o
obj/system.o
[Compiling] IO_wrapperLED.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperLED.c
-o obj/IO_wrapperLED.o
[Compiling] MW_digitalIO.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ MW_digitalIO.c
-o obj/MW_digitalIO.o
[Compiling] customFunction.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
customFunction.c -o obj/customFunction.o
[Compiling] servoRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ servoRaspi.c -o
obj/servoRaspi.o
[Compiling] IO_checksum.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_checksum.c
-o obj/IO_checksum.o
[Compiling] IO_packet.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_packet.c -o
obj/IO_packet.o
[Compiling] IO_standardperipherals.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_standardperipherals.c -o obj/IO_standardperipherals.o
[Compiling] IO_wrapperI2C.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperI2C.c
-o obj/IO_wrapperI2C.o
[Compiling] IO_wrapperPulseIn.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperPulseIn.c -o obj/IO_wrapperPulseIn.o
[Compiling] IO_wrapperSCI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperSCI.c
-o obj/IO_wrapperSCI.o
[Compiling] PeripheralToHandle.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
PeripheralToHandle.c -o obj/PeripheralToHandle.o
[Compiling] IO_debug.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_debug.c -o
obj/IO_debug.o
[Compiling] IO_server.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_server.c -o
obj/IO_server.o
[Compiling] IO_utilities.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_utilities.c
-o obj/IO_utilities.o
[Compiling] IO_wrapperDigitalIO.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
IO_wrapperDigitalIO.c -o obj/IO_wrapperDigitalIO.o
[Compiling] IO_wrapperPWM.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperPWM.c
-o obj/IO_wrapperPWM.o
[Compiling] IO_wrapperSPI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ IO_wrapperSPI.c
-o obj/IO_wrapperSPI.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c -o obj/RaspiCamControl.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c -o obj/RaspiHelpers.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c -o obj/RaspiPreview.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c -o obj/RaspiCLI.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c -o obj/RaspiCommonSettings.o
[Compiling] frameBuffer.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ frameBuffer.c
-o obj/frameBuffer.o
[Compiling] frameBufferRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
frameBufferRaspi.c -o obj/frameBufferRaspi.o
[Compiling] joystick.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ joystick.c -o
obj/joystick.o
[Compiling] joystickRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ joystickRaspi.c
-o obj/joystickRaspi.o
[Compiling] runCommand.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_ runCommand.c -o
obj/runCommand.o
echo [Linking]
[Linking]
make: Leaving directory ‘/opt/MATLAB/mw_server_v23.2.0’ raspberry, matlab2023b MATLAB Answers — New Questions
after update stable version, autofill id and password is not working well
hello!
after edge stable update version 125 and then, autofill id and password is not works well.
but edge before version and other chromium bases browsers was all ok.
i ‘ve seen other discussions that it works fine after canary version, but not in my case.
login page has a different types URL, but page layout and html files are same.
for example,
there are ‘https://aaa.test.com‘ and ‘https://bbb.test.com‘
and password pocket contains login data like ‘https://bbb.test.com‘ / id: bbb / pw: 1234.
It works fine on https://aaa.test.com but not on https://bbb.test.com.
i had installed different types of edge browser like stable, develop, canary
but i had all same problem.
can you suggest any ideas?
hello! after edge stable update version 125 and then, autofill id and password is not works well.but edge before version and other chromium bases browsers was all ok. i ‘ve seen other discussions that it works fine after canary version, but not in my case. login page has a different types URL, but page layout and html files are same. for example,there are ‘https://aaa.test.com’ and ‘https://bbb.test.com’and password pocket contains login data like ‘https://bbb.test.com’ / id: bbb / pw: 1234. It works fine on https://aaa.test.com but not on https://bbb.test.com. i had installed different types of edge browser like stable, develop, canarybut i had all same problem. can you suggest any ideas? Read More
Music files suddenly won’t play properly
I have some music/voice files mostly mp4/m4a most of which were recorded on the voice recorder on pc originally. They have been working fine for over a year but now about 15mins in (this time varies considerably) it keeps pausing. Can someone please help?
I have some music/voice files mostly mp4/m4a most of which were recorded on the voice recorder on pc originally. They have been working fine for over a year but now about 15mins in (this time varies considerably) it keeps pausing. Can someone please help? Read More
cluster size
Hello, i have volume created in ibm5200, when try expand that volume more then 16TB i receive error “The volume cannot be extended because the number of clusters will exceed the maximum number of clusters supported by the file system”
If there is any possibility to extend that volume without formating ?
Hello, i have volume created in ibm5200, when try expand that volume more then 16TB i receive error “The volume cannot be extended because the number of clusters will exceed the maximum number of clusters supported by the file system”If there is any possibility to extend that volume without formating ? Read More
IntuneMAMEnrollmentStatusLocationServiceFailure
Can we have some documentation for these failure codes. Causes and how to fix
Can we have some documentation for these failure codes. Causes and how to fix Read More
Activate the automatic Office update (for M365 apps) via PowerShell
Hello,
We have installed M365 products for many customers and most of them have automatic updates enabled in their account settings. But not all. Since we don’t want to change over manually for our customers, we are looking for a way to do this via PowerShell.
In the article from Microsoft (https://learn.microsoft.com/de-de/microsoft-365/troubleshoot/updates/automatic-updates) registry keys are specified, but these neither set for devices with automatic updates nor for devices with deactivated updates.
Does anyone have a tip where to find the correct registry key or how else the automatic updates can be activated via PowerShell?
(Via GPO is not a solution because not all customers have an Active Directory, but the devices are entra-joined)
I look forward to ideas and suggestions.
Lisa
Hello, We have installed M365 products for many customers and most of them have automatic updates enabled in their account settings. But not all. Since we don’t want to change over manually for our customers, we are looking for a way to do this via PowerShell.In the article from Microsoft (https://learn.microsoft.com/de-de/microsoft-365/troubleshoot/updates/automatic-updates) registry keys are specified, but these neither set for devices with automatic updates nor for devices with deactivated updates.Does anyone have a tip where to find the correct registry key or how else the automatic updates can be activated via PowerShell?(Via GPO is not a solution because not all customers have an Active Directory, but the devices are entra-joined) I look forward to ideas and suggestions. Lisa Read More
No company Apps after signing in using company portal
Hi All
I really need your help on this issue, yesterday after playing with lots of settings I can’t figure out where is my mistake.
1. When I log in using Company Portal to enroll Android device (Personally-Owned with Work Profile), I can sign in without problems, with no Erros, but the device is not enrolled, and no apps shown.
2. Two days ago (before playing with multiple settings), I was able to log in with multiple test users accounts and apps was displayed normally.
3. I checked device policy and configuration policy and things seems OK.
4. After facing this problem, even did not apply Conditional access to the device group where this device belongs.
5. When I log in, I do not get to the setup access page where it starts to create profile and activate work profile and update device settings.
6. I even factory reset the Samsung s24 device but still the same.
7. Apps are assigned to the group where the device belongs.
8. One user even succeeded to enroll his device normally, so I added the testing user to that group and signed in, but it is still the same!!
9. I created two groups:
one for corporate owned devices with Work profile and devices works OK
Second for Personally owned devices with Work profile, one device enrolled and works, others not.
Definitely I am missing something, everything was not that complicated when I made the initial configuration.
Any suggestion where the problem could be?
Hi AllI really need your help on this issue, yesterday after playing with lots of settings I can’t figure out where is my mistake. 1. When I log in using Company Portal to enroll Android device (Personally-Owned with Work Profile), I can sign in without problems, with no Erros, but the device is not enrolled, and no apps shown.2. Two days ago (before playing with multiple settings), I was able to log in with multiple test users accounts and apps was displayed normally.3. I checked device policy and configuration policy and things seems OK.4. After facing this problem, even did not apply Conditional access to the device group where this device belongs.5. When I log in, I do not get to the setup access page where it starts to create profile and activate work profile and update device settings.6. I even factory reset the Samsung s24 device but still the same.7. Apps are assigned to the group where the device belongs.8. One user even succeeded to enroll his device normally, so I added the testing user to that group and signed in, but it is still the same!!9. I created two groups:one for corporate owned devices with Work profile and devices works OKSecond for Personally owned devices with Work profile, one device enrolled and works, others not. Definitely I am missing something, everything was not that complicated when I made the initial configuration. Any suggestion where the problem could be? Read More
Computing Euler Angles from MoCap Markers 3D Data
I have obtained 3D (x,y,z) data from a Motion Capture (MoCap) system using markers placed on the subject’s head and chin. The data is structured in the following format. I need to compute the Euler angles (yaw, pitch, and roll). Any assistanse in this matter would be greatly appreciated.
headFL = [data.HeadFL_X, data.HeadFL_Y, data.HeadFL_Z];
headFR = [data.HeadFR_X, data.HeadFR_Y, data.HeadFR_Z];
headBL = [data.HeadBL_X, data.HeadBL_Y, data.HeadBL_Z];
headBR = [data.HeadBR_X, data.HeadBR_Y, data.HeadBR_Z];
chin = [data.Chin_X, data.Chin_Y, data.Chin_Z];
headFL = [-97.507,-105.897,1594.74]
headFR = [-186.455,-9.66,1609.556]
headBL = [20.236,-15.579,1544.697]
headBR = [-86.745, 98.811,1557.386]
Chin = [-169.193,-74.004,1431.651]I have obtained 3D (x,y,z) data from a Motion Capture (MoCap) system using markers placed on the subject’s head and chin. The data is structured in the following format. I need to compute the Euler angles (yaw, pitch, and roll). Any assistanse in this matter would be greatly appreciated.
headFL = [data.HeadFL_X, data.HeadFL_Y, data.HeadFL_Z];
headFR = [data.HeadFR_X, data.HeadFR_Y, data.HeadFR_Z];
headBL = [data.HeadBL_X, data.HeadBL_Y, data.HeadBL_Z];
headBR = [data.HeadBR_X, data.HeadBR_Y, data.HeadBR_Z];
chin = [data.Chin_X, data.Chin_Y, data.Chin_Z];
headFL = [-97.507,-105.897,1594.74]
headFR = [-186.455,-9.66,1609.556]
headBL = [20.236,-15.579,1544.697]
headBR = [-86.745, 98.811,1557.386]
Chin = [-169.193,-74.004,1431.651] I have obtained 3D (x,y,z) data from a Motion Capture (MoCap) system using markers placed on the subject’s head and chin. The data is structured in the following format. I need to compute the Euler angles (yaw, pitch, and roll). Any assistanse in this matter would be greatly appreciated.
headFL = [data.HeadFL_X, data.HeadFL_Y, data.HeadFL_Z];
headFR = [data.HeadFR_X, data.HeadFR_Y, data.HeadFR_Z];
headBL = [data.HeadBL_X, data.HeadBL_Y, data.HeadBL_Z];
headBR = [data.HeadBR_X, data.HeadBR_Y, data.HeadBR_Z];
chin = [data.Chin_X, data.Chin_Y, data.Chin_Z];
headFL = [-97.507,-105.897,1594.74]
headFR = [-186.455,-9.66,1609.556]
headBL = [20.236,-15.579,1544.697]
headBR = [-86.745, 98.811,1557.386]
Chin = [-169.193,-74.004,1431.651] transferred MATLAB Answers — New Questions
How to write a point’s coordinates
How can I write coordinates of my extrema on a figure?
I tried using "text" command but I stiil can’t deal with the problemHow can I write coordinates of my extrema on a figure?
I tried using "text" command but I stiil can’t deal with the problem How can I write coordinates of my extrema on a figure?
I tried using "text" command but I stiil can’t deal with the problem coordinates-figure-write, coordinates-figure-write-plot, coordinates_figure_write_plot, coordinates_figure_write, plot MATLAB Answers — New Questions
how mixing pressure Pm is calculated in gas ejector model of Matlab
how mixing pressure Pm is calculated in gas ejector model of Matlabhow mixing pressure Pm is calculated in gas ejector model of Matlab how mixing pressure Pm is calculated in gas ejector model of Matlab simulink, gas ejector model MATLAB Answers — New Questions
Invalid training data Predictors must be a N-by-1 cell array of sequences
% Reshape training data for LSTM input and output
num_features = size(X_train, 2);
num_samples_per_day = 24; % Number of hours in a day
num_days_train = size(X_train, 1) / num_samples_per_day;
X_train_reshaped = cell(num_days_train, 1);
y_train_reshaped = cell(num_days_train, 1);
for a = 1:num_days_train
start_idx = (a – 1) * num_samples_per_day + 1;
end_idx = a * num_samples_per_day;
% Extract data for the current day
current_day_data = X_train(start_idx:end_idx, :);
current_day_target = y_train(start_idx:end_idx);
% Reshape data into a cell array of matrices [num_features x num_samples_per_day]
reshaped_data = num2cell(current_day_data’, 1);
X_train_reshaped{a} = reshaped_data;
% Reshape target values into a cell array of column vectors
reshaped_target = reshape(current_day_target, [], 1);
y_train_reshaped{a} = reshaped_target;
end
% Reshape validation data for LSTM input
num_days_val = size(X_val, 1) / num_samples_per_day;
X_val_reshaped = cell(num_days_val, 1);
y_val_reshaped = cell(num_days_val, 1);
for b = 1:num_days_val
start_idx = (b – 1) * num_samples_per_day + 1;
end_idx = b * num_samples_per_day;
% Extract data for the current day
current_day_data = X_val(start_idx:end_idx, :);
current_day_target = y_val(start_idx:end_idx);
% Reshape data into a matrix [num_features x num_samples_per_day]
reshaped_data = current_day_data’;
% Reshape target values into a column vector
reshaped_target = current_day_target’;
% Store reshaped data and target for the current day
X_val_reshaped{b} = reshaped_data;
y_val_reshaped{b} = reshaped_target;
end
% Reshape test data for LSTM input
num_days_test = size(X_test, 1) / num_samples_per_day;
X_test_reshaped = cell(num_days_test, 1);
for c = 1:num_days_test
start_idx = (c – 1) * num_samples_per_day + 1;
end_idx = c * num_samples_per_day;
% Extract data for the current day
current_day_data = X_test(start_idx:end_idx, :);
% Reshape data into a matrix [num_features x num_samples_per_day]
reshaped_data = current_day_data’;
% Store reshaped data for the current day
X_test_reshaped{c} = reshaped_data;
end
% Define hyperparameters for grid search
hidden_layers = [1, 2, 3];
num_hidden_units_range = [24, 48, 96, 192];
dropout_rates = [0.1, 0.2, 0.3, 0.4, 0.5];
learning_rates = [0.05, 0.01, 0.005, 0.001, 0.0005];
optimization_solvers_list = {‘adam’, ‘sgdm’, ‘rmsprop’};
num_epochs_range = [50, 100, 150, 200, 250];
% Build LSTM model
layers = [
sequenceInputLayer(num_features)
];
for m = 1:num_layers
layers = [
layers
lstmLayer(num_units, ‘OutputMode’, ‘sequence’)
dropoutLayer(dropout_rate)
];
end
% Connect the last LSTM layer to a fully connected layer
layers = [
layers
fullyConnectedLayer(num_units)
dropoutLayer(dropout_rate)
fullyConnectedLayer(24) % Output layer with 24 units for 24-hour GHI forecasting
regressionLayer % Output layer for regression tasks
];
% Set options for training
options = trainingOptions(optimizer, …
‘MaxEpochs’, num_epochs, …
‘MiniBatchSize’, 64, …
‘InitialLearnRate’, learning_rate, …
‘LearnRateSchedule’, ‘piecewise’, …
‘LearnRateDropPeriod’, 50, …
‘LearnRateDropFactor’, 0.1, …
‘ValidationData’, {X_val_reshaped, y_val_reshaped}, …
‘ValidationFrequency’, 10, …
‘ValidationPatience’, 20, …
‘Verbose’, 0, …
‘Plots’, ‘training-progress’);
% Train the LSTM model
lstm_model = trainNetwork(X_train_reshaped, y_train_reshaped, layers, options);
% Predict GHI using the trained model on validation data
y_pred_val = predict(lstm_model, X_val_reshaped);
% Denormalize predictions
y_pred_denormalized = y_pred_val * (max(features.GHI) – min(features.GHI)) + min(features.GHI);
% Calculate evaluation metrics
rmse_val = calculate_rmse(y_val, y_pred_val_denormalized);
mae_val = calculate_mae(y_val, y_pred_val_denormalized);
end
Error using trainNetwork (line 184)
Invalid training data. Predictors must be a N-by-1 cell array of sequences, where N is the number of sequences. All
sequences must have the same feature dimension and at least one time step.% Reshape training data for LSTM input and output
num_features = size(X_train, 2);
num_samples_per_day = 24; % Number of hours in a day
num_days_train = size(X_train, 1) / num_samples_per_day;
X_train_reshaped = cell(num_days_train, 1);
y_train_reshaped = cell(num_days_train, 1);
for a = 1:num_days_train
start_idx = (a – 1) * num_samples_per_day + 1;
end_idx = a * num_samples_per_day;
% Extract data for the current day
current_day_data = X_train(start_idx:end_idx, :);
current_day_target = y_train(start_idx:end_idx);
% Reshape data into a cell array of matrices [num_features x num_samples_per_day]
reshaped_data = num2cell(current_day_data’, 1);
X_train_reshaped{a} = reshaped_data;
% Reshape target values into a cell array of column vectors
reshaped_target = reshape(current_day_target, [], 1);
y_train_reshaped{a} = reshaped_target;
end
% Reshape validation data for LSTM input
num_days_val = size(X_val, 1) / num_samples_per_day;
X_val_reshaped = cell(num_days_val, 1);
y_val_reshaped = cell(num_days_val, 1);
for b = 1:num_days_val
start_idx = (b – 1) * num_samples_per_day + 1;
end_idx = b * num_samples_per_day;
% Extract data for the current day
current_day_data = X_val(start_idx:end_idx, :);
current_day_target = y_val(start_idx:end_idx);
% Reshape data into a matrix [num_features x num_samples_per_day]
reshaped_data = current_day_data’;
% Reshape target values into a column vector
reshaped_target = current_day_target’;
% Store reshaped data and target for the current day
X_val_reshaped{b} = reshaped_data;
y_val_reshaped{b} = reshaped_target;
end
% Reshape test data for LSTM input
num_days_test = size(X_test, 1) / num_samples_per_day;
X_test_reshaped = cell(num_days_test, 1);
for c = 1:num_days_test
start_idx = (c – 1) * num_samples_per_day + 1;
end_idx = c * num_samples_per_day;
% Extract data for the current day
current_day_data = X_test(start_idx:end_idx, :);
% Reshape data into a matrix [num_features x num_samples_per_day]
reshaped_data = current_day_data’;
% Store reshaped data for the current day
X_test_reshaped{c} = reshaped_data;
end
% Define hyperparameters for grid search
hidden_layers = [1, 2, 3];
num_hidden_units_range = [24, 48, 96, 192];
dropout_rates = [0.1, 0.2, 0.3, 0.4, 0.5];
learning_rates = [0.05, 0.01, 0.005, 0.001, 0.0005];
optimization_solvers_list = {‘adam’, ‘sgdm’, ‘rmsprop’};
num_epochs_range = [50, 100, 150, 200, 250];
% Build LSTM model
layers = [
sequenceInputLayer(num_features)
];
for m = 1:num_layers
layers = [
layers
lstmLayer(num_units, ‘OutputMode’, ‘sequence’)
dropoutLayer(dropout_rate)
];
end
% Connect the last LSTM layer to a fully connected layer
layers = [
layers
fullyConnectedLayer(num_units)
dropoutLayer(dropout_rate)
fullyConnectedLayer(24) % Output layer with 24 units for 24-hour GHI forecasting
regressionLayer % Output layer for regression tasks
];
% Set options for training
options = trainingOptions(optimizer, …
‘MaxEpochs’, num_epochs, …
‘MiniBatchSize’, 64, …
‘InitialLearnRate’, learning_rate, …
‘LearnRateSchedule’, ‘piecewise’, …
‘LearnRateDropPeriod’, 50, …
‘LearnRateDropFactor’, 0.1, …
‘ValidationData’, {X_val_reshaped, y_val_reshaped}, …
‘ValidationFrequency’, 10, …
‘ValidationPatience’, 20, …
‘Verbose’, 0, …
‘Plots’, ‘training-progress’);
% Train the LSTM model
lstm_model = trainNetwork(X_train_reshaped, y_train_reshaped, layers, options);
% Predict GHI using the trained model on validation data
y_pred_val = predict(lstm_model, X_val_reshaped);
% Denormalize predictions
y_pred_denormalized = y_pred_val * (max(features.GHI) – min(features.GHI)) + min(features.GHI);
% Calculate evaluation metrics
rmse_val = calculate_rmse(y_val, y_pred_val_denormalized);
mae_val = calculate_mae(y_val, y_pred_val_denormalized);
end
Error using trainNetwork (line 184)
Invalid training data. Predictors must be a N-by-1 cell array of sequences, where N is the number of sequences. All
sequences must have the same feature dimension and at least one time step. % Reshape training data for LSTM input and output
num_features = size(X_train, 2);
num_samples_per_day = 24; % Number of hours in a day
num_days_train = size(X_train, 1) / num_samples_per_day;
X_train_reshaped = cell(num_days_train, 1);
y_train_reshaped = cell(num_days_train, 1);
for a = 1:num_days_train
start_idx = (a – 1) * num_samples_per_day + 1;
end_idx = a * num_samples_per_day;
% Extract data for the current day
current_day_data = X_train(start_idx:end_idx, :);
current_day_target = y_train(start_idx:end_idx);
% Reshape data into a cell array of matrices [num_features x num_samples_per_day]
reshaped_data = num2cell(current_day_data’, 1);
X_train_reshaped{a} = reshaped_data;
% Reshape target values into a cell array of column vectors
reshaped_target = reshape(current_day_target, [], 1);
y_train_reshaped{a} = reshaped_target;
end
% Reshape validation data for LSTM input
num_days_val = size(X_val, 1) / num_samples_per_day;
X_val_reshaped = cell(num_days_val, 1);
y_val_reshaped = cell(num_days_val, 1);
for b = 1:num_days_val
start_idx = (b – 1) * num_samples_per_day + 1;
end_idx = b * num_samples_per_day;
% Extract data for the current day
current_day_data = X_val(start_idx:end_idx, :);
current_day_target = y_val(start_idx:end_idx);
% Reshape data into a matrix [num_features x num_samples_per_day]
reshaped_data = current_day_data’;
% Reshape target values into a column vector
reshaped_target = current_day_target’;
% Store reshaped data and target for the current day
X_val_reshaped{b} = reshaped_data;
y_val_reshaped{b} = reshaped_target;
end
% Reshape test data for LSTM input
num_days_test = size(X_test, 1) / num_samples_per_day;
X_test_reshaped = cell(num_days_test, 1);
for c = 1:num_days_test
start_idx = (c – 1) * num_samples_per_day + 1;
end_idx = c * num_samples_per_day;
% Extract data for the current day
current_day_data = X_test(start_idx:end_idx, :);
% Reshape data into a matrix [num_features x num_samples_per_day]
reshaped_data = current_day_data’;
% Store reshaped data for the current day
X_test_reshaped{c} = reshaped_data;
end
% Define hyperparameters for grid search
hidden_layers = [1, 2, 3];
num_hidden_units_range = [24, 48, 96, 192];
dropout_rates = [0.1, 0.2, 0.3, 0.4, 0.5];
learning_rates = [0.05, 0.01, 0.005, 0.001, 0.0005];
optimization_solvers_list = {‘adam’, ‘sgdm’, ‘rmsprop’};
num_epochs_range = [50, 100, 150, 200, 250];
% Build LSTM model
layers = [
sequenceInputLayer(num_features)
];
for m = 1:num_layers
layers = [
layers
lstmLayer(num_units, ‘OutputMode’, ‘sequence’)
dropoutLayer(dropout_rate)
];
end
% Connect the last LSTM layer to a fully connected layer
layers = [
layers
fullyConnectedLayer(num_units)
dropoutLayer(dropout_rate)
fullyConnectedLayer(24) % Output layer with 24 units for 24-hour GHI forecasting
regressionLayer % Output layer for regression tasks
];
% Set options for training
options = trainingOptions(optimizer, …
‘MaxEpochs’, num_epochs, …
‘MiniBatchSize’, 64, …
‘InitialLearnRate’, learning_rate, …
‘LearnRateSchedule’, ‘piecewise’, …
‘LearnRateDropPeriod’, 50, …
‘LearnRateDropFactor’, 0.1, …
‘ValidationData’, {X_val_reshaped, y_val_reshaped}, …
‘ValidationFrequency’, 10, …
‘ValidationPatience’, 20, …
‘Verbose’, 0, …
‘Plots’, ‘training-progress’);
% Train the LSTM model
lstm_model = trainNetwork(X_train_reshaped, y_train_reshaped, layers, options);
% Predict GHI using the trained model on validation data
y_pred_val = predict(lstm_model, X_val_reshaped);
% Denormalize predictions
y_pred_denormalized = y_pred_val * (max(features.GHI) – min(features.GHI)) + min(features.GHI);
% Calculate evaluation metrics
rmse_val = calculate_rmse(y_val, y_pred_val_denormalized);
mae_val = calculate_mae(y_val, y_pred_val_denormalized);
end
Error using trainNetwork (line 184)
Invalid training data. Predictors must be a N-by-1 cell array of sequences, where N is the number of sequences. All
sequences must have the same feature dimension and at least one time step. hyperparameters fine-tune MATLAB Answers — New Questions
Microsoft Defender for Office 365 For Zoho Email Solution
Hello All,
I am currently having a mix of email solution providers between O365 and Zoho ( Cloud Based Email Solution) just need to understand the below:
1. Can I protect my 3rd party email solution with MDO P1
2. What are the licensing components i need to look at and its architecture
Thank you.
Hello All,
I am currently having a mix of email solution providers between O365 and Zoho ( Cloud Based Email Solution) just need to understand the below:
1. Can I protect my 3rd party email solution with MDO P1
2. What are the licensing components i need to look at and its architecture
Thank you. Read More
Clarify the purpose of labelling features in Microsoft Defender for Cloud Apps and Purview
I find the lineup of Microsoft’s products, bundles and licenses confusing. The names seem to change regularly and it is difficult to know whether documentation is referring to old or new features.
I’m looking into sensitivity labels and what features are available for different license levels. The main features are provided in the Purview portal but there are other sensitivity label features in Microsoft Defender for Cloud Apps.
From my understanding, a user with an Office 365 E3 license will be licensed for the entry level Purview components (Information Protection, Data Loss Prevention, Data lifecycle management, eDiscovery and auditing, insider risk management). You need to step up to Office 365 E5 to get auto-labeling features.
Microsoft Defender for Cloud Apps also has some sensitivity labeling features. I believe this requires a Microsoft 365 E5 or a (Office 365 E5 + Enterprise Mobility + Security E5). Which means you would also have access to most of the Purview features.
What is the difference between the Microsoft Defender for Cloud Apps sensitivity label features compared to the Purview features for Microsoft 365 content? Is it just for labeling content in other cloud services like Box and Dropbox? I saw one article that says the Cloud Apps feature can only label 100 (SharePoint?) items per day.
I find the lineup of Microsoft’s products, bundles and licenses confusing. The names seem to change regularly and it is difficult to know whether documentation is referring to old or new features. I’m looking into sensitivity labels and what features are available for different license levels. The main features are provided in the Purview portal but there are other sensitivity label features in Microsoft Defender for Cloud Apps. From my understanding, a user with an Office 365 E3 license will be licensed for the entry level Purview components (Information Protection, Data Loss Prevention, Data lifecycle management, eDiscovery and auditing, insider risk management). You need to step up to Office 365 E5 to get auto-labeling features. Microsoft Defender for Cloud Apps also has some sensitivity labeling features. I believe this requires a Microsoft 365 E5 or a (Office 365 E5 + Enterprise Mobility + Security E5). Which means you would also have access to most of the Purview features. What is the difference between the Microsoft Defender for Cloud Apps sensitivity label features compared to the Purview features for Microsoft 365 content? Is it just for labeling content in other cloud services like Box and Dropbox? I saw one article that says the Cloud Apps feature can only label 100 (SharePoint?) items per day. Read More
Accessing app centric permission via API
Hi,
is there any way to access (get/set) app centric permissions from GraphAPI or any other API? Our usecase is that we want to set the configuration programatically and also assign groups to specific apps without using the admin.teams portal.
Best Regards
Lars
Hi, is there any way to access (get/set) app centric permissions from GraphAPI or any other API? Our usecase is that we want to set the configuration programatically and also assign groups to specific apps without using the admin.teams portal. Best Regards Lars Read More