已回答
Create dll libraries for C++ multiple functions in a script
Hello Mikel, Regarding your first question, creating a DLL (Dynamic Link Library) is a good approach to solve your problem if y...

1 year 前 | 2

| 已接受

已回答
How can use a common colorbar (cbarrow) for multiple number of figures?
Hi Ashesh, To create a single colorbar for the four subplots, you can follow these steps: Create a new figure and axes for the...

1 year 前 | 0

已回答
Why do I get the error: Unable to resolve the name 'coder.api.internal.getFunctionDefaults'?
Hi Theresa, The error "Unable to resolve the name 'coder.api.internal.getFunctionDefaults'" in Simulink typically occurs when y...

2 years 前 | 0

已回答
How do I scale the height of bars output from a histogram?
Hi Andrew, If you have data output from a simulation that you want to plot as a histogram, you can use the histogram function i...

2 years 前 | 0

| 已接受

已回答
Stop MATLAB from print ans, and just display z
Hi Alice, If you don't want to get `ans` variable to be printed in the command window. You can try this code: function Company(...

2 years 前 | 0

已回答
How can I put variable equal to zero in loop
Here's a code that sets the symbol 'U1k' to zero in each iteration: w = input('k='); for k = 1:w eval(sprintf('U1%d=0', k...

2 years 前 | 0