Answered
How to search and pull specific rows from csv based on input window response
‘readtable()’ could be used to read the entire data from the .csv file to a table. You can then use the user input to scan the t...

1 month ago | 0

Answered
From Gui how to create the folder analysis data
'mkdir’ can be used to create a folder programatically. In your GUI you can put any UIComponent like a button with callback to...

1 month ago | 0

Answered
How do I connect multiple Parrot Mambo Drones with simulink or matlab?
As mentioned in this link ‘MATLAB Support Package for Parrot drone’ does not provide support to connect multiple drones at a tim...

1 month ago | 0

| accepted

Answered
Multiple instances of randi in Stateflow generate same sequence of numbers
'rng’ function can be used to control the random number generation. Call this function before calling ‘randi’. For more info...

1 month ago | 0

Answered
Format result in Live Script Editor
There might not be a way if ‘x’ value changes . But if ‘x’ value is fixed you can get the desired result with the help of ‘late...

2 months ago | 0

Answered
Does an ODBC Driver exist, connecting ODBC databases to Matlab working on a Mac?
The driver to be installed depends on the type of database you own. So consult your database administrator or refer to your data...

2 months ago | 0

Answered
Use a Live Script to document an APP?
The use of live scripts would be a good option for documentation. For more information on how to share live scripts refer to the...

2 months ago | 0

Answered
How to install MATLAB on USB device?
It depends on the license type you own. For more information on what type of licenses allow this refer to the following link. ...

2 months ago | 0

Answered
Variable display while debugging in MATLAB 2019
This feature is still available in MATLAB 2019. You can view the values by checking the 'Value’ field in the list of fields th...

2 months ago | 0

Answered
Import STL File into MATLAB
In ‘importGeometry(model,geometryfile)’ function, parameter ‘geometryfile’ refers to the path to STL file. So you don’t need to ...

2 months ago | 0

Answered
Use imdistline function in App Designer
There might not be an exact function but you can use the following workaround to replicate its behavior. After displaying the ...

2 months ago | 0

Answered
Logging with referenced model
Referring to the following question might help you. https://www.mathworks.com/matlabcentral/answers/475787-how-can-i-use-to-wor...

2 months ago | 0

Answered
findng critical path on my project schedule??
‘xlsread(filename)’ or ‘readtable(filename)’ can be used to read an excel file. Refer to the following links for more informat...

2 months ago | 0

Answered
how can I activate a data cursor on a matlab visualisation app
‘datacursormode’ can be used to enable or disable data cursor mode. For further information refer to the following link http...

2 months ago | 0

Answered
Can I provide custom method/function to be included in c++ class generated by simulink
When ‘Model Source’ block is used the code generator adds external code that you specify to the source file (model.c or model.cp...

2 months ago | 0

Answered
How do I display geo referenced data on a webmap
‘webmap’ function can be used to create a webmap in a browser. More information on how to use this function can be found in the ...

2 months ago | 0

Answered
Rotate stacked plot Labels to have them vertical - App Designer
For normal plots ‘ytickangle’ can be used in order to rotate the y-axis label. But in case of stacked plots y-axis labels are ...

4 months ago | 0

| accepted

Answered
How can I use 'To Workspace' and 'To File' blocks in Model Reference block with configuration parameter 'Total number of instances allowed per top model' set to 'Multi'?
You cannot reference a model more than once in a model hierarchy if the referenced model contains ‘To File’ blocks. You can ha...

4 months ago | 0

| accepted

Answered
Returning from functions in debugging mode
You cannot force return from a function using MATLAB. But if your script files have an error you can use ‘try-catch’ blocks wher...

4 months ago | 0

| accepted

Answered
Palette Pane Missing from Simulink Real-Time
When the ‘floating’ option is selected the panel will be displayed as a separate window. You might not have noticed the window. ...

4 months ago | 0

Answered
How can I set the "Prompt location" property of a Simulink.MaskParameter programmatically.
Mask parameter “Prompt Location” can be set programatically using the command ‘p.DialogControl.PromptLocation’ Where p is a ma...

4 months ago | 0

| accepted

Answered
How to use Alternative Box Plot
In order to use boxPlot(x,y) the number of elements in ‘x’ should be equal to the number of columns in ‘y’. In your code y is ...

4 months ago | 0

| accepted

Answered
how to debug s functions in Matlab
Debugging on S-functions can be done either in Simulink or using a third party software. The documentation on how to debug an ...

4 months ago | 0

Answered
Create daq session for two vendors at the same time
Instead of creating a session for two vendors at a time, you can create a session for one device and then add a channel to that ...

4 months ago | 0

Answered
How to trigger alarm once even if all 5 functions detect defects?
Try using a Boolean variable which acts as a flag and set it to 1 only when a defect is detected. After performing all five chec...

4 months ago | 0

Answered
modify the audio gain of a specific frequency
firls function of Signal Processing Toolbox can be used to create filters in matlab. The documentation for firls function can ...

4 months ago | 0

| accepted

Answered
How can I perform FEA in Matlab on a composite material?
‘structuralProperties’ can be used to assign properties to a structural model. In order to create a geometry with parts that h...

4 months ago | 0

Answered
Error running Matlab code in java intellij
In order to open a file in ‘intellij’, the folder in which the file is present should be loaded in the project on which you are ...

4 months ago | 0

Answered
Appdesigner: How can I modify Column Header Properties ?
Currently this feature is not available in MATLAB. We have brought this isuue to the view of concerned persons and this might be...

4 months ago | 0

| accepted

Answered
Processing of a 2D FFT image (matrix) - calculate periodcity from image
If you know the range where the ring may lie you can use “imfindcircles” function from image processing toolbox to know the cent...

4 months ago | 0

Load more