Answered
command history with updates
The command history is saved as history.xml for different versions. See if you can simply copy over the file. C:\Users\XYZ\AppD...

1 month ago | 0

Answered
How do I get rid of the windows command prompt when I open an .exe file from a compiled application using Matlab's system function?
try this? winopen('On-ScreenKeyboardPortable.exe')

1 month ago | 0

| accepted

Answered
Call Matlab function in simulink
Use the MATLAB function block MATLAB function

1 month ago | 0

Answered
How to combine array columns to form complex number?
Since you used table, you need to run S21complex = complex(S21real.Var2, S21imag.Var2)

1 month ago | 1

| accepted

Answered
How to update values ​​in Simulink
All you need is to declare "a" as a persistent variable. doc persistent

1 month ago | 0

Answered
Simulink Solver Information tooltip, Solver selection and Stepsize calculation
Maximize the the window of your Simulink model, at the most bottom-right corner, you'll see the solver name, such as ode45. Clic...

1 month ago | 0

| accepted

Answered
How to get property of blocks
Assume your model passes model update, here is an example. vdp; vdp([],[],[],'compile'); get_param('vdp/Mu','CompiledPortData...

1 month ago | 0

Answered
i can't use syms in matlab
run "ver symbolic". If you don't see the Symbolic Math Toolbox, then you don't have the Symbolic Math Toolbox.

1 month ago | 0

Answered
How to repeat a subsystem output multiple times in SImulink
Use an Integrator block with constant as the input. Compare the out with the Maximum value and trig reset.

1 month ago | 0

Answered
How to solve '' error(message('symbolic:sym:errmsg1')); ''
remove the "." in "syms xx."

1 month ago | 0

Answered
Merging different position (length) lines ??
Although the two curves look different in length and position, technically, curve one still have values (all zero) at the begini...

1 month ago | 0

| accepted

Answered
Using a column vector of indices to replace values in a matrix
C=[1,2,3]'; M=magic(5); index=setdiff(1:numel(M),C); M(index)=0

1 month ago | 1

| accepted

Answered
Matrix element comparision ?
V=[3 0;1 2;1 4]; out=sum(M==min(M))==1

1 month ago | 0

| accepted

Answered
How to plot a "goal" into my plot?
help rectangle

1 month ago | 0

| accepted

Answered
Why is `struct('name', value)` different with dot notation?
It is in the document. Check this example in the document. One creates a 1x2 struct array. The other creates a single struct. >...

1 month ago | 0

Answered
Integer check with a symbolic variable
If you want to check whether (p-1)/2 is an integer, then check whether p is an odd number. But since p is a prime number, it see...

1 month ago | 1

Answered
Corresponding values between two matrices
index=ismember(A(:,2),B(:,1)); A(index,1)

1 month ago | 0

| accepted

Answered
How to make pop up suggestion text box for an input field
a=uicontrol; a.Tooltip='input must be between 0 and 10';

1 month ago | 0

Answered
How to colour plot grey
f=figure; f.Color=[0.5, 0.5, 0.5]; %adjust the RGB for your shade of gray

1 month ago | 0

Answered
How do I dock the workspace window in the command window?
On the tool bar, click Layout then default

1 month ago | 0

| accepted

Answered
Find the help for sim command in the MPC Toolbox
There seems to exist a consistency issue. In R2018a, "doc mpc/sim" brings up the correct doc page. The address is web(fullfil...

2 months ago | 0

| accepted

Answered
Simulink compare shows false positives
It sounds like a bug. You could contact tech support to confirm. I've seen similar results quite often, even in later versions a...

2 months ago | 0

| accepted

Answered
Undefined function or variable 'xlim' Error
run"which -all xlim"?

2 months ago | 0

| accepted

Answered
Simulink model crashing when including to workspace block
The "To Workspace" block saves variables to the workspace which needs memory to store the variables. It sounds like that you mig...

2 months ago | 0

Answered
Issue in To workspace block in 2019b
Drag a "To Workspace" block from the library, if you only change the fomat from "Timeseries" to "array", then the variable in th...

2 months ago | 0

Answered
How can I select a specific variable in the .mat file which contains different variables in the user interface?
Use load() with return structure. gongStruct = load('gong.mat'); fieldnames(gongStruct) Use matfile object. Help matfile

2 months ago | 1

| accepted

Answered
How to display a matrix in 1 column?
Don't struggle too much. A for-loop will do. Or displaying "column #" would be more helpful when the array size is bigger. for ...

2 months ago | 0

| accepted

Answered
how can I read different data types from excel file
[NUM,TXT,RAW]=xlsread(FILE). Get the Raw data.

2 months ago | 0

| accepted

Answered
Error 2019b simulink plotting
Open the scope, View, Style, set the "Marker" to be "none".

2 months ago | 0

| accepted

Answered
block type "MATLABFcn": not yet supported by simulink coder
Run this in your MATLAB version to bring up the document. web(fullfile(docroot, 'simulink/ug/comparison-of-custom-block-functio...

2 months ago | 0

| accepted

Load more