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

meer dan een jaar ago | 2

| accepted

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

meer dan een jaar ago | 0

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

bijna 2 jaar ago | 0

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

bijna 2 jaar ago | 0

| accepted

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

bijna 2 jaar ago | 0

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

bijna 2 jaar ago | 0