Question

Error using horzcat Dimensions of arrays being concatenated are not consistent?

hello. i solve some differential equation with ode45. The answers are correct and there is no error.because i want to show some...

7 days ago | 1 answer | 0

Question

The signal at input port 1 of 'untitled/Out1' is a variable-size signal with a nondiscrete sample time. The sample time for any variable-size signal must be discrete error in simulink?

hi. i run a simple simulation.matlab function with output variable size.the code is: function y = fcn(u1,u2,u3) z= [u1 u2 u3];...

9 days ago | 0 answers | 0

Question

variable size matrix in simulink?

hi. i want to define a matrix with variable size as output of matlab function but there is the erroe which is attached. the co...

9 days ago | 0 answers | 0

Question

when i use tripleangle command in matlab it doesnot answer?

hi.i have installed robotics toolbox recently.when use commands from robotics,vision and control (peter corke) it is correct but...

1 month ago | 2 answers | 0

Question

when i run the simulation it hungs?

hi. when i run the simulation which is attached it hangs. there is no error and i do not know what is the problem. (matlab versi...

2 months ago | 1 answer | 0

Question

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space error in matlab?

hi. when I run my m file and then copy generated function to paste it is a Simulink block there is this error: at com.mathwo...

2 months ago | 1 answer | 0

Question

when i use matlabFunction command matlab takes a long time to run it and then hangs?

hi. I run the m file which is attached without 198 line(197 and 199 lines are in code) and matlab works correctly but when I add...

3 months ago | 1 answer | 0

Question

how can i import data from mat file to simulink?

Hello. I have a simple simulation: a matlab function block, clock(t as an input),scope and a from file block. acos [variable nam...

3 months ago | 1 answer | 0

Question

What should we do when Text exceeds maximum line length for Command Window display in matlab?

hi.I want to run the MFILE and (see D matrix) which is attached but there is an error : Text exceeds maximum line length for ...

3 months ago | 2 answers | 0

Question

This function does not fully set the dimensions of output port 2 error in matlab?

hi. I simulated impedance control for ur10.but there is an error: Error in default port dimensions function of S-function 'im...

3 months ago | 2 answers | 0

Question

keep just positive or just negetive answer of acos?

I have arccos and I want to keep just negative answer of it? how can I do it?(there are two answer)

5 months ago | 1 answer | 0

Question

'Domain error. To compute complex results from real x, use 'acos(complex(x))' error in matlab?

hi.i want to simulate ur10 inverse kinematic and I did it.while running there is this error: Domain error. To compute complex...

5 months ago | 1 answer | 0

Question

undefined function or variable error in matlab simulink?

hi.i want to simulate ur10 kinematic(inverse and forward) but when I run I have these errors(screenshot which is attached). the ...

6 months ago | 1 answer | 0

Question

plot function in matlab?

I want to plot qi=q0+3*(qf-q0)*t^2-2*(qf-q0)*t^3 as defined in the picture.i use plot or ez plot but the figure that is drawn is...

6 months ago | 1 answer | 0

Question

how can i download and install LMI toolbox?

hi. I want to install LMI toolbox but I can not download it? from where I can download it?

7 months ago | 1 answer | 0

Question

how can i assign values to symbolic matrix?

hi. I have the matrix B in symbolic form and I want to calculate it for different values and assign different symbols to it? wha...

7 months ago | 1 answer | 0

Question

error in syms line 56?

hi. I want to run syms x(t) but there is this error: error using assignin(invalid variable name x(t) in assigne error i...

7 months ago | 1 answer | 0

Question

Missing symbol 'mxArrayClassIDName' in 'D:\matlab/bin/win64\libmx.dll' error?

I want to open a mexw64 file in matlab but there is these errors: Invalid MEX-file Missing symbol 'mxArrayClassIDName' in 'D:\...

7 months ago | 1 answer | 0

Question

how to fix Cannot find an exact (case-sensitive) match for 'link' error ?

hi.i want to creat ur10 in matlab .I use this code: function URrobot = UR_robot() offset = [0 0 0 0 0 0]; ...

7 months ago | 1 answer | 0

Question

Generating discrete values in simulink

Hello. I want to generate this signal in Simulink: c=0:.001:1; h=3; x_0=0; x_d=x_0 + h*(c-sin(2*pi*c)/(2*pi)); but I don't ...

8 months ago | 1 answer | 0

Question

open stepfile-matlab-Not enough input arguments error?

Hello. I want to open a step file in matlab. first I import data then generate function but there is "Not enough input arguments...

10 months ago | 1 answer | 0