Answered
Using USB webcams in Simulink
Hello Tim, The workflow to access a USB webcam in real-time with Simulink depends on the version of the product being used. For...

4 months ago | 0

Answered
Split String in a Table
Hello Aldrich, To split the strings in a column, follow the steps in the example below: Make sure the column with strings is a...

4 months ago | 0

Answered
How do I input a lot of values and record each single output in Bvp4c?
Hi Hussein, To record the values of 'MainpADM' for different values of 'Pe', follow these steps: Preallocate the variable 'Ma...

4 months ago | 0

Answered
Simulink rapid accelerator slowly filling HD
Hello Giorgio, To prevent the creation of large .DMR files, consider using the Simulation Data Inspector settings to set glo...

4 months ago | 0

Answered
Logic help for fault detection
Hello Asmaa, It seems the question is about finding a way to ensure that if there is a fault in the input signal, the output re...

4 months ago | 0

Answered
i have a binary image , in that i used roifilt2 to filter ROI , i need to calculate the black pixels in the filtered region?
Hello Priya, To determine the number of black pixels, the 'sum' function can be utilized. This function calculates the sum of ...

5 months ago | 0

Answered
I am trying to create MIL automation script using Signal Editor facing below issue.
Hello Nikhil, To create a MIL automation script according to the specified requirements, follow these steps: Access the 'Sig...

5 months ago | 0

Answered
Error using load when trying to open large structure .MAT file
Hello Nicholas, This issue often arises when the .MAT file is corrupted. Here are a few suggestions to resolve it: Create a ...

5 months ago | 0

Answered
I worked on a code for caesar cypher problem it should work correctly but it does not
Hello Amany, The reason the above code produces incorrect results on certain test cases is due to the lack of wrap-around when...

5 months ago | 0

Answered
use app designer to assign values to variables in existing ".m" script
Hello André, User inputs can be saved to a .M file by utilizing a button push callback along with file handling operations to ...

5 months ago | 0

Answered
I have an adjacency matrix .Now I want to rewire by replacing two edges at random.I have tried please see below
Hello MKS, It seems you want to rewire an adjacency matrix by removing two random edges and adding two new ones. Here are...

5 months ago | 0

Answered
How to reset counter using its own output counter complete signal??
Hello Pranjali, From the above question, I am assuming that you want to build a counter that automatically resets after reachi...

5 months ago | 0

Answered
How to use plot3 function inside Matlab function block used in Simulink ?
Hello Vignesh, To use the ‘plot3’ function within a MATLAB Function block in Simulink, it must first be declared as an ‘extrin...

5 months ago | 0

Answered
debugging from symbolic computations
Hello Pooya, The warnings that appear after running the code suggest that the functions 'tx(i,x)', 'ty(j,y)', 'rux(x)', 'ruy(y...

5 months ago | 0

Answered
copy a dynamicprops object by value
Hello Yvan, The 'dynamicprops' class is a subclass of the 'handle' class. This means that when 'myclass' inherits from 'dynami...

5 months ago | 0

Answered
regarding deep demosaicing fdorimage restoration
Hello Maulshree, From the question above, I assume you want to know how the output image from the ‘demosaic’ function can be u...

5 months ago | 0

Answered
I have used nnstart neural network tools to predict NOx data using LM model. How do I export the predicted data to compare the predictions?
Hello Aman, The 'nnstart' tool does not offer an option to directly export predictions. However, it is possible to export the ...

5 months ago | 0

Answered
Calibration and validation in ANN model
Hello Sonisa, The ‘divideParam’ function expects the ‘trainRatio’, ‘valRatio’, and ‘testRatio’ to be decimal values. Here i...

5 months ago | 0

Answered
How to i build a structure like digitTest4DArrayData with OWN data
Hello Matthias, To convert your dataset into the same structure as the ‘digitTest4DArrayData' test dataset, use the 'imageDatas...

5 months ago | 0

Answered
How to show a figure in the MATLAB App designer with both X and Y axis from signal in simulink real-time model?
Hello Devesh, Start by adding an 'Axes Component' in App Designer. Below this component, place a button and assign a 'ButtonPu...

5 months ago | 0

Answered
Fill below the 3D terrain data
Hello Burak, To fill the terrain from the elevation data down to mean sea level, you can create polygons that act like vertica...

5 months ago | 0

| accepted

Answered
Does MatLab work on VDI
Hello Jesus, Yes, MATLAB can be used on a VDI. To install it on a VDI, follow these steps: Check that your MATLAB license al...

6 months ago | 0

Answered
Calculate f for multiple inputs
Hello Arashdeep, The vectors ‘q’, ‘x’, and ‘y’ have dimensions of [99,1], while ‘u’ and ‘v’ have dimensions of [1,101]. Subtra...

6 months ago | 0

Answered
NARX export to Simulink time step
Hello Sohrab, When exporting a NARX network block to Simulink, the ‘gensim’ function can be used to adjust the sample time as ...

6 months ago | 0

Answered
How can we use the m files for Daughman Integro-differential operator given in the hyperlink below?
Hello Ridhima, I understand that the requirement is to use the collection of .M files published in File-Exchange with title “I...

6 months ago | 0

Answered
limiting broadcast variable in a 3d block processing program
Hello Tiwwexx, To stop the broadcasting of the ‘pad_im’ array, consider making it a ’Distributed Array’. This will partition t...

6 months ago | 0

| accepted

Answered
dynamic images for temporal dithering
Hello André, To create dynamic temporal images, use the Axes UI component to plot the images. Then use 'timer' function to exe...

6 months ago | 0

| accepted

Answered
Comparison of excel sheet data and output should be excel sheet for matched and mismatched data using simulink model.
Hello Divyashree, To compare two Excel files in Simulink, create a .M script that reads the Excel files and extracts matched an...

6 months ago | 0

Answered
callback in TreeNode Propertis
Hello Luca, Follow the example below to add a callback to a node within a Tree: Define a callback for the Tree using the ‘Se...

6 months ago | 0

| accepted

Answered
How to get input from a simulink model to .m file ?
Hello Prerna, The output of a 'MUX' is a vector, allowing the elements within the output signal to be indexed like any other ve...

6 months ago | 0

Load more