Community Profile

photo

Nirja Mehta

MathWorks

Last seen: 1 year ago Active since 2016

I am an Application Support Engineer and an Electrical Engineer by education.

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Is there a way to get the Simulink real-time parameter set (rtp) from a rapid accelerator build without rebuilding it?
You can check the checksum of your model and get rtp only if checksums are different. % To compile the model before calling...

5 years ago | 0

Answered
Dynamic Memory disabled, Coder help Needed
If you know the maximum size of your variable, place an upper bound on this variable for code generation. To avoid dynamic me...

5 years ago | 0

Answered
magnetic fiel simulator tools ?
Refer <https://www.mathworks.com/help/pde/electrostatics-and-magnetostatics-equations.html Solve PDEs that model static electric...

5 years ago | 0

Answered
VC++ code as s-function
Please refer this <http://www.mathworks.com/help/simulink/sfg/integrating-existing-c-functions-into-simulink-models-with-the-leg...

5 years ago | 0

Answered
write out separate files for each iteration
Are you getting any error? If yes, can you provide your .wav files?

5 years ago | 0

| accepted

Answered
In DTC induction motor module, what is the equation between the input: speed reference and torque reference produced in module
The input "SP" is used for setting either speed or torque setpoint. There are multiple demo models that depict the use of speed ...

5 years ago | 0

Answered
How can I simulate a model which is triggered at specific simulation times with a variable step solver?
Yes, you are on the right track. You can control the maximum step size which will not skip certain steps during simulation. Also...

5 years ago | 0

Answered
Antenna Toolbox pattern() getting stuck (and gobbling memory) for any dielectric other than 'Air'
That is expected. The default patch is designed for operation at 1.67 GHz. So if you operate it at 5.8 GHz, the wavelength is mu...

6 years ago | 0

Answered
Error while using smimport
Do you have any apostrophes in your current working directory? If yes, change the MATLAB Current Folder to a new directory t...

6 years ago | 1

Answered
How to modify simscape PTC Thermistor for Stien-Hart Equation
That is because you have access to components only in "Foundation Library". Access to these components is given to provide a gre...

6 years ago | 0

| accepted

Answered
Stop diagnostics from simulink model outputting to command line when using simout?
As per my understanding of your question, I tried the following: >> vdp >> simOut = sim(gcs,'SimulationMode','Normal') ...

6 years ago | 0

Answered
Transition not executed despite true condition
How are you providing input to the chart? I made a Stateflow chart according to your description, and with signed fixed point da...

6 years ago | 0

Answered
Units for constants in simscape custom module
Assign '1' as the unit of "cm".

6 years ago | 0

Answered
Simulink Error: Error invoking object method
Try opening any of the models listed in this link: <http://www.mathworks.com/help/simrf/examples.html> If it still does not ...

6 years ago | 0

Answered
I want to desig a M/M/C model using SimEvents add-ons.
<http://blogs.mathworks.com/simulink/2015/02/04/surprising-results-from-modeling-queues-with-simevents/ Open this blog on modeli...

6 years ago | 0

| accepted

Answered
How I can get data from Bluetooth device to Simulink in a loop
This is because "b" is not in the scope of "DataStream" function. You will need to pass "b" as an input to "DataStream" function...

6 years ago | 0

Answered
Sliding window in 2 images to create a third
i1 = randn([100 100]); i2 = randn([100 100]); R = 3; C = 21; num = 0; for i = 1:R for j = 1:C num =...

6 years ago | 0

Answered
Kmeans information and cluster analysis
The outputs of kmeans will help you in visualizing the way your data is separated among k number of clusters. The outputs contai...

6 years ago | 0

Answered
What does my simulation go into Zeno mode?
Runs without any warnings on my machine. You are simulating your model in Accelerator mode, try running in Normal mode or Rapid ...

6 years ago | 0

Answered
How do I programmatically add inputs to a matlab function block ?
I am assuming you are working on a newer release of MATLAB, but the following links explain how you can programmatically change ...

6 years ago | 1

| accepted