Question

Simulink stuck with Robotics Toolbox model initialization

<https://fr.mathworks.com/matlabcentral/answers/335245-long-initializing-time-when-using-the-robotics-system-toolbox I have seen...

3 years ago | 0 answers | 0

Question

java exception robotics toolbox

Hi, I am trying to do the example - Task 3 - Work with Messages Using MATLAB Function Block - <https://fr.mathworks.com/help...

3 years ago | 1 answer | 0

Answered

java exception robotics toolbox

I found the answer to my question. It was rather easy. It was the Java version on my ubuntu 14.04 and the one _expected_ by matl...

java exception robotics toolbox

I found the answer to my question. It was rather easy. It was the Java version on my ubuntu 14.04 and the one _expected_ by matl...

3 years ago | 0

| accepted

Question

Generate trajectories with same tangent in a specific point

Hi, I want to simulate the movements of 3 robots/agents in space and I would like to generate 3 different trajectories which...

4 years ago | 1 answer | 0

Question

Tune Simulink parameter at simulation time

Hi to everyone, I have a problem. I have an embedded function in my simulink model which has a structure (struct) as paramete...

5 years ago | 0 answers | 0

Answered

Mark tunable ALL parameters of an S-Function

Mathworks is not listening. I did a solution by myself. If you are interested you can find it here : <https://www.yout...

Mark tunable ALL parameters of an S-Function

Mathworks is not listening. I did a solution by myself. If you are interested you can find it here : <https://www.yout...

5 years ago | 0

Answered

how to compare two videos in matlab ? i have extracted frames from video but what should be next in comparing process ??

Hi, I would give a look at this link : http://www.mathworks.com/help/imaq/examples/video-display-with-live-histogram.html ...

how to compare two videos in matlab ? i have extracted frames from video but what should be next in comparing process ??

Hi, I would give a look at this link : http://www.mathworks.com/help/imaq/examples/video-display-with-live-histogram.html ...

6 years ago | 0

Answered

How to generate a DLL file from Matlab for C++ (i'm using 2013a)

Hi, For that you could use the MATLAB Coder. To to what you want you should set the target to *C/C++ Dynamic Library* in t...

How to generate a DLL file from Matlab for C++ (i'm using 2013a)

Hi, For that you could use the MATLAB Coder. To to what you want you should set the target to *C/C++ Dynamic Library* in t...

6 years ago | 0

Question

Shortcut to 'Generate S-Function' in Simulink

Hi to everyone, I am using more and more the _Generate S-Function_ tool in SIMULINK to compile my blocks and make my simulation ...

6 years ago | 0 answers | 0

Answered

I need an activation key to access Matlab online

MATLAB is not a free-of-charge software. You need to pay for it. If you are a student you could look here to buy a license which...

I need an activation key to access Matlab online

MATLAB is not a free-of-charge software. You need to pay for it. If you are a student you could look here to buy a license which...

6 years ago | 0

| accepted

Answered

how to write functions in an m-file?

You should write something like that: function [ cost ] = objective( time ) %UNTITLED Summary of this function goes here...

how to write functions in an m-file?

You should write something like that: function [ cost ] = objective( time ) %UNTITLED Summary of this function goes here...

6 years ago | 0

Question

Does Matlab resize vectors automatically

Hi to everyone. I was wondering if MATLAB is able to automatically resize the arrays. To me it sounds that it does because this:...

6 years ago | 2 answers | 0

Question

Mark tunable ALL parameters of an S-Function

Dear all, I have a block with certain parameters and I want to have all of them as tunable when I generate my S-Function cor...

6 years ago | 2 answers | 0

Question

Create an S-Function with 3D inputs

Hi to everyone. I am using Simulink and my model is too slow for my purposes. I am using already the Accelerator mode and I woul...

6 years ago | 1 answer | 0

Answered

change the location of the slprj folder

I found the way to do it. It was easier than I thought. Just run matlab (I am working under Linux, ubuntu 14.04) from the fo...

change the location of the slprj folder

I found the way to do it. It was easier than I thought. Just run matlab (I am working under Linux, ubuntu 14.04) from the fo...

6 years ago | 0

| accepted

Question

change the location of the slprj folder

Hi to everyone, I don't want to run matlab as an administrator and I would like to change the location of the slprj folder. ...

6 years ago | 1 answer | 0

Answered

error: Code generation failed Failed to create file

I have the same problem and I knew it was because I didn't have privileges. The problem is that when I run matlab as an administ...

error: Code generation failed Failed to create file

I have the same problem and I knew it was because I didn't have privileges. The problem is that when I run matlab as an administ...

6 years ago | 0

Question

Source Control in a SIMULINK Project

Hi to everyone, I am sorry if this is a stupid question but I want to be sure about it. Until now I was working without S...

6 years ago | 0 answers | 0

Question

Prediction of Ocean Waves

Hi to everyone, I have to implement a Predictor to predict ocean (or river) waves. Can you give me some ideas from where...

7 years ago | 1 answer | 0

Question

Executable or Matlab App from Simulink+GUI

Hi to everyone, I have my simulink model and I have my GUI which starts,simulates and displays the results of the simulation....

7 years ago | 2 answers | 0

Question

Suptitle of an updating plot

Hi to all, I have a figure in which I have 2 plots (subplot 211 and subplot 212). I need to impose a suptitle on the plot ...

8 years ago | 0 answers | 0

Answered

Update plot on Axes in a Matlab GUI

With drawnow it´s not working in real time! I wrote in the run_button callback: function run_button_Callback(hObject, ev...

Update plot on Axes in a Matlab GUI

With drawnow it´s not working in real time! I wrote in the run_button callback: function run_button_Callback(hObject, ev...

8 years ago | 0

Question

Update plot on Axes in a Matlab GUI

Hi, I´m simulating a SIMULINK model and in this model I store some variables in the Worskspace. I have a GUI and if AFTER the...

8 years ago | 2 answers | 0

Answered

How can I create a plot where the graph shifts as the data extends?

I solved plotting and then write: xlim([i-50,i+50]) Let me know if this helps, Fabrizio.

How can I create a plot where the graph shifts as the data extends?

I solved plotting and then write: xlim([i-50,i+50]) Let me know if this helps, Fabrizio.

8 years ago | 0

Question

Plot a Cycle in Matlab

Hi MatlabERS :), I need to plot a cycle, but I don´t know if this is possible in Matlab. I need something like what is d...

8 years ago | 0 answers | 0

Question

Arduino and Serial port in MATLAB

Hi, I have an Arduino DUE connected to my Virtual machine on which there is installed UBUNTU. If I try to create a seria...

8 years ago | 1 answer | 0

Answered

Matlab Coder not working

I solved thanks to this post: http://www.mathworks.it/support/solutions/en/data/1-QBCS1/?solution=1-QBCS1 Thanks for your re...

Matlab Coder not working

I solved thanks to this post: http://www.mathworks.it/support/solutions/en/data/1-QBCS1/?solution=1-QBCS1 Thanks for your re...

8 years ago | 0

| accepted

Question

Matlab Coder not working

Hi to everyone, I have this function: function output = simplecontroller(input) %UNTITLED2 Summary of this function ...

8 years ago | 3 answers | 0

Question

Simulink Red Wires. Why?

Hi. I´m using SIMULINK on Matlab r2013a. I would like to understand why some wires of my model are red. Can you help me? ...

8 years ago | 1 answer | 0

Question

Code generation failed Incorrect number of right hand side elements in dot name assignment

I´m trying to execute this function in MATLAB 2013a in a Matlab Function Block within a SIMULINK model. function L=fcn(...

8 years ago | 0 answers | 0