Community Profile

photo

Anthony Poulin


Aktiv seit 2012

Followers: 0   Following: 0

Kontakt

Professional Interests: Embedded systems
Skills: Simulink, Stateflow, Simulink Coder, Embedded Coder, S-function (C, C++), Matlab (GUI development)

Statistiken

All
  • First Review
  • 3 Month Streak
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
installing C/C++ compilers on 2014a Matlab version
Hello, Is the MS Visual Studio that you installed is a 64bits version?

mehr als 8 Jahre vor | 0

Gelöst


Counting pulses in a signal
Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...

mehr als 8 Jahre vor

Beantwortet
Elegant way of "sending to the next row" in a matrix
I have not the same result and using a transpose I think that I get what you want. A=1:10; B=reshape(A, [5,2])' So, B =...

mehr als 8 Jahre vor | 1

| akzeptiert

Gelöst


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

mehr als 8 Jahre vor

Gelöst


Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

mehr als 8 Jahre vor

Beantwortet
Elegant way of "sending to the next row" in a matrix
Hello, Do you try to use the "reshape" function?

mehr als 8 Jahre vor | 0

Gelöst


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

mehr als 8 Jahre vor

Gelöst


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

mehr als 8 Jahre vor

Gelöst


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

mehr als 8 Jahre vor

Gelöst


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

mehr als 8 Jahre vor

Gelöst


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

mehr als 8 Jahre vor

Beantwortet
How to set coursor on top left side of edit in matlab gui?
If you are able to find the position on your screen (X,Y) of the top left side of your edit box, you can use: set(0,'PointerLoca...

fast 9 Jahre vor | 0

Beantwortet
How to change Horizontal size of a Constant block based on the "Value" of the block in order to make the value visible
I understand what you want to do. And the command line that Abdelmalek and I provide you allows to resize a block. So you jus...

fast 9 Jahre vor | 0

Beantwortet
How to change Horizontal size of a Constant block based on the "Value" of the block in order to make the value visible
You have to use the command: set_param(Block,'Position',[50 100 80 130]) But I don't know how to dectect if the value is play...

fast 9 Jahre vor | 0

Beantwortet
Detect in simulink if the current and past 4 values are same or not
Hello, Do the picture attached solve your question?

fast 9 Jahre vor | 0

Beantwortet
Load .mat - file to base workspace?
Hello, you might use the evalin function: evalin('base', 'load(''matlab.mat'')');

fast 9 Jahre vor | 7

Beantwortet
how can I make the signalbuilder run
Hello, Do you want to select a specific group of your signal builder? If YES, use the command: signalbuilder(block, 'act...

fast 9 Jahre vor | 0

Beantwortet
Insert rows in a matrix
You can try something like this (with B = [NaN NaN 99 Nan 77 NaN]): for i=10:10:100 AA = [AA(1:i, 1:end); B; AA(i+1:e...

fast 9 Jahre vor | 0

Beantwortet
I am making a GUI. GUI plots the data. While GUI is plotting the data, to avoid any manual intervention I want to lock GUI window till I get the plot. I have disabled all controls in GUI in plot function to lock GUI. But GUI is not locking properly.
Hello, Can you put the command "drawnow", just after the function which disabled all controls and tell if it solve your probl...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
error LNK2019: unresolved external symbol __imp_EncodePointer
Hello, Do you want to compile a mex file in 64 bits with a library in 32bits? I think, this is not possible (I never succe...

fast 9 Jahre vor | 0

Beantwortet
Is it possible to tilt displaying warning messages on the command window?
Hello, Have you try the command line: warning off

fast 9 Jahre vor | 1

| akzeptiert

Beantwortet
Export a matrix to a txt file
Hello, I give you this short code: fileId = fopen('MatrixA.txt', 'w'); %To create a file txtA = char(A); %To convert th...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
how to check syntax error in state flow chart
I give you a small code (not optimize and without check...). The code give the "txt" variable which is the text from a stateflow...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
how to check syntax error in state flow chart
Yes, you catch a char containing all the text. Then you have to treat this char, to separate the line you can find the charac...

fast 9 Jahre vor | 0

Beantwortet
how do I "locate file on disk" using matlab?
Hello, I am not sure to really understand your question. Is the "uigetfile" function that you are looking for? This fun...

fast 9 Jahre vor | 0

Beantwortet
how to check syntax error in state flow chart
Hello, I can give you some command line which help you to access to the content of the stateflow chart. % to catch the r...

fast 9 Jahre vor | 0

Beantwortet
how can improve the debug process using C-code on s-functions?
Hello, I wonder the same question... The only thing I find it is to click to "Attempt to continue" on the "Matlab System E...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
Getting handle for interpreted MATLAB function in Simulink ?
Hello, How do you try to catch the handle? Using get_param($blockRoot,'handle'), I catch the handle. Using set_param($bl...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
'rtwinext': undefined symbol "__imp__Z13TT_Initializev" Error loading real-time executable Error occurred while executing External Mode MEX-file motive 1.5 API C-MEX S-Function
Hello, I think that I have encountered a similar problem and it comes from "mex.h" (which is a Matlab API and if you simulat...

fast 9 Jahre vor | 1

Beantwortet
How to create exe from gui and simulink
Hey Ander, First what you want to do is possible! Then, to do it you have to create a DLL from your simulink model and an ...

fast 9 Jahre vor | 1

| akzeptiert

Mehr laden