Answered
EPOS4 Maxon Group and beaglebone programmed from Simulink
Hi, You can add compile time flags to your build environment of Embedded Coder using the 'addCompileFlags' function. For Exam...

3 meses ago | 0

| accepted

Answered
There is no Interface tab in Code Generation (r2017b)
Hi, I am able to find the 'Interface' tab under 'Code Generation' in the 'Configuration settings' of the Simulink model. I sugg...

4 meses ago | 0

Answered
How to make a mechanical model for a deformable linear wire using simscape multibody?
Hi, You can use the General Variable Mass block to set the center of mass in simscape. The simscape model can be rotated alon...

4 meses ago | 0

Answered
Ideal rankine cycle with open feedwater heater
Hi Here is an example that can help you with Ideal rankin cycle. https://www.mathworks.com/help/physmod/simscape/ug/rankine-c...

4 meses ago | 0

Answered
DAQ though MATLAB, writing data to other device issue
Hi, Ensure that you are using the device in the same interface that it is configured to work with. The two interfaces being Tra...

4 meses ago | 0

Answered
Prevent execution of a block if link to library is not resolved
 Hi, To protect the custom Simscape block, you can use the ‘Lock Links’ feature under the Library Tab. This doesnot allow the ...

4 meses ago | 1

Answered
Warning: Unsuccessful read: A timeout occurred before the Terminator was reached. 'serial' unable to read any data.
Hi, Did you try using 'serialport' function to create the serial connection, as 'serial' function is not recommended to use due...

4 meses ago | 0

Answered
Face detection and tracking demo not working
Hi Hari, The Documentation that you are refering is the Documentation for MATLAB R2020b. You can update your MATLAB to the lat...

5 meses ago | 0

Answered
monoCamera codegen error: Handle Classes in top-level outputs are not supported in MATLAB Coder
Hi Li Chen, ‘sensor' is a Handle class object of the class ‘monoCamera’. A handle class object cannot be an entry-point (top ...

5 meses ago | 0

Answered
Parallel Toolbox sets a max of 1 workers on new cluster in R2020b
 Hi, The issue could be with the other applications running in parallel with MATLAB or the system configurations. Hence this c...

5 meses ago | 0

| accepted

Answered
Arithmetic coding, the way to find decimal representation of codeword
Hi, You can get the length of the code word using 'size' function lengthOfCodeWord = size(code,2);

5 meses ago | 0

Answered
installed compiler not found
Hi Raphael, Firstly, make sure that you have installed the complete version of the MinGW compiler from the add-on section of ...

5 meses ago | 0

Answered
Error in Example LaneVehicleDetectionInSimulinkUsingCNNExample (R2020b)
Hi, This is a known issue in windows version of MATLAB 2020b which might be fixed in a future release.

5 meses ago | 0

Answered
THD+N calculation
Hi Willaim Jia, The calculation of Total Harmonic Distortion and noise (THD + N) of a signal is explained in this example. Th...

5 meses ago | 0

Answered
how do i create a sound signal whose frequency increase after every second in simulink
Hi, 1. You can use a ‘chirp’ block to generate a sine wave with increasing frequency with time. You can tune the block paramet...

5 meses ago | 0

Answered
Can I control GUI with Hand Gestures or variable input (instead of a mouse)?
Hi, The ability to control mouse pointer position, motion and clicks is not available in MATLAB. As a work around, you can use...

5 meses ago | 0

| accepted

Answered
How to use isocolor with you own color condition ?
Hi, You can use the 6th argument of ‘isosurface’ to change the color gradient of the isosurface. Here is an example ...

5 meses ago | 0

Answered
Building a Labview user interface for a Simulink Model with Labview simulation interface toolkit
 Hi, For integrating LabView and Simulink you can refer to the answer here. Another possible workaround would be to search...

5 meses ago | 0

Answered
How to run C codes in Matlab on linux?
 Hi, C code can be compiled in Linux using the mex command. Ensure that you have gcc installed in your machine. If you are com...

5 meses ago | 0

Answered
How to compile a program on linux to run on a distant Linux machine?
Hi, You can create standalone executables from MATLAB code using the Application Compiler App. This tool allows you to deploy ...

alrededor de 1 año ago | 0

Answered
how to fix ''Out of memory. The likely cause is an infinite recursion within the program. Error in rcca (line 12) rcca(nx,ny,A,k); ''
Hi, You are trying to implement the contour algorithm on the matrix. As the algorithm that you provided ( rcca ) is recursive,...

alrededor de 1 año ago | 0

Answered
How do I free memory dynamically allocated in a C function for use with MATLAB Coder?
Hi, I understand that you are using MATALB Coder to generate MATLAB equivalent C code. According to my understanding, MATLAB c...

alrededor de 1 año ago | 0

Answered
Comparing Two Data to find best match
Hi, I understand that you are trying to process the data x and y. Let us consider the data is stored in list y and matrix x. A...

alrededor de 1 año ago | 0

Answered
Multiple axis in simulink scope
Hi , Currently the plots in the Scope are limited by only one y-axis. You could show two different signals with different units...

alrededor de 1 año ago | 1

Answered
How to truncate a binary number and else?
Hi, I understand that you want to implement truncate and round-off operations on binary numbers. Considering that the binary n...

alrededor de 1 año ago | 0

Answered
Change colour of plot when colouring according to a variable
Hi, I understand that you are plotting air quality data using scatter function. You wanted to change the color of the plot bas...

alrededor de 1 año ago | 0

| accepted

Answered
Code Error When Trying to Plot Scope to Matlab Graph
Hi Kassandra, It seems that you want to plot the Simulink Scope Data in MATLAB. Data Import/Export from Simulink can be set usi...

alrededor de 1 año ago | 1

| accepted

Answered
How do I sort a cell of data according to it's label?
Hi, As suggested by dpb, you can convert the ‘label’ column of the table to be categorical and specify the order in which you w...

alrededor de 1 año ago | 0

| accepted

Answered
Matlab solve error : "Solutions are parametrised by the symbols...unable to convert into double"
Hi, I understand that you are trying to solve a system of equations using the solve function. And you are trying to get numeri...

alrededor de 1 año ago | 0