Beantwortet
Save a plot from a function in a structure and save the structure
You can save all your workspace data or selected data into an .mat file. Then you can load or simply double click the .mat file ...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
How can I set new value in xml (DOM) per variable in workspace
abc=5; num2str(abc) should give you '5'

fast 8 Jahre vor | 1

| akzeptiert

Beantwortet
How to convert (2x3)[each element in 2x3 contains 1x19 double]cell array ?
my guess, A is the original data, B is the desired result A=repmat({1:5},2,3); B=cell2mat(reshape(transpose(A),[],1))

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
Which License am I using for each toolbox
I put the following text into a .bat file and run it in Windows Command Prompt. See if you can modify it and make it work for yo...

fast 8 Jahre vor | 0

Beantwortet
dynamically change simulink library path
I did an experiment and it seemed to work. # Construct a library model with a SubSystem block, mask it as 'LibA' and save it ...

fast 8 Jahre vor | 0

Beantwortet
How to find variables solver assigned to simulink
In your Simulink model, click menu "Simulation", "Model Configuration Parameters" Select "Solver" on the left panel, on the r...

fast 8 Jahre vor | 0

Beantwortet
Need help to implement Trapezoidal Velocity Profile in Position control of DC motor (simulink)
Use "Repeating Sequence", or "Signal Builder" block, signal, new, custom ... Specify the trapezoidal wave using time-value da...

fast 8 Jahre vor | 0

Beantwortet
Exporting the model browser list of subsystems - Simulink
find_system(bdroot,'Blocktype','SubSystem') check for other options of find_system

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink 2017a model window resuse preference?
I am not sure if this is what you want. Right click a subsystem block, click "open in new tab" or "open in new window".

fast 8 Jahre vor | 0

Beantwortet
How to display the x and y values of the cursor location on plot in GUIDE
Would this help? doc datacursormode

fast 8 Jahre vor | 1

| akzeptiert

Beantwortet
How can I copy a set of files from an a drive with Read-only access to a local drive?
Double check again. You should have no problem copying files from a read-only source location. The file might also be read-only ...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
use logical indexing to access multiple lines syntax
temp=p552r1_tnL(p,1:3)

fast 8 Jahre vor | 2

| akzeptiert

Beantwortet
How to Sum each nth Pages of a Three Dimensional Matrix?
the size of your original matrix, say A, needs to be 21x23x248, right? sz=size(A) B=reshape(A,sz(1),sz(2),8,[]); sque...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
Convert cell array of character vectors to evaluable expressions
NewList=strrep(list,'{','('); NewList=strrep(NewList,'}',')'); cellfun(@str2num,NewList)

fast 8 Jahre vor | 0

Beantwortet
Nonconvential files data extract
Move these two lines from inside the for-loop to outside. Data = nomfiles{i}; DataAll(:,1) = Data In fact, you can c...

fast 8 Jahre vor | 0

Beantwortet
Selecting values off of a matrix based on the values on another matrix
index=sub2ind(size(A),B(:,1),B(:,2)) A(index)

fast 8 Jahre vor | 0

Beantwortet
Why I get this error? how can I solve it?
Need your returnindex.m to see the problem. Most likely, it has a output argument called "ind" but was not assigned.

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
auto generating test cases with simulink testing toolbox
It's in the other toolbox "Simulink Design Verifier".

fast 8 Jahre vor | 0

Beantwortet
SIMULINK not recognizing Variables defined in Annotation box
Your assignment needs to be put in the "ClickFcn" box or check that "Use annotation text as Click callback". Also, it does requi...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
How to create a level triggered subsystem in simulink ?
Use an "Enabled Subsystem" block or even the "Enabled and Triggered Subsystem" block.

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
Is it possible that a C-mex s-function outputs single float data ?
ssSetOutputPortDataType()

fast 8 Jahre vor | 0

Beantwortet
How would my script to show this in the command window?
Michael, Initially, set s to be zero because no loop has been executed yet. Set m to be the same as x. Inside the loop, s...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
Help on my function script?
almost there while x>1 if mod(x,2)==0 %shows x(natural number) is even x=x/2 elseif mod(x,2)==1 %s...

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
Define the settling time t(s) in MATLAB
here is a clue, find(and(abs(x1)>=0.01, abs(x2)>=0.01),'last')

fast 8 Jahre vor | 0

Beantwortet
Importing and naming files in a loop
Without more details, the first thing to correct is the variable name Test(i)_1L should be Test_1L(i)

fast 8 Jahre vor | 0

| akzeptiert

Beantwortet
Delete rows from matrix and table
something like this? A=magic(10); rows=[1,3,9]; A(rows,:)=[];

fast 8 Jahre vor | 1

| akzeptiert

Beantwortet
xlabel,ylabel title not displaying
should be title('The vertical vs x axis'); ylabel('The vertical'); xlabel('The horizontal x axis');

fast 8 Jahre vor | 3

| akzeptiert

Beantwortet
Copy subsystem mask to model mask
Are you supposed to add a "Model" block to your "newModel"? You can't mask the root level model. Rather, you can copy the mask t...

fast 8 Jahre vor | 0

Mehr laden