Community Profile

photo

Adit Kirtani

MathWorks

Active since 2023

I am an Associate Software Engineer at MathWorks. My fields of expertise include UAV systems, Embedded Design and Programming. Some of my hobbies include sketching, 3D modelling and music. Disclaimer: All opinions expressed by me are mine and mine only. They are not representative of MathWorks.

Programming Languages:
Python, C, Java, MATLAB, Arduino, Assembly
Spoken Languages:
English
Professional Interests:
Embedded Systems

Statistics

  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

View badges

Content Feed

View by

Answered
STM32F767zi nucleo missing libraries in Simulink
Hi Zamolxes, The libraries are not visible on your PC as they were added in MATLAB 2021b. I would suggest upgrading to MATLAB 2...

ongeveer 2 maanden ago | 1

| accepted

Answered
Raspberry can communication STM32F1 by CAN protocol
Hi, Embedded Coder Support for STM32 Hardware provides blocks to use the CAN protocol for certain hardware families, but this i...

5 maanden ago | 1

Answered
Timeout expired before operation completed
Hi Madeline, From the issue you have described in your question, I have understood that the write operation has not finished w...

9 maanden ago | 1

Answered
How to use more CPU in Simulink for a Power System simulation?
Hi, The CPU usage during simulation of a Simulink model is primarily determined by the complexity and computational requireme...

9 maanden ago | 1

| accepted

Answered
How to trigger function call at a user defined periodic rate when using the "Show enable port" option in a Function-Call Generator
Hi Andrew, From what I understand, you wish to modify the sample rate at which the function call subsystem “checks” if there i...

9 maanden ago | 1

| accepted

Answered
Initial state formation for qubits
Hi Varsha, I’m assuming you are looking into how one can define initial states for testing quantum circuits, and in particula...

11 maanden ago | 0

Answered
output argument of a function in the source code generated by the Simulink coder
Hi, From my understanding, you’re looking to see if every type of function block in Simulink is represented by a void function...

11 maanden ago | 0

| accepted

Answered
defines.txt with RTW -> Simulink Coder
Hi Janosch, In MATLAB R2022a the generation of the “defines.txt” file has been removed as the information it contained is store...

11 maanden ago | 0

Answered
Simulink block to receive data from jetson nano spi pin
Hi, Currently the Jetson Nano Support Package does not have any block which supports SPI communication. There are other communi...

11 maanden ago | 0

Answered
How to aligning STL files and find the distance between them ?
Hi Ronnie, I see you’ve used the ‘stlread’ function for importing STL files. You can also use the following methods: The ‘...

11 maanden ago | 0

Answered
Real time motor control using Simscape and Arduino
Hi Darry, Here are a few handy links for preparing your model for real-time simulation: https://www.mathworks.com/company/news...

11 maanden ago | 0

Answered
What library or function should I use to interface using an RS-232 port (connected via 232 to USB adapter) which is attached to an Arduino Uno as a shield?
Hi Mohammed, Since your RS-232 shield is working and your Arduino can read incoming data, I would suggest the RS-232 blockset t...

12 maanden ago | 0

Answered
matlab2023a, Simulink, TI Delfino 28379D, Code generation information file does not exist.
Hi, I looked at the model you have shared, and I was unable to reproduce your error. As you are getting a warning for the versi...

12 maanden ago | 0

Answered
how to read rpm value on encoder in simulink real rime? give me an example simulink block about it
Hi Muhammad, The working of the model you have shared is a bit vague, but in general if you wish to read RPM values from an enc...

12 maanden ago | 0

Answered
Use SPI Register Write in Simulink with STM32
Hi Sabrina, To access the parameters to control the SPI Register Write block, be sure to double click on the block after addin...

12 maanden ago | 0

| accepted

Answered
What is MATLAB for Android Device microphone input data unit?
Hi Halil, For your first question, the level bar indicates sound being received by the microphone. You can read into it at thi...

ongeveer een jaar ago | 0

Answered
Simevents: entity generator and insert pattern with non periodic sequences
Hi José, For your first question, if you have a sequence of values from which you wish to set an intergeneration time, you can ...

ongeveer een jaar ago | 0

Answered
Read hexadecimal value Simulink
Hi Laura, I would suggest using a MATLAB function block to convert the hexadecimal values into decimal values. You can refer t...

ongeveer een jaar ago | 0

Answered
How to generate an stm32 timer interrupt by using the embedded coder for stm32? Is there an example?
Hi, To use timer interrupts, add a timer block and hardware interrupt block. You can configure the hardware interrupt block to ...

ongeveer een jaar ago | 0

Answered
How to generate entities with different probability in SimEvents?
Hi, For your question you could use two approaches; using a single entity generator with different attributes to differentiate ...

ongeveer een jaar ago | 0

Answered
Matlab with USRP N200 Unable to Communicate
Hi, The Communications Toolbox does have a support package for the N200 series USRP Radio. Perhaps this documentation link ma...

ongeveer een jaar ago | 0

Answered
pmsm foc autotuning using simulink
Hi Sriram, Perhaps this example may be what you need: https://www.mathworks.com/help/slcontrol/ug/tune-field-oriented-controll...

ongeveer een jaar ago | 0

Answered
generating a code from simulink for dsPIC
Hi Osama, I would recommend the following documentation page for you to go through so you can manage your variable types: Co...

ongeveer een jaar ago | 0

Answered
How do i compile the multiple Graphs in my code to show all the graphs and pie charts at once
Hi Abdul, You can utilize either subplots or tiledlayouts for your purpose, based on your preference. I hope this helps, ...

ongeveer een jaar ago | 0

Answered
mpu6050 calibrations, offset of the mpu6050 and filtering noise.
Hi Noor, As you have obtained raw data from your MPU module, you can take a look at the following resources for filtering of th...

ongeveer een jaar ago | 0