Beantwortet
How do I convert output file (.exec) to .mat file?
Don't bother. Just run "save MyMatFile" on your server computer.

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Passing piecewise-constant vector to Simulink
There are many ways. The easiest is to define time t=[t1, t2,...t5] and a=[a1,a2,...a5] in workspace and then use the "From Work...

mehr als 7 Jahre vor | 0

Beantwortet
Using the 'Set_param' command to change the Number of Input ports of MinMax
The property name is 'Inputs'. web(fullfile(docroot, 'simulink/slref/common-block-parameters.html'))

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Cannot make the desired system
e^(-sTp) means transport delay of Tp. It is not the math operation of exponential function. Take a look at this example model....

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Set Prime vales equal to zero
isprime()

mehr als 7 Jahre vor | 0

Beantwortet
Why does my compiled application have issues on other computers?
Maybe you will need MATLAB Runtime for other computers that don't have MATLAB installed. Run "deploytool" to pack and deploy you...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
Automatic signal route optimization for Simulink?
Select some blocks and signal lines, click the action icon "..." that shows up, and click "Auto-route Lines".

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Copying to zeros matrix when rows vary per column
Rather than trying to figure out a single liner, use for-loop for k=1:10 index=start(k):finish(k); x(index,k)=m1(index,k); e...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Error using sim command
sim() is a build-in command. It looks like you have a S-function called sim?? Run "which -all sim" to see if there is anything ...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
Model reference speed problem (slow)
My guess is that it is not equal comparison. In your first picture, all the outputs are terminated. Maybe Simulink did some opti...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
How can I find all the constant blocks available in my complete model ?
Please take a look at the document for find_system(). By default, it searches all levels. Maybe you need to specify values for '...

mehr als 7 Jahre vor | 0

Beantwortet
what is the meaning of this code?
You've been asking the same question many times yet none of the answers seem to answer your question. I suggest you run "demo" i...

mehr als 7 Jahre vor | 0

Beantwortet
why can't I enable "stateflow animation"
You have to have a Stateflow chart open. Open a Stateflow chart and then select.

mehr als 7 Jahre vor | 0

Beantwortet
Concatenate cells containing strings
As long as you have two cell arrays with the same size, you can do this: strcat(A(index),B)

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Continuous-Time VCO block in simulink
Communications Toolbox \toolbox\comm\commdemos\commfreqsyn.slx Continuous-Time VCO - Implement voltage-controlled oscillator...

mehr als 7 Jahre vor | 3

Beantwortet
How to constantly calculate the total time duration for which the value of a signal is above a threshold in simulink?
Compare S with Thr, the output is zero or one. The integration of this signal will give you T. When it is zero, T won't increase...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
How do I replace 0 with NaN in an 3D array?
Maybe those values are not strictly zero. Try this example a=zeros(2,2,2) a(a==0)=nan

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
How to change Simulink S-Function Parameters with Matlab Command
get_param(BlockHandle,'Parameters') set_param(BlockHandle,'Parameters','abc')

mehr als 7 Jahre vor | 0

Beantwortet
Choosing the Step Size using Stepinfo
stepinfo() is to tell step response characteristics such as rise time, overshoott, etc. given that the step response is provided...

mehr als 7 Jahre vor | 0

Beantwortet
Matlab processes are too slow
run "bench" in MATLAB to see your PC's performance. In my opinion, i3 processor might be a little too old for R2018a. Core i3 is...

mehr als 7 Jahre vor | 2

| akzeptiert

Beantwortet
Anyone knows How to converter AUTOSAR.Parameter to Simulink.Parameter
Save your workspace as a .m file and do find-and-replace. Of course, AUTOSAR.Parameter objects have additional attributes than ...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
find_system truncate with ... and mess up listdlg index
This is because the default Simulink block name contains a carriage return or char(10) for "Bus Creator" block. You can see it w...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Change Simulink Library Lock Status from within the Library?
Open your library model, in menu File, library properties, library properties, In the Callbacks panel, you could add a callback...

mehr als 7 Jahre vor | 0

Beantwortet
If loop not acting properly??
move the last line inside the for-loop.

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
How to draw a graphic like this?
On your figure, click menu "Tools" and then check "Edit Plot". Then, click menu "Inset", line, arrow, text, etc.

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
how to remove someone as administrator
Last time I did that I called the tech support.

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
differentiate two copies of the same version of matlab
com.mathworks.mlservices.MatlabDesktopServices.getDesktop.getMainFrame.setTitle('MATLAB 1')

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
Recieving error Index exceeds the number of array elements (98) when attempting to useODE45?
t is 93x1 double, iM is 350. You try to access t(iM) which doe not exist. In other words, the index (iM, whose value is 350) exc...

mehr als 7 Jahre vor | 0

Beantwortet
Matlab stuck at Warning about Integers
With this, do you get it? >> a=rand(1,100); >> b=a(2:10); >> c=a(2:0.9:10); Warning: Integer operands are required for colon...

mehr als 7 Jahre vor | 0

Beantwortet
Could you please suggest me software or toolbox to edit MATLAB graph?
On your figure, click menu "Tools" and then check "Edit Plot".

mehr als 7 Jahre vor | 0

| akzeptiert

Mehr laden