simulink Questions

7

Solved

As far as I know, stateflow and simulink are often used at the same time, and are both environments developed by MathWorks, who make Matlab. May I know what's the difference between them?
Wishful asked 18/9, 2012 at 14:8

3

Solved

I have been searching and found many libraries (scipy, numpy, matplotlib) for Python that lets a user easily shift from MATLAB to Python. However, I am unable to find any library that is rela...
Bean asked 2/9, 2015 at 6:0

4

Solved

I am using Git and I am using MATLAB/Simulink. I know that there is some kind of integration in the new versions of MATLAB/Simulink with Git but I was wondering if there is an easy way to read a ...
Undercut asked 18/12, 2015 at 13:5

4

Solved

I have been trying to flip a block in Simulink along the vertical but I couldn't figure out how this can be done. For example, when the "sincos" trigonometric function block is inserted, the sin ou...
Portly asked 10/12, 2013 at 7:34

3

Is it possible to comment out the block in Simulink like it is possible in any programming languages ? I mean, using logic, I can disable the block. but its not the best solution all the time. I w...
Michealmicheil asked 5/9, 2011 at 14:10

3

This question has two main aspects actually. Right at the beginning, I have to admit that I am totally new to physical modeling and would be glad to be corrected as well, not only be answered. For ...
Traumatize asked 11/9, 2017 at 11:47

8

Solved

How can I perform unit testing in Simulink, or preferably, Stateflow? I'm a fan of agile software methods, including test driven development. I'm responsible for the development of safety critical...

2

If I want to plot the PSD of a simple sinusoidal wave in Matlab, I would do something like the following: Fs = 1000; t = 0:1/Fs:1-(1/Fs); x = cos(2*pi*100*t) ; N = length(x); xdft = fft(x); xdft ...
Tjirebon asked 20/9, 2016 at 15:30

4

Suppose I have the following two variables: start_idx = [1 4 7]; end_idx = [2 6 15]; I want to efficiently (no for loop if possible) generate a single row which consists of the colon operator be...
Baltazar asked 21/7, 2016 at 10:3

3

Solved

This condition is very important, because plot stretches my graph in an unacceptable manner.
Civilized asked 8/12, 2010 at 23:1

1

Solved

I am running a certain application on Ubuntu (16.04) in VirtualBox, while VirtualBox is running on Windows 10 (host). In Simulink (running on my host), I have a simulation where at the last s...

2

Solved

I need to transfer decimal values between Java program and a Simulink model, to do so i use UDP sockets, they are no problem in the java side. In Simulink i am able to send the values using 'Stream...
Isbell asked 30/3, 2016 at 14:1

0

How can I create a publisher that in Simulink (Matlab R2015A) that sends an array of floats as a ROS message (in ROS Indigo under Ubuntu 14.04)? I should use the BlankMSG block with msg type: std_m...
Bot asked 27/4, 2016 at 8:45

6

Solved

I am trying to determine which of these two to buy for my work. I have used SIMULINK but not LabVIEW. Is there anyone who has used both and would like to provide some details? My investigation crit...
Socialistic asked 19/6, 2013 at 7:27

2

Solved

I need to implement an anti-windup (output limitation) for my PID controller. Simulink is offering two options: back calculation and clamping (documentation) which seem to deliver equal results. I ...
Ulrich asked 6/9, 2013 at 9:48

1

Solved

I would like to know what files I should add to the .gitignore file when I am using MATLAB and Simulink. Should the files slx.original be added?
Chlorate asked 6/8, 2015 at 13:50

1

Solved

The following code is valid matlab sytax to check whether b matches any elements in a. However, if the code is used for code generation (i.e. simulink) then I get the error: 'code generation only...

4

Solved

What are (If there are) the differences between a Simulink library and a model reference. There's advantadges in using either of them in different situations?
Glomeration asked 16/8, 2011 at 16:54

2

OK, I've been struggling with this for a while. What is the best way to accomplish the following: where Reaction Wheel 1-4 are links to the same block in a library. When the Speed Counter, Speed...
Prepare asked 22/9, 2014 at 13:56

3

Solved

I want to retrieve the data from simulink during simulation, and use serial network function to send these data to another program. Because I need to use another program to do some tricks and send ...
Houle asked 9/6, 2013 at 2:40

3

Solved

What information is available about these file formats? What tools are available for parsing these files?
Feign asked 1/5, 2014 at 12:58

2

Solved

The usual way to iterate through a struct data type in MATLAB is using the fieldnames() function as done in: mystruct = struct('a',3,'b',5,'c',9); fields = fieldnames(mystruct); for i=1:numel(fi...
Gahnite asked 18/6, 2014 at 12:2

1

I want to use Simulink to create programs for Arduino Uno hardware. But I would like to use existing libraries, like liquidcrystal, to handle output to an LCD display. How can I create an s-functio...
Dmitri asked 1/10, 2012 at 2:42

1

I'm running Monte Carlo simulation for a Simulink model with a Matlab script that looks more or less like this : model = 'modelName'; load_system(model) for ii = 1 : numberOfMC % Some set_param...
Stridor asked 4/12, 2013 at 15:5

1

I read some works about Kalman filter for CV object tracking but I can't find some reference about the choice of: 1)the process noise covariance Q; 2)Measurement noise covariance R. So far I have r...
Briticism asked 20/1, 2014 at 22:8

© 2022 - 2024 — McMap. All rights reserved.