Search found 11 matches

by trabias
11 Sep 2013, 01:54
Forum: General questions
Topic: Setting object position in V-REP
Replies: 7
Views: 8501

Re: Setting object position in V-REP

Ohh ok! Thanks! I ran the program now and it gives no issues, but the quadricopter doesn't move.... is there something missing from my code (included below) or should I add something to the child script to read the information given? Thanks! Sarah function startvrep(xyz) x=xyz(:,1); y=xyz(:,2); z=xy...
by trabias
11 Sep 2013, 00:55
Forum: General questions
Topic: Setting object position in V-REP
Replies: 7
Views: 8501

Re: Setting object position in V-REP

Thanks for the quick reply! I received this error and was wondering if you had any ideas what is the issue? I tried to adjusting the input for the position array different ways and I keep getting the same error. No appropriate method, property, or field simxSetObjects for class remApi. Error in star...
by trabias
10 Sep 2013, 01:49
Forum: General questions
Topic: Setting object position in V-REP
Replies: 7
Views: 8501

Setting object position in V-REP

Hi! I have arrays of values calculated in MATLAB for the x, y, and z position and I'm trying to find the best way to send that information to V-REP. My initial idea is to use simSetObjectPosition within a for loop in a child script so that it runs through the all of the values and changes the positi...
by trabias
14 Aug 2013, 18:23
Forum: General questions
Topic: Simulink and V-REP
Replies: 37
Views: 31067

Re: Simulink and V-REP

I have run the sample code and I receive this: ">> simpleTest Program started Failed connecting to remote API server No appropriate method, property, or field delete for class remApi. Error in simpleTest (line 36) vrep.delete(); % explicitely call the destructor!" Doesn't that mean it was able to bu...
by trabias
13 Aug 2013, 23:47
Forum: General questions
Topic: Simulink and V-REP
Replies: 37
Views: 31067

Re: Simulink and V-REP

Hi! I was able to figure out the issues with the compiler, but when I run my model I get a new error: " The function 'loadlibrary' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation. Function 'remapi.m' (#74...
by trabias
12 Aug 2013, 19:04
Forum: General questions
Topic: Simulink and V-REP
Replies: 37
Views: 31067

Re: Simulink and V-REP

I had 32 bit MATLAB installed on my computer last week in order to use V-REP. It seems the compiler needed didn't get installed as well. I have contacted the systems administrator to get this resolved today.

Thanks!
Sarah
by trabias
11 Aug 2013, 22:39
Forum: General questions
Topic: Simulink and V-REP
Replies: 37
Views: 31067

Re: Simulink and V-REP

Oh I didn't notice I had it in there twice! I've removed those lines and added the newer operation modes. When I run either of the programs in MATLAB, I receive this error: >> simpleTest Program started Error using loadlibrary (line 254) A 'Selected' compiler was not found. You may need to run mex -...
by trabias
10 Aug 2013, 19:15
Forum: General questions
Topic: Simulink and V-REP
Replies: 37
Views: 31067

Re: Simulink and V-REP

I have commented the two delete functions and it seems that MATLAB doesn't recognize the command remApi (error: "Undefined function or variable 'remApi'.") I don't think I am generating an MEX-file... could that be the issue?

Thanks!
Sarah
by trabias
10 Aug 2013, 01:14
Forum: General questions
Topic: Simulink and V-REP
Replies: 37
Views: 31067

Re: Simulink and V-REP

Thanks!! I'm attempting to use the simxSetIntegerSignal to control the x position of the quadrotor, however when I run my Simulink, I get this error about the remapi.m file: "Code generation does not support the 'delete' method. Handle objects are only destroyed when program execution ends, and dest...
by trabias
09 Aug 2013, 19:18
Forum: General questions
Topic: Simulink and V-REP
Replies: 37
Views: 31067

Re: Simulink and V-REP

Thanks so much!! All of those files were very helpful! I had another question. My simulink file models the motion and dynamics of a quadrotor. Do you know what the best way to send the information calculated from MATLAB to V-REP and have the simulation be controlled by the simulink? Also, should thi...