Answered
i build buck boost circuit in Simulink and i want to control the switches from Arduino code
Hi @ahmad salahat, To interface your Simulink model with an Arduino, you'll need to establish serial communication so that the ...

11 months ago | 0

Answered
Simscape Asynchronous Machine block doesn't work in accelerator mode with C++
Hi @Shu, To resolve the error, you should enable Verbose accelerator builds in the model configuration pane and navigate to...

11 months ago | 0

Answered
Help me to model closed loop PID controlled pwm Led and Photodiode using Simulink.
Hi @Suprovo, It will be better if you can provide the model, if not you can try the following steps. Linearization can be cha...

11 months ago | 0

Answered
How can I connect the DC motor housing to a lever-like mechanism while having the motor shaft connected to the aerodynamic propeller block?
Hi @Kamarl, To create a Twin-Rotor MIMO (Multiple-Input Multiple-Output) system model in Simscape, where the DC motor's housing...

11 months ago | 0

Answered
How can self-organized Simulink model/block information be written to a file during Simulink code generation?
Hi @Qing Liu, Passing complex data structures from Simulink into generated C code can indeed be challenging due to the limitati...

11 months ago | 0

Answered
S-Function 'SimCoupler' does not exist
Hello @Hussein Ali, To utilize the S-function in “SimCoupler” within Simulink, you'll first need to set up the “SimCoupler” T...

12 months ago | 0

Answered
Plot power spectrum from FFT
Hello, To plot the power spectrum correctly, you need to make sure you are plotting the correct half of the FFT result. For ...

12 months ago | 0

Answered
3D Simulation How to Setting the viewpoint
Hi Kouta Uchimoto, To visualize a 3D scene from a specific point of view in MATLAB, you can use the “view” and “campos” functi...

12 months ago | 0

Answered
why is there no lines in in my plot
Hi Alexander, To visualize data points iteratively and connect them with lines, you can use MATLAB's “hold on” function. This...

12 months ago | 0

Answered
Simulink Scope doesn't open in standalone .exe
Hello John Schutkeker, When you run a standalone Simulink executable (.exe), the built-in Simulink scopes don't automatically d...

12 months ago | 0