Harsh Saxena
Followers: 0 Following: 0
Feeds
답변 있음
For loop to perform multiple model simulations, error avoidance through try/catch
Hi Vita, You can use the try/catch statement like this: try out = sim("model.slx"); catch ME disp(ME); out = M...
For loop to perform multiple model simulations, error avoidance through try/catch
Hi Vita, You can use the try/catch statement like this: try out = sim("model.slx"); catch ME disp(ME); out = M...
1년 초과 전 | 1
| 수락됨
답변 있음
Creating Data Type Alias in the Generated Code, what is "creal32_T "
Hi Jake, The typedef creal32_T is used to handle the complex values in the generated code. Thus, creal32_T will be a structure ...
Creating Data Type Alias in the Generated Code, what is "creal32_T "
Hi Jake, The typedef creal32_T is used to handle the complex values in the generated code. Thus, creal32_T will be a structure ...
1년 초과 전 | 0
| 수락됨
답변 있음
How can I increase the speed of the following code with four for loops using other approaches like structure ?
Hi Mina, The given code can be optimized in the following way: If you can, prelocate the ERA_5 array, this will eliminate resi...
How can I increase the speed of the following code with four for loops using other approaches like structure ?
Hi Mina, The given code can be optimized in the following way: If you can, prelocate the ERA_5 array, this will eliminate resi...
1년 초과 전 | 0
| 수락됨
답변 있음
MATLAB Coder not generating C code
Hi Grant, This usually happens when if the function in question does not return anything and has no other side-effects. In this...
MATLAB Coder not generating C code
Hi Grant, This usually happens when if the function in question does not return anything and has no other side-effects. In this...
1년 초과 전 | 0
답변 있음
I am currently trying to build example simulink model, but I am end up with this error. If anyone can suggest a way around, I will be greatful.
Hi, There can be a number of reasons for this error to occur. See if any of these solutions help: Set up the workspace path as...
I am currently trying to build example simulink model, but I am end up with this error. If anyone can suggest a way around, I will be greatful.
Hi, There can be a number of reasons for this error to occur. See if any of these solutions help: Set up the workspace path as...
1년 초과 전 | 0
답변 있음
how can i perform unbalance load flow in simulink
Hi, Seems like you are trying to use the power operator. To use it like a^b, make sure that 'b' is a scalar as it will apply th...
how can i perform unbalance load flow in simulink
Hi, Seems like you are trying to use the power operator. To use it like a^b, make sure that 'b' is a scalar as it will apply th...
1년 초과 전 | 0
답변 있음
How to stop output in Simulink?
Hi Emily, I think you need to modify the simulation time in Simulink so that the simulation runs for only one transmission. H...
How to stop output in Simulink?
Hi Emily, I think you need to modify the simulation time in Simulink so that the simulation runs for only one transmission. H...
1년 초과 전 | 0
답변 있음
What's the theory behind ode14x solver?
Hi Antonio, Two things that the documentation clearly mentions is the use of extrapolation and implicit method. Extrapolatio...
What's the theory behind ode14x solver?
Hi Antonio, Two things that the documentation clearly mentions is the use of extrapolation and implicit method. Extrapolatio...
1년 초과 전 | 0
답변 있음
Why does this give me the "Unable to perform assignment because the left and right sides have a different number of elements." error?
Hi, Maybe this error is occuring due to the fact that app.components.name(i) is a character array, so MATLAB considers left ...
Why does this give me the "Unable to perform assignment because the left and right sides have a different number of elements." error?
Hi, Maybe this error is occuring due to the fact that app.components.name(i) is a character array, so MATLAB considers left ...
1년 초과 전 | 1
답변 있음
textscan does not scan the text as accurate as strread, i have "errors"
Hi Andre, The reason this problem is occuring is due the presence of extra spaces before Air. This leads to dividing the string...
textscan does not scan the text as accurate as strread, i have "errors"
Hi Andre, The reason this problem is occuring is due the presence of extra spaces before Air. This leads to dividing the string...
1년 초과 전 | 1
답변 있음
What is the difference of using IGBT instead of MOSFET?
Hi Mark, In a Simulink model, you won't notice a huge difference between IGBT and MOSFET. The main difference between IGBT ...
What is the difference of using IGBT instead of MOSFET?
Hi Mark, In a Simulink model, you won't notice a huge difference between IGBT and MOSFET. The main difference between IGBT ...
1년 초과 전 | 1
| 수락됨
답변 있음
Cannot save preferences and previous paths
Hi Chris, The problem might be occuring due to the way MATLAB is using /tmp directory. Probably because /tmp folder does not ...
Cannot save preferences and previous paths
Hi Chris, The problem might be occuring due to the way MATLAB is using /tmp directory. Probably because /tmp folder does not ...
1년 초과 전 | 1
답변 있음
How to separate four columns on the basis of 5th column
Hi, To do this you can use the following logic: % just to load data data = load('Dataset.mat'); x = data.Dataset; % A = ...
How to separate four columns on the basis of 5th column
Hi, To do this you can use the following logic: % just to load data data = load('Dataset.mat'); x = data.Dataset; % A = ...
1년 초과 전 | 0
답변 있음
Wrong output for strand sort algorithm
Hi Mustafa, There are mainly two problems with the code: Sorted list needs to be empty after every iteration of while ~isempty...
Wrong output for strand sort algorithm
Hi Mustafa, There are mainly two problems with the code: Sorted list needs to be empty after every iteration of while ~isempty...
1년 초과 전 | 0