photo

Madheswaran


Last seen: 3 days ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Unable to perform the harness operation for the externally saved test harness since the directory is not writable
Hi Flavio, I have came across similar error once. I checked the permissions with 'fileattrib' command, and noticed that value ...

7 days ago | 0

| accepted

Answered
Is it possible to have a uiconfirm choose an option after a timeout period?
Hi @Ryan You can achieve a timeout by using 'dialog' function. Consider the below code: function showTimeoutDialogMini() ...

8 days ago | 0

Answered
track the position of the mouse cursor
Hi Rukhsar You can use 'get(groot, "PointerLocation") to get the current location of the cursor. Consider the following code fo...

8 days ago | 0

Answered
Read data from the built-in MATLAB web browser
Hi John, Apart from using the built-in web browser as described in the answer link you posted, you can do the following. If yo...

8 days ago | 0

Answered
Call to download server failed (HTTP error code: 403)
Hi Andie, The workaround suggested by the MathWorks techinical support is to replace 'https://' with 'http://' for the MATLAB ...

11 days ago | 1

Answered
generate random numbers among each non zero column elements
Hi Chaoyang, Based on your reply to Jonas, I understand that you would like to get one random row index of any non-zero value ...

21 days ago | 1

Answered
Save image to a new word document
Hi Miguel, You can use MATLAB's 'actxserver' to interact with Microsoft Word to achieve your desired task. Below is a minimal e...

21 days ago | 0

Answered
Failed to run led demo in external mode at the raspberry pi 4B with simulink
Hello Chen, Upon reviewing the error log, it appears that the file 'tmwtypes.h' cannot be located during the code build process...

22 days ago | 1

Answered
how to halt a for loop in an external function called from mlapp by using a stop button in the mlap app
Hi Andrew, The error occurs because MATLAB functions can't automatically access properties of the App object unless you explic...

22 days ago | 0

| accepted

Answered
Changing Pushbutton BackgroundColor for 0.1 second
Hi Day Hong Kim, To change the background color of a push button, you can adjust the 'BackgroundColor' property. If you intend ...

23 days ago | 0

Answered
Extracting sub matrix from sparse matrix
Hello Daniel, You can access elements of a sparse matrix using the syntax 'S(I, I)', where I is an array of indices and 'S' is ...

24 days ago | 0

Answered
Finding Indices of Duplicate Values to create a new array
Hi David, You can use 'unique' function in MATLAB to get the unique categories in the 'Region'. After that, I have used logica...

24 days ago | 0

Answered
How do I connect between the Simscape Specialized Power System blocks to simulink blocks?
Hi @Varun, You can directly connect Simscape Specialized Power System blocks with Simulink blocks, without the need of any conv...

2 months ago | 0

Answered
one multiplot figure instead of many partially filled figures
Hi @Elzbieta The behavior you are facing is because you are saving figure (using 'saveas') inside the loop. Each 'saveas' call ...

2 months ago | 0

Answered
simulation of the target
Hello @bouchra turki To achieve a seamless transition between the 'rectangular' and 'circular' sections of your plot, consider ...

2 months ago | 0

Answered
I have a txt. file used in a function. I need a variable in the txt. file to cycle through different values (for loop), and the function needs to run for each value.
Hi @Cornelia, You can read and evaluate the text file, without modifying/cleating a new text file with the following approach. ...

2 months ago | 1

| accepted

Answered
webwrite returns status 405 "Method not Allowed"
Hi @Lane Bekow, I assume that you would like to get the X-Ray properties of the different elements from https://henke.lbl.gov/...

2 months ago | 0

Answered
How to test a function containing "waitfor" function without external user input?
Hi, Starting from MATLAB R2024b, you can programmatically interact with alert and confirmation dialog boxes using 'chooseDialog...

2 months ago | 2

| accepted

Answered
webwrite returns error 405, how to find its detailed cause?
Hi @Sven Larsen To access GraphQL data from the server using 'gzip' encoding, please consider the following adjustments to your...

2 months ago | 0

Answered
How to write a function.
Hi @Peyton, This seems like a homework question, so I will give you a headstart, from which you can pick up. Learn how to write ...

2 months ago | 0

Answered
Can anybody tell me why my windrose program doesn't plot the right graph and the cardinal directions change back to degress after selecting a date?
Hi @Markus The issue occurs because the polar axes settings are not being maintained after plotting new data. When plotting new...

2 months ago | 0

| accepted

Answered
how can i download a model exsample from matlab
Hi @Zeko Zain, To copy an example and supporting files onto your system and open the example in MATLAB, click the 'Copy Command...

2 months ago | 1

Answered
Controlling aspect ratio for tiled layout
Hi @AR, To get equal heights among all the three subplots you can follow the blow approach: % Create figure with fixed size i...

2 months ago | 0

Answered
Document Browser can't be opened
Hi @Xin Tan I suggest the following steps as a workaround to view the documentation page: Clear the cookies and site data for ...

2 months ago | 0

Answered
how to extract a list of unique words from a set of one row strings
Hi @Harrison, I am assuming the following: 'updatedDocuments' is an array of 'tokenizedDocument' Each document contains text...

2 months ago | 0

| accepted

Answered
How to append data into an Excel File when writing data in a loop.?
Hi The 'xlswrite' function is not recommended starting from MATLAB R2019a. To write a column vector into an Excel file, you can...

2 months ago | 1

Answered
Is there any autosave option for tests results in test manager?
Hi @Iñaki Eizaguirre, Starting from MATLAB R2024b, you can view test and coverage results for the five most recent previous run...

2 months ago | 0

Answered
How to programmatically modify parameters in the workspace
Hi, Here's how you can programmatically modify the Simulink Model Workspace: my_model = 'HevP2OptimalController'; load_system...

2 months ago | 0

Answered
Find closest values from two different matrices
Hi, If XY data lies in different coordinate system (say Cartesian coordinate system), then, finding the "closest point" betwee...

2 months ago | 0

| accepted

Answered
My structures are not displaying in the variables viewer
Hi @Paul de Krom, The error you are experiencing appears to be due to some corruption in the MATLAB preferences when the MATLAB...

2 months ago | 0

| accepted

Load more