Respondida
Why do i receive an error when building code for STM32 application in MATLAB 2019B?
Hi, As the Simulink Model uses a custom 'tlc' and a custom template make file (tmf), code generation is not possible at our end...

alrededor de 3 años hace | 0

| aceptada

Respondida
how can add lamda value to matrix in image processing?
Hi, You can add a scalar ("lamda") to a matrix by using the '+' operator. Note that this addes 'lamda' to all the elements of t...

alrededor de 3 años hace | 0

| aceptada

Respondida
Coulomb 3.3 Build input from CMT or focal mech. data
Hi, The Function 'deg2utm' is in a folder names "resources". Starting in MATLAB R2019a, the "resources" folder is a reserved fo...

alrededor de 3 años hace | 1

Respondida
Can I reduce Hough transform line results/combine results with similar theta
Hi, The ‘MinLength’ Argument to the ‘houghlines’ function determines the number of lines that will be given as output and stor...

alrededor de 3 años hace | 1

| aceptada

Respondida
How do I prevent my figures from duplicating?
Hi, The figure 'untitiled.fig' is duplicating as a result of 'untitled' function call from the ‘Obj_Add_Callback’ function in t...

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 1

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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);

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0

Respondida
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.

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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 ...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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 4 años hace | 0

Respondida
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 4 años hace | 0

Respondida
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 4 años hace | 0

Respondida
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 4 años hace | 0

Respondida
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 4 años hace | 3

| aceptada

Respondida
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 4 años hace | 0

Cargar más