Answered
Standalone Application uses Excel Sheet Template and writes in it, cant find it path
Hi Evmi, I understand that you are experiencing an error message when running the mentioned code in a standalone application cr...

3 months ago | 0

Answered
An error using trainNetwork. Invalid training data. The output size (1311) of the last layer does not match the number of classes of the responses (20).
Hi Afiq, I understand that you are encountering an error due to a mismatch between the output layer and the number of classes i...

3 months ago | 0

Answered
LCD defect detection using matlab
Hi Yt, MATLAB can be a good tool for developing a prototype or proof-of-concept software for detecting defects in LCD screens, ...

3 months ago | 0

Answered
How do I use a for loop for the newton raphson method?
Hi Yo, Here's the corrected version of your Newton's method implementation: function r = mynewton(f, a, n) syms x % ...

3 months ago | 0

Answered
getting error while using java builder for converting matlab code to java.....
Hi Ashish, The error message you are encountering suggests that there is an issue with the MATLAB Compiler Runtime (MCR) config...

3 months ago | 0

Answered
game of life help please
Hi Androslo, Here is an example implementation for your reference - function gameOfLife(initialState, numIterations) % ...

3 months ago | 1

Answered
Unknown Fuzzy Logic Inputs
Hi Rudy, The Fuzzy Logic Toolbox in MATLAB is designed to handle uncertainty and imprecision, which makes it suitable for deali...

3 months ago | 0

Answered
Game theory Competition models in Toolbox
Hi Abdollah, MATLAB doesn't have a built-in toolbox specifically dedicated to game theory.

3 months ago | 1

Answered
Installation of MatlabEngine on Python in Jupyter Notebook
Hi Yasunori, The issue you're experiencing is likely due to installing the matlabengineforpython package in a different Python ...

3 months ago | 0

Answered
Error in receiving data from client (using sockets)
Hi Sree, The error you're encountering in MATLAB indicates that the fread function is being called with a size of 0, which sugg...

3 months ago | 0

Answered
Issue with Login to Cloud Center
Hi Jerome, If you're encountering a "You do not have permission to access this page" error when trying to log in to the MathWor...

3 months ago | 0

Answered
Matlab Kernel dead in Jupyterlab
Hi Alan, It seems like you're encountering a frustrating issue with setting up the MATLAB kernel in JupyterLab on Windows. Let'...

3 months ago | 0

Answered
Triggering a system with a digital pin in Simulink
Hi Taylor, I understand that you want to know a way to run the thermistor code only when the digital pin goes from 0 to 1. To...

3 months ago | 0

Answered
Extract data from serial port after you disconnect it
Hi Nikan, I understand that you have continuous data transfer from an Arduino board to MATLAB, and you want to disconnect at so...

3 months ago | 0

Answered
Need help establishing a temp_dat
Hi George, The error message you're encountering suggests that readtable is having trouble parsing your file, possibly due to a...

3 months ago | 0

Answered
Create game board in matlab
Hi Krish, To implement a system where a user can enter coordinates to update a visible board with values from another board, yo...

3 months ago | 0

Answered
Quick question about Pareto Front and gamultiobj
Hi Felipe, When using `gamultiobj` in MATLAB to solve a multi-objective optimization problem, it's important to understand the ...

3 months ago | 0

Answered
Why do i get the error message 'More than one advisor process call back function found.But only the one with higher precedence is used'
Hi S, In Simulink, the Model Advisor is a tool used to analyze and validate models according to a set of predefined checks or g...

3 months ago | 0

Answered
I am trying to solve Nonlinear systems of equations using Newton-Raphson method, having problem while using newtmult function. Please guide me to correct my code.
Hi Dhiraj, Here's the corrected and complete code: function newton_solver() % Initial guesses x0 = [3; 3]; es =...

3 months ago | 0

Answered
meshquality: What does it represent and what is a good number?
Hi Pelajar, The meshQuality function in MATLAB evaluates the quality of mesh elements based on several criteria, although the e...

3 months ago | 0

Answered
How to hide live script controlls
Hi JG, I understand that you are trying to hide and unhide the user input controls according to certain conditions. You can ref...

3 months ago | 0

Answered
I want to train a shallow neural network using known output gradients rather than input/output training pair data
Hi James, I understand that you are trying to train a shallow neural network using the known output gradients. To train a shal...

3 months ago | 0

Answered
How to do inflection points on graphs in Simulink
Hi Alex, I understand that you are trying to get the coordinates of the inflexion point on the graph. You can follow these ste...

3 months ago | 0

Answered
How to display simple fraction on a Simulink mask?
Hi Bence, I understand that you are not able to set up the desired mask icon of the expression for the block as Simulink doesno...

3 months ago | 0

Answered
How to use pso_Trelea_vectorized?
Hi Imane, The pso_Trelea_vectorized function is part of a particle swarm optimization (PSO) toolbox developed by Brian Birge. T...

3 months ago | 0

Answered
Solving a Nonlinear Equation using Newton-Raphson Method
Hi Juan, To solve the system of nonlinear equations using an iterative method like the Newton-Raphson method, we can write a MA...

3 months ago | 0

Answered
Principal component Analysis example on Matlab
Hi Kamu, It seems like you're trying to perform Principal Component Analysis (PCA) on your data using MATLAB and are encounteri...

3 months ago | 0

Answered
lsqnonlin() with Simulink
Hi Kukhokuhle, The error you’re encountering with lsqnonlin might be because there is a mismatch in the size of the arrays bei...

3 months ago | 0

Answered
Geeting warning like "Unable to locate check "mathworks.slcontrolfrest.timevaryingsources"" . Why it occurs?
Hi Vijaykumar, The warning message you're encountering indicates that the Model Advisor is unable to locate a specific check, "...

3 months ago | 0

Answered
Warning: Block diagram 'XYZ' contains disabled library links.
Hi Bhavnish, When you receive a warning about disabled library links in a Simulink model or library, it indicates that some blo...

3 months ago | 0

Load more