Answered
problem to install IQC toolbox
Hi Sharara, I understand that you are facing issues while installing the IQC toolbox. I had installed the same without any erro...

4 months ago | 1

Answered
How to connect value in app designer to simulink
Hi Thai, I understand that you want to pass values for certain parameters (spring stiffness and mass) from a MLAPP to a Simulin...

4 months ago | 0

Answered
How to setup a Simscape solution to deploy on a microcontroller running periodic loops
Hi Steven, I understand that you are trying to embed a Simscape model within a specific function call at a periodic rate on a t...

4 months ago | 0

Answered
How to retrieve multiband data using shape file?
To extract data from the seven-band image using the shapefile, you can follow these steps. This will involve reading the image d...

5 months ago | 0

Answered
How can I change multistage nlmpc Solver?
It appears that the issue you are encountering is due to the version of MATLAB you are using, i.e., R2022b, which does not suppo...

5 months ago | 0

Answered
ode15s Preparation
When using numerical solvers like "ode15s", multiple calls to the derivative function ("odefun") at t = 0 can occur for various ...

7 months ago | 0

Answered
How to load .fda file made in filter designer into a workspace
To ensure that the filter object “Hd” is available in the workspace when running the script, you can load the filter object from...

7 months ago | 0

Answered
How to track progress with programmatically run Test Manager (sltest.testmanager.run)?
Although the built-in “sltest.testmanager.run” command does not provide a direct way to monitor progress in real-time, a workaro...

7 months ago | 0

Answered
How can I make a t+10 prediction with NARX networks?
For making multi-step-ahead predictions, the NARX network should be trained in open-loop mode. The training phase helps the netw...

7 months ago | 0

Answered
Can you search for Stateflow objects in only a single model using sfroot?
Using the “find” function with “sfroot” does not directly limit its search to a specific Simulink model when multiple models are...

8 months ago | 0

Answered
[Appdesigner-uihtml] Is Drag and Drop supported? or any HTML5 APIs?
I have also faced a similar issue when using drag and drop with “uihtml” in MATLAB Desktop. As mentioned in the MathWorks docume...

8 months ago | 0

Answered
How to give target data in nntool or in nnstart?
To load target data for use with a Neural Network classifier, you need to convert your categorical labels into a format that the...

8 months ago | 0

Answered
How to find unclosed serialport objects
In transitioning from MATLAB's “serial” to “serialport” interface, a common challenge arises in managing open serial connections...

8 months ago | 0

Answered
Write the lines (sentences) of a 1513 x 1 string into separate lines in a text file, keeping the whole length of each sentence, without breaking them.
The issue you are encountering likely stems from the inherent formatting of the “newstr” string. This can happen if the sentence...

8 months ago | 0

| accepted

Answered
How to implement importing data from csv file in optimization algorithm?
Based on my understanding, the “CreateModel” function needs be modified to accept an array of box dimensions, transforming the a...

8 months ago | 0

Answered
I cannot get the method documented in "Specify Independent Parameters for Optimization" to work
Based on my understanding, the issue you are encountering is because “Kint” is calculated in the Init script without linking to ...

8 months ago | 0

Answered
Unzipping MDF4 files and combining them into 1
In my understanding., the problem lies in the handling of the time field and combining the MDF files. Instead, you can use the “...

8 months ago | 0

Answered
Programmatically trigger events for UI objects (AppDesigner) using "notify()"
The given error you are encountering is possibly because the event has been defined with private or protected “NotifyAccess”. En...

9 months ago | 0

Answered
from timetable to mysql database
As mentioned in the MathWorks documentation, “sqlwrite” supports only insertion of “table” data type in a database. However, you...

9 months ago | 0

Answered
Find out why mat files differ in size
You can utilize the "whos" command for thorough examination of variable sizes within MATLAB objects, facilitating the discernmen...

9 months ago | 0

Answered
How do I plot in a for loop while using workspace?
It will be helpful if you could share the exact issue you are facing when trying to run the model in MATLAB R2021a. Please note ...

10 months ago | 0

Answered
Creater a vector front a signal data in specific time intervals
In Simulink, the "To Workspace" block offers a convenient way to export the output of your simulation directly to the MATLAB wor...

10 months ago | 0

Answered
Simulink: Input port not imported
Simulink requires the time vector and the signal values to be of the same length. Since you're trying to input a constant value,...

10 months ago | 0

Answered
read files from 1 dic
The error message you're encountering indicates that the “interp” function expects its first argument to be a vector of type sin...

10 months ago | 0

Answered
Read HDF5 files with groups and subgroups.
You can use the ”h5info” function to get information about the file structure of your input HDF5 file. Thereafter, you can loop ...

10 months ago | 1

Answered
How to generate gifs using countourf and mutliply file inputs?
Hi David, The warning about constant “ZData” in the “contour” function suggests that at least one of your binary files may cont...

10 months ago | 0

Answered
Wget downlonads or updates from command line
I attempted to perform an update via the command line as well, but unfortunately, there wasn't a straightforward method availabl...

10 months ago | 0

Answered
Saving vectors for consecutive timesteps and turn them into an array
To provide a sequence of vectors as input to the LSTM 'Stateful Predict' block in Simulink, you can accumulate the vectors over ...

10 months ago | 0

Answered
Inserting images into a code when certain conditions are being met?
To add the functionality for displaying specific images after block 2 and to assign subjects to one of the three conditions, you...

10 months ago | 0

Answered
Is there any way to find out which specific instance of a UIContextMenu is being called?
Starting from MATLAB R2021b, you can access the node for which the context menu is opened using the “CurrentObject” property. He...

10 months ago | 0

Load more