Réponse apportée
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...

plus d'un an il y a | 2

| A accepté

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
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(...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0