I have a model in matlab simulink .I want to measure the time when a signal is received in the simulink model .Is there any way to find the time .Appr ...
I have a model in matlab simulink .I want to measure the time when a signal is received in the simulink model .Is there any way to find the time .Appr ...
I have seen the following form of writing in many matlab routines: for example, I have a system function If I want to show the step response, or b ...
I define a struct (say, input) in the base workspace, and to avoid a lot of refactoring, I want to import it "From Workspace" to Simulink. I will use ...
I want to set the coefficient of my PID controller (P, I and D) as variables. I want P, I and D coming from the 3 inports 2, 3 and 4 as represented i ...
I'm wondering whether it is possible to change a block parameter in Simulink (or the value of one saved as a variable) using a different block to enab ...
I am currently working on a vehicle model in Simulink comprising of various subsystems (engine, transmission, etc) Each subsystem has outports and in ...
I was looking at simulink library browser and i noticed something that i am unable to understand. I have attached a snapshot and encircled red and hig ...
I want to automatically convert my Simulink Block diagram into MATLAB code but i am unable to find any relevant option. Although C code and HDL code o ...
I have an issue during the compilation of a Simulink model, the model worked since I had a change in my Windows professional account, now I can't comp ...
I want to change the scope axes from radian to degree MATLAB Simulink shows radian (the axes by default). I want to change this from rad to degree. Th ...
I'm trying to create a moving average window for temperature sensor data. I've followed: How to declare global variables for simulink containing matl ...
I have a very simple example. Two fans (A and B) are in a facility, representing each as a state. State Fan B will enter after 20 seconds state Fan A ...
I have a MatLab Simulink project where I have several Simulink model (.slx) files. I want to do two things. First, I want to read/parse details inform ...
I would like to create a project using a Matlab simulink environment model to find optimal parameters using reinforcement learning. Is it possible to ...
I feel like this is something that'd be absurdly easy in C# but is impossible in Simulink. I am trying to use an enumerated value as an array index. T ...
I'm using Simulink to develop software for an embedded device. My workflow is: Use Simulink models to implement business logic Generate C code f ...
My doubt is if I can call a c++ code (that basic is a Qt application) in Simulink? So, it is possible to run the code via s function and simulink will ...
I'm trying to create a simple DLL for a Simulink model which basically multiplies an input by a constant value. I have generated the code for a shared ...
How can I make gaussian noise with mean= 18 and variance= 0.1 in simulink? I can't use AWGN block since I'm not able to specify mean value in it. I wa ...
I have tried to change the dimension of output signals via the reshape block in Simulink. Unfortunately without success, does anyone have an idea how ...