Answered
Converting two matrix to a single table
You can flatten your matrices into column vectors (M1(:)) and then create a table from that. I see that you want the data in row...

4 years ago | 0

Answered
User inputs file over existing excel file
You could use a function like "uigetfile" to have the user select a file from the PC. After this you can use "readtable" to read...

5 years ago | 0

Answered
Reading CSV file using function
You can read the file line by line into a cell array and then split each line by the comma delimiter. The code would look someth...

5 years ago | 1

Answered
Creating if, else statement for Excel columns
min(FP1,[],1)>=500 In your code snippet the above line would give you a logical array indicating if a column meets your require...

5 years ago | 0

Answered
Can we compile a .m code to .dll
You can use the MATLAB Engine API to run MATLAB code from FORTRAN. Please take a look the link below for more information https...

5 years ago | 1

Answered
How can I store sensor data from serial port?
To store the data into a vector you can start with an empty vector and then keep adding values to it. data = []; while 1 ...

5 years ago | 1

Answered
How to compile&link mex extension with OpenMP on macOS? / MATLAB crash on call
There are some limitations for mex files using OpenMP. Please take a look at the MATLAB Answers post below for details https://...

5 years ago | 0

Answered
Using Arduino libraries in MATLAB
As mentioned <https://www.mathworks.com/help/supportpkg/arduinoio/ug/custom-library-concepts.html here>, the add on library inte...

5 years ago | 1

| accepted

Answered
Importing data from a text file into MATLAB as multiple variables of differing sizes
Yes, you are right. You can start by reading the entire data using textscan. After that, you can use something similar to the co...

5 years ago | 2

| accepted

Answered
How to access class and functions from python
Whenever you create a class in MATLAB it will be a Value class by default. However, while working with MATLAB Engine for python ...

5 years ago | 2

| accepted

Answered
matlab Compiler using mex file
If the application uses MEX, DLL or shared libraries, the dependency analyzer will not be able to detect it so you will have to ...

5 years ago | 0

Answered
ThingSpeak internal server error
I think your question was answered in the ThingSpeak Community forum, however for the reference of other users who might be faci...

5 years ago | 0

| accepted

Answered
How to have different preview windows for a single video object?
When you preview the video from a "videoinput" object, MATLAB will continuously retrieve the image data from the webcam and disp...

5 years ago | 0

| accepted

Answered
Using LOADLIBRARY to load 'visa32.dll' and 'visa.h' in 64-bit Matlab R2017b
It looks like this error could be related to one of the following two issues: 1) In 64-bit Windows, the VISA driver header f...

6 years ago | 1

| accepted

Answered
start the python engine via a script
The issue here is that when the Python script ends, Python will automatically close the newly created MATLAB Engine. Hence you w...

6 years ago | 0