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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 1

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

quasi 4 anni fa | 1

| accettato

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 1

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

quasi 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

| accettato

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

circa 4 anni fa | 0

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

oltre 4 anni fa | 0

Risposto
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,...

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 3

| accettato

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

oltre 4 anni fa | 0

Carica altro