photo

Wilson A N

MathWorks

Last seen: 4 years ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

Answered
First argument must be a vector.; Function call failed.
Hi Sohan, In R2018a, the filtfilt function needs its input arguments to be constant or not changing. You can see the 'Extended ...

4 years ago | 0

Answered
Size mismatch ([:? x :?] ~= [:? x :? x :?]).
Hi Vimal, I was able to reproduce the issue with MATLAB R2019b. Based on my observations, can you try changing the code in line...

4 years ago | 0

| accepted

Answered
Running the same pseudorandom numbers on mexed files with parfor loops /omp pragma
Hi Carlos, You can use the time function from the 'time.h' header file to generate a random number based on the current time. A...

4 years ago | 0

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...

6 years ago | 1

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 ...

6 years 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)...

6 years 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

6 years 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...

6 years 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...

6 years 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...

6 years 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. ...

6 years 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...

7 years 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...

7 years 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...

7 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...

7 years ago | 5

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 ...

7 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...

7 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...

7 years ago | 2

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...

7 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...

7 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...

7 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...

7 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...

7 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...

7 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:...

7 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 ...

7 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...

7 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...

7 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...

8 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] = ...

8 years ago | 0

| accepted

Load more