Answered
Import doesn't works when I use them in the 'startupFcn()' of APP designer
Hi Dyson, I understand you want to import packages in every method by importing them once. In MATLAB, the import stateme...

3 months ago | 0

Answered
how can i split or divide a dataset into its different parts (an electroencephalogram [EEG] of 122880 samples into 16 pieces or channels)
Hi @Ri go, I understand you want to perform a Fourier transform on the EEG signal. In MATLAB, the ‘fft’ function do not ...

4 months ago | 0

Answered
Scatter plot legend with multiple column ?
Hi Luca, I understand you want to create a plot with grouped legend markers. @dpb suggested a method, but here is another ap...

4 months ago | 0

Answered
Why does App Designer include the full file path when packaging external helper functions?
Hey Rhys, I understand the helper function files in the installed package contain the entire path of the MATLAB function fi...

4 months ago | 0

| accepted

Answered
testcase.press() interrupts rest of testing script until button callback function has completed.
Hi Gad, I've implemented a similar application using a "state button," "timer," and "VideoReader" to control video playback...

4 months ago | 0

Answered
Automatically installing Add-Ons for users
Hi Eric, I understand that you want to install MATLAB support package for different versions of MATLAB. You can install MA...

4 months ago | 0

| accepted

Answered
Can't open powerpoint file using mlreportgen.ppt.Presentation Class
Hi Chris, I understand you are facing an error while generating a PowerPoint presentation using MATLAB report generator. ...

4 months ago | 0

Answered
click push button and interact with window opened by it
Hi jcd, I understand that you want to open and operate a MATLAB App from another MATLAB script. This can be done by accessi...

4 months ago | 0

Answered
Sporadic error with FramesAcquiredFcn and getdata
Hi Nick, I understand you want to record the accurate timestamps of each frame in absolute time. To accurately record the...

4 months ago | 0

Answered
Access local symbol in a Simulink-based state in Stateflow
Hi Francis, Local symbols in Stateflow cannot be modified in the Simulink based states. Instead, to read/modify values from...

4 months ago | 0

| accepted

Answered
How can I calculate the shaded area ?
Dear wd, I understand you are interested in calculating the area between a plotted line and the x-axis over the interval fro...

4 months ago | 0

| accepted

Answered
Skip an iteration in a ForEach subsystem
Hi Omar, You are looking to enhance the efficiency of a "For Each" subsystem in Simulink by selectively skipping certain it...

4 months ago | 1

Answered
Is it possible to generate the same function for identical subsystems in different top models?
Hi JW, I understand you want to generate reusable code for subsystems shared across multiple models. For this, you can utilize...

4 months ago | 0

Answered
how to determine the SNR using Matlab function in simulink ?
Hi Anas, I understand you want to convert a signal from time domain to frequency domain. You can use MATLAB’s ‘fft’ function...

5 months ago | 0

Answered
Not Enough Input Arguments
Hi, Adding on to Steven’s comment, “narfout” is indeed a typo which should be “nargout”. In addition to this there is also ano...

5 months ago | 0

Answered
Giving position input to actuator and getting force output
Hi Fatih, To achieve position control in the linear actuator system, ensure that the setup allows for position commands to be...

5 months ago | 0

Answered
Adding an if condition in a Matlab Function in Simulink results in error. (Suddendly it's a "size mismatch"?!)
Hi ivosp, I understand you are using a MATLAB function block in Simulink and are encountering a "Size mismatch" error. This...

5 months ago | 0

Answered
Why wasn't the PreGet event triggered?
Hi, I understand you are using listener to trigger ‘PreGet’ Callback function. In the code, setting the ‘Data’ property o...

5 months ago | 0

Answered
Monte Carlo simulation matrix for electron spins - help with conditional sign change!
Hi, I understand you are trying to flip the sign of an element and accept it based on the mentioned condition. To simulate t...

5 months ago | 0

Answered
Actualizacion de datos en GUI
Hi Jose, I understand that you are trying to exchange data between GUI and Simulink. For creating GUI, I am using App Desig...

5 months ago | 0

Answered
Webread Query Not Working
Hi Eric, I understand you're attempting to access the MATLAB forums page using the ‘webread’ function with specific query pa...

5 months ago | 1

Answered
Finding a a path between two points on a 3d surface that proceeds through lowest value points.
Hi Mahesh, I understand you are interested in locating all local minima and finding a path through them. To locate all the l...

5 months ago | 2

| accepted

Answered
"webread" does not work for Yahoo Option Chains page
Hi Cengiz, It seems that when trying to use ‘webread’ to access the Yahoo Finance options page ‘404 Not Found’ error is encou...

5 months ago | 1

Answered
How to use a 4d variable achieved from a function as a property in matlab app designer?
Hi Ron, I understand from the question you are using the ‘slice’ function defined in MATLAB to extract a slice of the volume f...

5 months ago | 0

Answered
How to use unsupported function when using Coder
Hi @BERKAY, Yes, ‘fdesign.audioweighting’ is not supported by MATLAB coder for code generation. But you can follow a hybrid a...

6 months ago | 0

Answered
Bayesian Optimization in real-time with Simulink and Code Generation
Hi @Federico, I understand the algorithm you are trying to implement and as ‘bayesopt’ cannot be used in codegen, here are two ...

6 months ago | 1

Answered
Normal Distribution of the CDF Error Function Plotting
I understand you are trying to plot the Normal Distribution of CDF error Function. You can start by defining the general funct...

6 months ago | 0

Answered
How to create Dual Listbox which copies/remove items on selection and button press?
Hi Thomas, I understand that you need to transfer Items from one List to another list with some interaction. You can achieve...

6 months ago | 0