11 Answered Questions for the topic simulink

Simulink Python Udp

07/20/19

Reading data from Simulink into Python over UDP?

I want to send data from a Simulink model (running in real time) to a Python script (also running in real time. I am using Simulink's built-in "UDP Send" block, which works, but I don't know how to... more

07/12/19

load .mat file in simulink from python hdf5storage library?

I am trying to load/read some random data in simulink I created using the Python module `hdf5storage`. I created `.mat` file in Python (simulink supports version 7.3 only) using this code: #... more

07/12/19

MATLAB Engine API for Python: changing parameters of the running simulation?

I am using the `MATLAB Engine API for Python`. I have a shared engine in a Python script and then another Python script connected to this shared engine. I would like to ask whether it is possible... more
Simulink Matlab Python Arrays

07/12/19

Matlab - Iterating through an array and appending to a new one?

I got an array that is a audio recording, and I'd like to add some noise on it so later I can remove it in Simulink and compare the original to the one that I removed the noise. My problem is that... more
Simulink C Matlab Python

07/12/19

I would like to be able to compare values in one CSV with a nominal set of values in another?

I have been given the task of injecting faults into a system and finding deviations from a norm. These deviations will serve as the failures of the system. So far we've had to detect these faults... more
Simulink Python Udp Decode

06/05/19

Decoding Simulink's UDP Packets in Python?

I have a Simulink model sending data via UDP to another program (Blender) where I can receive the packets, but I have not been able to figure out how to correctly decode them. In the Simulink... more
Simulink Matlab Python

06/03/19

Create a python script to simulate a Matlab file and store results?

I have recently started working as a student assistant and I have to write a script in Pycharm (python) which is something new for me. My task is to write a python script which takes a Matlab file... more

05/27/19

Use Matlab Raspberry PI Support Package function in Simulink as Matlab Function Block?

I'm new to Matlab and Simulink and I need to get a simulation run on the Raspberry PI. For interaction I use the Raspberry PI Support Package of Matlab. I use the following code to open the... more
Simulink Matlab Optimization

05/27/19

Tuning and optimizing a MATLAB/Simulink Model?

I would like to optimize output signals, by tuning some of the input parameters with ease (preferably in real-time) by looping the simulation of the model again and again at a speed where the speed... more
Simulink Matlab Random

05/19/19

Uniform Random Number blocks in my simulation model?

I've used 2 Uniform Random Number blocks in my simulation model, but every time I run the program they generate last numbers (exactly the same). I need to test the model with new generated numbers.... more

05/19/19

Is it possible to change decimation precision of Scope in Matlab?

I'm saving the data of the scope while simulating into the workspace. I've seen that the data has four decimal places, e.g. 1.4617. Now in my case I need a higher precision. Is it possibly to... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.