Community Profile

photo

grapevine


UTBM

Active since 2012

Statistics

  • 3 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Question


generate a DLL by RTW without having Visual Studio
Hi folks, I could use some help to understand the requirements of RealTime Workshop0 I was wondering it is possible to g...

11 years ago | 1 answer | 0

1

answer

Question


Bus signals as Input to S-function
Hello everyone, I'm working on a code of a sfunction which has a Bus signal as input and another bus signal as output. I f...

11 years ago | 1 answer | 0

1

answer

Question


Initialization problem of the mask parameter when migrating from 2009a 2 2010b
Hello everyone, We are currently migrating some Simulink models from Matlab 2009b to Matlab 2010b. These models invol...

11 years ago | 1 answer | 0

1

answer

Answered
can I call dosbox from inside matlab?
I guess these discussions can help you <http://www.mathworks.com/matlabcentral/answers/11568> <http://www.mathworks.com/ma...

11 years ago | 0

| accepted

Question


simulink library browser crashes when trying to load a custom library
Hello everyone, I have some issues with simulink library browser when it tries to load a custom library I added a custo...

11 years ago | 1 answer | 0

1

answer

Question


Handle the external reference in the DLL generation TLC files
Hello everyone, I would like to have your opinions about how to solve this issue : I made some libraries, which involve in...

11 years ago | 1 answer | 0

1

answer

Question


DLL generation by RTW with reference to external libraries
Hello everyone, I have a simulink model composed by a DymolaBlock and some blocks from the standard simulink library. I ha...

11 years ago | 1 answer | 0

1

answer

Question


Running a step by step simulation with Simulink debugger
Hello everyone, I'm looking for a way to debug a Simulink model, which is simulated by a fixed-step solver and analyze its b...

11 years ago | 1 answer | 1

1

answer

Question


How to reduce the startup time of the simulink model
Hello everyone, I have a simulink model involving some masked C-sfunctions and some blocks from a user-defined library. ...

11 years ago | 3 answers | 0

3

answers

Question


Modify the MaskDIsplay of a block by using c sfunction
Hello everyone, I'm wondering if it's possible to modify the MaskDisplay of a block by using a C sfunction. I know I can get...

11 years ago | 3 answers | 0

3

answers

Question


Get the outputs from a script launched by the run function
Hello everyone, I got an issue while I was working with the *run* function. I currently use this function to lauch some Matl...

11 years ago | 1 answer | 1

1

answer

Answered
Linking MATLAB with Mathematica
If you are trying to export data from Mathematica to matlab you should have a look to this toolbox <http://library.wolfram.c...

11 years ago | 0

| accepted

Answered
read multiple excel files in the one line of the code
The only way is to use this instruction in a for loop [num,txt,raw] = xlsread(fichierExcelTest,'Sheet1')

11 years ago | 0

Answered
how to automatically get the results from Model Advisor's report
I wrote something, in a way it works allIDs = ma.getCheckAll; res=ma.getCheckResult(allIDs); nTest=length(res); ...

11 years ago | 0

| accepted

Question


how to automatically get the results from Model Advisor's report
Hello everyone I need to perform some tests on severals blocks, my advisor of my intership advised me to use Model Advisor ...

11 years ago | 1 answer | 0

1

answer

Question


RTW -> Warning: SIT 2009 Unknown data type. Constructor is enum
Hello everyone, I have an issue, when I try to generate a DLL by Real-Time workshop, whose I cannot figure out the reason ...

11 years ago | 1 answer | 0

1

answer

Answered
Creating a cell array of size n
You have to modify your code in this way : C = cell(1,n); for i = 1:n C(i) = java.lang.String('red'); ...

11 years ago | 0

Answered
Change what folder matlab starts up with
Try to modify the variable : _userpath_ <http://www.mathworks.nl/help/techdoc/matlab_env/bs6j57e-1.html> <http://www.m...

11 years ago | 1

Answered
ARMA model for temperature simulation
If you have enough measurements of the inputs and the outputs of the process you might perform a system identification There ar...

11 years ago | 0

Answered
How to find the most common statistical value in an array?
Take a look at this function: *mode - Most frequent values in array* <http://www.mathworks.nl/help/techdoc/ref/mode.html>

11 years ago | 0

Answered
Control a Simulink module by an M-file
You might use a clock block <http://www.mathworks.nl/help/toolbox/simulink/slref/clock.html> connected to a Matlab Fcn bl...

11 years ago | 0

Answered
Selecting a single value with max function - Subscripted assignment dimension mismatch.
I'm not sure about that Check this code A=[2, 2, 3, 3] [num, indexMax] = max(A) size(num) length(num) ...

11 years ago | 0

Answered
Plot a figure and find the Equation
You can use the *polyfit* and *polyval* functions here you can find some examples <http://www.ece.utah.edu/~harrison/ece57...

11 years ago | 0

Answered
How to access and use specific data from a structure
Try to use this function : *eval* Use my code as example Graph.Curve1=[1 2] max(eval(['Graph.Curve',num2str(1)])) ...

11 years ago | 0

Answered
How to convert a structure into a individual double elements
there are different ways to sort out your issue you might use: C= struct2cell(s) and then A= cell2mat(C) anoth...

11 years ago | 9

Answered
Finding the end date of each month/year
This is what you are looking E = eomday(Y, M) returns the last day of the year and month given by corresponding elements ...

11 years ago | 1

Question


Weird issue from a simulink model (a simple sfunction block in series to a switch) Could it be a bug on Matlab 7.8 (2009a) ?
Hello everyone, I created a model with simulink composed by a c-mex sfunction block and an upstream switch connected to th...

12 years ago | 1 answer | 0

1

answer

Answered
Character's usage for parameter callbacks doesn't allow using the | character inside a string : It can be a bug on Matlab 7.8 (R2009a)?
finally guys I wrote this code set_param(gcb,'MaskPromptString','Ninputs|Summary|Toggle to negative sign the input IN1?|Tog...

12 years ago | 0

| accepted

Question


Character's usage for parameter callbacks doesn't allow using the | character inside a string : It can be a bug on Matlab 7.8 (R2009a)?
Hello everyone, I'm working on a masked block, when I try to associate this command to a mask parameter callback <http://w...

12 years ago | 1 answer | 0

1

answer

Question


How to add a mask parameter to a simulink block
Hello everyone, For the purpose of my internship, I need to automate the creation of the mask parameters on a Simulink block....

12 years ago | 1 answer | 0

1

answer

Load more