Community Profile

photo

Wilson A N


MathWorks

50 total contributions since 2016

Contact

Wilson A N's Badges

  • 6 Month Streak
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
programmatically define save location of reports generated through mlreportgen.dom
Hi Mattj, I was able to use the 'OutputPath' parameter given in the mlreportgen.dom for saving the output files in .pdf, .htm...

1 year ago | 0

Answered
create a csv file
You can first create a cell array which preserves the same structure as you want to get displayed in the csv file. Next, to ...

1 year ago | 0

Answered
How can I read data from a histogram in SimEvents (simulink)?
If you have the histogram object, then you can easily retrieve the required data. For example, hHist = histfit( rand(100,1)...

1 year ago | 0

Answered
Working with Voltage Control Oscillator model in SIMSCAPE.
Enabling the 'Use local solver' option in the 'Solver Configuration' should help solve the issue

1 year ago | 0

Answered
Why does the Power Spectral Density depend on the signal length?
Usually, Power Spectral Densities are calculated for power signals where the energy of the signal is infinite. Similarly, Ener...

1 year ago | 0

Answered
Polyspace Model Link SL/TL a part of Code Prover/Bug Finder?
Polyspace Model Link comes with as an additional option in Simulink if you have installed Polyspace Products. Now, you can p...

1 year ago | 0

Answered
What is the algorithm used by tfridge?
It seems that MathWorks has restricted the implementation details of tfridge function mainly because it is proprietary informati...

1 year ago | 0

Answered
How to select files from three different folders?
If you already know the path of the folders where the files with .nii resides then you can just use the following commands. ...

1 year ago | 0

Answered
Error using GetWaveform() with Agilent technologies
The above error is usually thrown when there is no signal source connected to the channel or when the trigger levels that are se...

1 year ago | 0

Answered
MATLAB crash on startup
If you are using external monitors, then connecting the external monitors while the system is sleeping or shut down and then sta...

1 year ago | 0

Answered
why is it so difficult to set default graphics properties
Maybe you can check this link on how to create the default properties values for plots: <https://www.mathworks.com/help/matla...

2 years ago | 0

Answered
What is a SubrefProxy block?
I think these error messages usually appear when the signals being fed to the bus creator block do not have their data types con...

2 years ago | 1

Answered
Is the readavi mex file removed in the latest Matlab version along with aviread.m ?
If you execute the following command in the previous versions of MATLAB (MATLAB R2014b for instance), I was able to find out if ...

2 years ago | 0

| accepted

Answered
How to get a list of column names within the same cluster in MATLAB
I think you can use the 'clusterGroup' command to get the corresponding cluster for a specific group. For example, cgo4g...

2 years ago | 1

| accepted

Answered
ERROR in feedforwardnet (Default value is not a member of type "nntype.training_fcn".)
I was not able to reproduce the issue at my end. But, I suspect that this behavior is caused due to a path issue or due to one o...

2 years ago | 1

Answered
How to set Q and R in a Kalman filter?
As I understand the parameters Q and R are referring to the process noise covariance and sensor noise covariance matrices. I...

2 years ago | 0

| accepted

Answered
How can I get a user-defined function executed after a given state in stateflow?
You can check out the following links which explain how to include MATLAB functions in Stateflow charts: <https://www.mathwor...

2 years ago | 1

Answered
how do I reload last session in matlab and not lose anything in student versions?
I believe this may because the option 'Don't save history file' may be checked. In that case, you can save the command histo...

2 years ago | 0

Answered
No access to cell contents
I couldn't reproduce the issue at my end. However, I feel that restoring the default path may fix the issue. Can you try exe...

2 years ago | 1

| accepted

Answered
How to close a UIAxes window?
As I understand you are not able to close the 'fig1' and 'ux' windows. In order to close the 'fig1' window, you can just use...

2 years ago | 0

Answered
On Startup and when I click on functions: Error using eval undefined function 'workspacefunc' for input arguments of type 'struct'
This error may be because of permission issues with the pathdef.m file. You may be able to resolve the issue by trying out the s...

2 years ago | 0

Answered
I want to modify a simscape library model block and save it as a new model. How do I do that?
You can maybe check out the following video which shows how to create custom components from already existing blocks: <https:...

2 years ago | 0

Answered
MATLAB crashed when invoking symsum
This is probably because 'symsum' is trying to find some closed expression as an answer and it is unable to do so. If you use ...

2 years ago | 2

| accepted

Answered
How to limit accuracy of simscape multibody output
As I see from the figure, there is only a very small change in the y-axis (that is only after the 10th place after the decimal p...

2 years ago | 0

Answered
How do I find out if simulink is in sim or coder mode?
You can obtain the 'Coder flag' by using the following command: >> k = get_param(<modelName>,'GenCodeOnly'); You can pro...

2 years ago | 0

Answered
Can Í have a listener in a class that checks if the folder-content is changed?
You can use the 'addlistener' function to do this. The below link describes it: <https://www.mathworks.com/help/matlab/matlab...

2 years ago | 3

Answered
I want to plot different sized vector but fitted size in axes
You can check the code given below: % Creating a surface and contour plot together with the surfc command [X,Y,Z] = ...

2 years ago | 0

| accepted

Answered
Matrix manipulation and replacements
I think you can use the 'sub2ind' command as shown in the code below: A = rand(3,3) A = 0.8059 0.8...

2 years ago | 0

Answered
How do I add lines in a text file in a specific location using MATLAB ?
You can check out the link given below: <https://www.mathworks.com/matlabcentral/answers/167200-how-to-add-a-new-line-in-the-...

2 years ago | 0

Answered
How can I automatically load multiple data files and insert it into one matrix?
Yes it is possible. You just have to print the index indicating from which file you are currently loading the data. You can see ...

2 years ago | 0

| accepted

Load more