Beantwortet
Display the final value of a variable of a plot in figure window
something like this %% a=17.63*3.6; i=0:0.5:18 a=a*i; plot(i,a,'linewidth',1); hold on; %% offset=10...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
Start simulink simulation from cetrain time
See these set_param('vdp','SimulationCommand','start') set_param('vdp','SimulationCommand','pause') set_param('vdp','Simulati...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
How can i import a signal and make its frequency as an input parameter.
Your data has 101 points (or 100 intervals). The period of the signal is 1/F, where F is your frequency. So you need to do Data...

fast 6 Jahre vor | 0

Beantwortet
How am I using set wrong?
setfield(foo,'fieldName1',bar.fieldName2)

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
How to set value of Simulink Rocker Switch from Matlab
This is a Simulink Dashboard block. It needs to be "binding" with another block. Add a Constant block of value "1". Bound the R...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink Block vs Simulink Model
A Simulink model is made from Simulink blocks. The sum of all its Simulink blocks plus something else (configurations, parameter...

fast 6 Jahre vor | 1

Beantwortet
Compare data at consecutive timesteps during runtime in Simulink
Use a Unit Delay block, the input is altitude, the output is the "previous value" of the altitude.

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
Testsuite for Matlab 2011b?
For many common cases, using the Signal Builder block to provide the testing signals/vectors is sufficient. You can create multi...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
License problem on my account
check your eligibility https://www.mathworks.com/products/matlab-online.html#license-types

fast 6 Jahre vor | 1

Beantwortet
Sending Live Simulink Values To Gui
Instead of creating your own GUI, I would suggest using the Simulink Dashboard Blocks. https://www.mathworks.com/videos/dashbo...

fast 6 Jahre vor | 1

Beantwortet
how to change suddenly dropping output by a gradually dropping output?
The Rate Limiter block is usually used for this. It is used to generate a slope after (not before) the falling or rising edge. B...

fast 6 Jahre vor | 0

Beantwortet
Extract a single signal from signal array
Use the Selector block from Signal Routing library. Click Help to find example models.

fast 6 Jahre vor | 0

Beantwortet
What does M([1:1 2:3], [1:0 2:3]) mean?
First, run this line by line in Command Window to figure out what it does 1:5 1:0.5:3 5:-1:1 Then understand that [1:1 2:3] ...

fast 6 Jahre vor | 0

Beantwortet
How can I concatenate these two arrays in this manner?
C=[A;B]; C=C(:)';

fast 6 Jahre vor | 0

Beantwortet
Can MATLAB code in an M-file successfully call slCharacterEncoding() without a Simulink license?
Seems Yes. >> license inuse matlab >> slCharacterEncoding() ans = 'windows-1252' >> license inuse matlab

fast 6 Jahre vor | 0

Beantwortet
R2020a Update 4 does not work
Your update is not installed. Should look like this: >> ver matlab -----------------------------------------------------------...

fast 6 Jahre vor | 0

Beantwortet
Error using cellstr. Shows error for element that doesn't exist.
I can duplicate the error using this simple example. So the problem is TblAllInfo{1,2}. It is the 154th element. It is not a cha...

fast 6 Jahre vor | 0

Beantwortet
Asynchronous function-call Initiator
The functon-call trigger port needs to be connected with a function-all signal, usually from a function-call generator block. Do...

fast 6 Jahre vor | 0

Beantwortet
MATLAB Borrow License Without Network
Yes, there is such a capability built-in. You need to contact your network license administrator to see if it is enabled though....

fast 6 Jahre vor | 0

Beantwortet
How to update "hidden" param in standalone reference configuration?
You need to open the data dictionary and change this parameter in the saved reference configuration directly.

fast 6 Jahre vor | 0

Beantwortet
Setparam on a nested block
There is no limitation regarding how deep can you go to reference the block. The only thing that might prevent you from doing th...

fast 6 Jahre vor | 0

Beantwortet
MATLAB 2020a and prior versions generate pcode warning
Someone must have modified and saved the ver.m file by mistake. ver.m and ver.p are built-in files and shouldn't be modified. Re...

fast 6 Jahre vor | 0

Beantwortet
Contributors metainfo: reputation and more
Congratulations to Walter Roberson for surpassing 100,000 points! I still don't think that it is possible.

fast 6 Jahre vor | 1

Beantwortet
Run 2016a but have 2014a as well for older software?
You can have multiple versions of MATLAB installed. They don't interfere with each other. So go ahead and install as many versio...

fast 6 Jahre vor | 0

Beantwortet
Add Second Axis Manually
plot(1:10); yyaxis right;

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
create a vector of 0 and 1s that takes 1 at a fixed interval
m=2; N=100; a=zeros(1,N); a(m+1:m+1:N)=1

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
Error with using sprintf
>> a={'abc'} a = 1×1 cell array {'abc'} >> sprintf('%s',a) Error using sprintf Function is not defined for 'cell' in...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink online not available?
check your eligibility at Simulink Online

fast 6 Jahre vor | 0

Beantwortet
How to use different sampling times for 2 blocks in the same simulink model?
It looks like a MATLAB Function block. Right click it, select "Block Parameters (Subsystem)", specify sample time as 0.1. You mi...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
How to resolve issue of finite derivative after some time interval in simulink
You have a division block prior to the Integrator block. Can you check to see if you have a "divided by zero" problem? What is t...

fast 6 Jahre vor | 1

Mehr laden