Answered
Simulink R2022b crashes - issue with libmwsl_common_blocks.dll
Hi Roliveira, I was facing a similiar issue when simulating my Simulink model containing Lookup table blocks. The reason for th...

2 months ago | 0

Answered
Error using Genfis function in ANFIS
Hi Zeinab, The error seems to be due to some NaN or Inf values present in the output data argument being passed to the genfis f...

2 months ago | 0

Answered
Unable to launch MATLABWindow
Hi @Juan Lorenzo, A possible reason for this error is the use of a different version of Java than the one shipped with MATLAB. ...

2 months ago | 0

Answered
Execute UDP read faster
Hi Rakesh, One way to speed up the UDP read process is to read and process the data in chunks. Additional details on this and o...

2 months ago | 0

Answered
Simscape Battery model extension
Hi yoi, From what I understand, you wish to set the Terminal Resistance (R0) parameter of the Simscape Battery (Table-Based) bl...

2 months ago | 0

Answered
Check Block Compatibility Error
Hi @wenjing cai, The Digital Filter block has been made obsolete. It is recommended to use the Discrete FIR Filter, Discrete Fi...

3 months ago | 0

Answered
How to store images and vectors in CNN image-to-vector regression problems
Hi @Hiroki Fukuda, The reasons for the error are: When passing 2D images in the form of a numeric array as input to the trainN...

3 months ago | 0

Answered
Why is my function not recognized?
Hi Ny, If a function is defined inside of a MATLAB script containing other code, it becomes a local function and can only be ca...

3 months ago | 1

| accepted

Answered
Using CustomAntennaElement as an exciter for the cassegrain object.
Hi @Tood, From what I understand, you are facing the mentioned error when trying to set a phased.customAntennaElement as excite...

3 months ago | 0

Answered
"Could not execute target data map file" error for serial communication TMS320F28335 Error
Hi Sreehari, I was getting a similiar error when performing external mode simulation using XCP communication. A possible reason...

3 months ago | 0

Answered
Matlab crashes when I try to access Gpu
Hi Avi, The most common reasons for MATLAb crashing when accessing the GPU are: The graphics drivers for your machine might no...

3 months ago | 0

Answered
J1939 Network COnfig warnings
Hi @john young, You can refer to the following MATLAB Answers post for a possible workaround: https://www.mathworks.com/matlab...

3 months ago | 0

Answered
Error using serial/fopen
Hi Gaston, A possible reason for the "No ports are available" error is that MATLAB only automatically recognizes serial port na...

3 months ago | 0

Answered
How to connect several Simulink blocks to one Simulink Dashboard toggle switch ?
Hi Hadrien, I was facing a similiar issue. As a workaround, the "Callback Button" from the "Simulink/Dashboard" library can be...

3 months ago | 0

Answered
Why i got this error and how to solve it?
Hi @katuysha, I was facing a similiar issue when simulating my model containing S-functions. A workaround for me was to turn of...

3 months ago | 0

Answered
i have data.mat file and I am working on load forecasting for solar power with CNN, I am facing issue in data preparation.
Hi @muhammad, The reshape function requires the total number of elements in the input array to be preserved in the output array...

3 months ago | 0

Answered
How to change the function "vision.TextInserter" to function "insertText" in this code ?
Hi Vitaliy, To use the insertText function in place of vision.TextInserter, lines of code that call vision.TextInserter and the...

3 months ago | 0

Answered
Error in 'DDS_compiler/IQ Demodulator/MixerI': Initialization commands cannot be evaluated. Caused by: Each RF Blockset system must have a RF Blockset Configuration block.
Hi Swathi, To run models containing blocks from the RF Blockset, a Configuration block from the "RF Blockset/Circuit Envelope/U...

3 months ago | 0

Answered
Add Internet Protocol Packet Decoder (Issue related to example and addUpperLayerDecoder) - V2022a
Hi @SummersEnd, The “Add Internet Protocol Packet Decoder to PCAP File Reader” example has been added in R2023a. If supported b...

3 months ago | 0

Answered
Is sampling rate 384kHz through direct sound playable in MATLAB?
Hi @哲史 伊藤, Audio features from base MATLAB, such as “audioplayer”, use the “DirectSound” audio host which is limited to 192kHz....

3 months ago | 1

Answered
I need to convert mutiple .nii files into one .nii.gz file.
Hi Ed, The “gzip” command is designed to compress individual files rather than creating a single archive containing multiple fi...

3 months ago | 0

Answered
How to Measure the Time Difference of Arrival(TDOA) between two receivers
@Ijjada Hari, Rectangular pulse waveforms can be generated using a “phased.RectangularWaveform” object. Here is sample code for...

3 months ago | 0

Answered
How does the creation path for 'slprj' in Embedded Coder work?
Hi Philipp, I was facing a similar issue when using Embedded Coder to perform SIL. A workaround for me was to change the ‘Check...

3 months ago | 0

Answered
PowerGUI and Rapid Accelerator: A new block names [...] cannot be added
Hi Marten, I was getting a similar error at the "Connect to Rapid Accelerator Process and Simulate" stage, when simulating my m...

3 months ago | 0

Answered
How to use two releases of MATLAB (R2017a and R2022b) simultaneously on my laptop?
Hi Sadiq, As I understand, you are getting license errors including a “Deactivation required” error when trying to use multiple...

3 months ago | 0

Answered
binomial model (in the context of stocks): doesn't work well
Hi Jan, The “OptionPrice” matrix gives the option value for each possible path in the binomial model, which is the price paid b...

3 months ago | 0

Answered
Over time reduce an input value linearly with a delay after each decrement, using a Simulink model
Hi Steve, This can be achieved using the “Signal Editor” block, which can create and edit input signals from user specification...

3 months ago | 0

Answered
Simulink orbit propagator: How do I pause and access data at each time step?
@Gökhan, As I understand, at every simulation time step, you want to save the position and velocity outputs of the “Orbit Propa...

3 months ago | 0

| accepted

Answered
Change asynchronous machine block parameter during run time
@Ryhze, I understand that you want to change the parameters of the “Asynchronous Machine” block at model runtime. However, as p...

3 months ago | 0

Answered
im unable to get the drive cycle block
Hi Khushal, This error message seems to indicate an issue with the “startup.m” file, which is a user defined script executed at...

3 months ago | 0

Load more