Community Profile

photo

Anthony Poulin


2012 年からアクティブ

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

統計

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

バッジを表示

Content Feed

表示方法

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

8年以上 前 | 0

回答済み
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 =...

8年以上 前 | 1

| 採用済み

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

8年以上 前 | 0

回答済み
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...

8年以上 前 | 0

回答済み
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...

8年以上 前 | 0

回答済み
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...

8年以上 前 | 0

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

8年以上 前 | 0

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

9年弱 前 | 7

回答済み
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...

9年弱 前 | 0

回答済み
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...

9年弱 前 | 0

回答済み
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...

9年弱 前 | 0

| 採用済み

回答済み
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...

9年弱 前 | 0

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

9年弱 前 | 1

| 採用済み

回答済み
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...

9年弱 前 | 0

| 採用済み

回答済み
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...

9年弱 前 | 0

| 採用済み

回答済み
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...

9年弱 前 | 0

回答済み
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...

9年弱 前 | 0

回答済み
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...

9年弱 前 | 0

回答済み
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...

9年弱 前 | 0

| 採用済み

回答済み
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...

9年弱 前 | 0

| 採用済み

回答済み
'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...

9年弱 前 | 1

回答済み
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 ...

9年弱 前 | 1

| 採用済み

回答済み
Matlab r2013a doesn't recognize any compiler in order to protect a model.
Hey, Have you check your simulink model configuration parameters? There is update since the later version and I think that d...

9年以上 前 | 0

質問


How specify a location for Microsoft Visual C++ 2010 v10.0 in Simulink Toolchain
Previously I worked with Matlab R2011A (32bit) and MSVS C 2010 (32bit) as compiler, now I have to work with Matlab R2013B (32bit...

9年以上 前 | 0 件の回答 | 0

0

回答

回答済み
How to print to console in S-Function Builder?
Hey, I work with Matlab R2011a and the command mexPrintf allows me to print comment into the matlab command window. I rece...

9年以上 前 | 0

回答済み
Hit Crossing driven by a signal of type 'single'
Hey, indeed this block only accepts the type "double" for input. Is it an acceptable way for you to use the block "Data Type Co...

9年以上 前 | 1

回答済み
Redifinition of mxArray: error C2371
I find solution, it happens because "simstruct.h" (the C s-function hearder) does not include the same headers when compiling in...

9年以上 前 | 1

回答済み
Matlab slider pass value to event handler
OK, you're right is see my mistake: I worte "@{pippo...", but it's "{@pippo..." the correct syntax. I never used the addlis...

9年以上 前 | 0

回答済み
How declare a variable only once in a matlab function block and then use the previous value the nex time the function is used?
Is it possible for you to have one more input and one more output? What I suggest is to do like the image below: <</matlab...

9年以上 前 | 3

回答済み
Matlab slider pass value to event handler
Hi, If you want to pass parameter with your callback you can do like this: hListener = addlistener(hSlider,'Value','PostS...

9年以上 前 | 0

さらに読み込む