Feeds
已回答
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 ...
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 前 | 0
提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 1
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答已回答
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...
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 前 | 0
提问
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 前 | 0 个回答 | 0
0
个回答已回答
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);
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 前 | 0
| 已接受
已回答
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() ...
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 前 | 0
| 已接受
已回答
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...
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 前 | 0
已回答
removing tickmarks on image in MatLab2014a
Is that doing the Job for you? set(gca,'TickLength', [0 0])
removing tickmarks on image in MatLab2014a
Is that doing the Job for you? set(gca,'TickLength', [0 0])
8 years 前 | 1
| 已接受
已回答
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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 15
| 已接受
已回答
Re-arranging columns into rows
Isn't that simply done using the _reshape_ function? B = reshape(A, 1, N*N); Regards, Ralf
Re-arranging columns into rows
Isn't that simply done using the _reshape_ function? B = reshape(A, 1, N*N); Regards, Ralf
9 years 前 | 0
| 已接受
已解决
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 前
提问
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 前 | 1 个回答 | 2
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答已解决
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 前
已解决
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 前