photo

Ralf


Last seen: 25 days ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 3
  • First Review
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How to locate all sl_customization files on the MATLAB path?
It seems that all the sl_customization files from earlier MATLAB versions vanished in newer version. That's why the output of ...

1 year ago | 0

Question


How to locate all sl_customization files on the MATLAB path?
In MATLAB versions up to R2019b I was able to use which -all sl_customization to locate all sl_customization.m and sl_customi...

1 year ago | 2 answers | 0

2

answers

Question


Converting a configuration reference to a configuration
Is there a way to convert a Simulink configuration reference set to a configuration? I know that the other direction is facili...

3 years ago | 1 answer | 1

1

answer

Question


How to make a forced exit from Matlab with returning a code?
Hi all, I try to exit from Matlab in a script and want to return a code to the command line. I know that there is the command ...

6 years ago | 2 answers | 0

2

answers

Answered
Why bus creater (non-virtual) accepts elements according to order defined in Simulink.Bus object
I've got the same question. In addition, is there a way to assemble a non-virtual bus without beeing forced to respect the o...

6 years ago | 0

Question


How to calculate the one's complement of the binary representation of a single precision variable in Simulink (or embedded Matlab)?
Hello everybody, I need to to convert a Simulink signal with data type 'single' to its one's complement. I tried to use a data ...

8 years ago | 0 answers | 0

0

answers

Answered
How to assign a name to a Table given set of names?
Hi Edson, would that work for you? assignin('base', ['A_' Subjects{1}], A);

8 years ago | 0

| accepted

Answered
how can i call a model from simulink to matlab?
I don't understand what _bit error rate_ means. But to simulate a Simulink model from Matlab, you usually use the sim() ...

8 years ago | 0

| accepted

Answered
Extract data from MATLAB plots
Hi ksnf3000, I doubt that this is correct. This would calculate the mean value of ydata between the 100th and 400th data poin...

8 years ago | 0

Answered
removing tickmarks on image in MatLab2014a
Is that doing the Job for you? set(gca,'TickLength', [0 0])

8 years ago | 1

| accepted

Answered
Want to return multiple variables from one function to another. How to do so?
I am not really sure about what you want to achieve. At least this code is doing something: function [a,b]=fn2() a...

8 years ago | 0

| accepted

Answered
Run a m-file (which simulates a Markov chain) multiple times and store the results
Can't you simply use a for Loop like this one? for i=1:1000 result{i} = markov(input{i}); end % Then you ca...

9 years ago | 0

| accepted

Answered
Doubt with the simulink units.
It shows the time in seconds.

9 years ago | 0

Answered
How do you insert the date and time as the file name when using xlswrite?
Hi Lucas, that's because datestr(now) creates characters like colon (:) which are not allowed for file names. You should defi...

9 years ago | 15

| accepted

Answered
Re-arranging columns into rows
Isn't that simply done using the _reshape_ function? B = reshape(A, 1, N*N); Regards, Ralf

9 years ago | 0

| accepted

Solved


Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

9 years ago

Question


How to copy field contents of one struct to another?
Hi all, I have got two structs, A and B. B has a subset of the fields of A: A.f1 = 1; A.f2 = 2; A.f3 = 3; B.f...

9 years ago | 1 answer | 2

1

answer

Question


How to find out if the Simulink Verification and Validation toolbox is installed?
Hi all, is there a simple way of finding out programmatically if the "Simulink Verification and Validation" toolbox is instal...

9 years ago | 1 answer | 0

1

answer

Question


Difference of cell arrays containing strings
Hello everybody, I try to calculate the difference of two cell arrays containing strings. I want to identify the unique strin...

10 years ago | 1 answer | 0

1

answer

Question


Are there gauges for Matlab?
Inspired by the gauges blockset for Simulink, I am looking for gauges to use in Matlab programs. Are there any gauges like the ...

10 years ago | 1 answer | 0

1

answer

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

12 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

12 years ago