Community Profile

photo

langrg


Last seen: 11 days ago
16 total contributions since 2018

langrg's Badges

  • Knowledgeable Level 1
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Question


Coding philosophy : Is using Simulink observers blocks like using global variables?
Hi, Must I considere that using observers blocks in a Simulink model is like using global variables in a code? I dont' talk ab...

2 months ago | 0 answers | 0

0

answers

Answered
I want to change specific values in a table
Hi, I think you forgot to define "oneeyearray" before using it. You can not do if oneeyearray(i,j)==-1 if "oneeyearray" doe...

2 months ago | 0

Question


Add one port to a Simulink block, from command line AND automaticaly keep the same distance between ports
Hi, I'm trying to automate the creation of a Simulink model. In some case I have to add sevral inport to BusCreators. The tro...

2 months ago | 1 answer | 0

1

answer

Question


Coding philosophy : Is using global goto like using a global variable?
Hi, Must I considere that using a global goto block in a Simulink model is like defining a global variable in a code? I dont' ...

2 months ago | 2 answers | 0

2

answers

Answered
disable/enable custom menu sl_customization
I'v finaly found the solution by myself. When you create the schema of your function for your menu, you have to define tag prop...

2 months ago | 0

| accepted

Answered
Loading any Excel file from a folder
Hi, The code below should work. function test(path) % Find xlsx files files = dir(fullfile(path, '*.xlsx')); % Loop on ev...

2 months ago | 1

| accepted

Question


disable/enable custom menu sl_customization
Hi, Using sl_customization I've created a sub-menu of Tools menu in Simulink (cm.). I've found and understood how to add a fil...

2 months ago | 1 answer | 0

1

answer

Answered
How to i plot curve graph for equation with condition?
A parenthesis is missing in your formula (look your print), there is an closing parenthesis after "t", but there is no opening p...

3 months ago | 0

Question


Wireless communication between 2 Simulink blocks without Goto/From
Hi, Would there be a way to create 2 Simulink blocks (Matlab Function? S-Function ?) that would be in a same model, at differen...

3 months ago | 1 answer | 0

1

answer

Question


Customize block callbacks error message
Hello, I want to specify the InitFcn of a Simulink block, for example 'MyInitFcn'. 'MyInitFcn' is an m file (function) that con...

1 year ago | 1 answer | 0

1

answer

Question


What is Matlab command line equivalent to "Deploy to Hardware Ctrl+B" button in Simulink?
Hello, What is Matlab command line equivalent to "Deploy to Hardware Ctrl+B" button in Simulink? Thanks!

1 year ago | 1 answer | 0

1

answer

Question


Simulink : Get handle of a Matlab-Function block, inside Matlab-Function itself
Hello, Is there a way to get handle of a Matlab-Function Simulink block inside of the Matlab-Function itself? Thanks!

1 year ago | 1 answer | 0

1

answer

Question


Are Lego EV3 support packages for Matlab and Simulink compliant with Lego NXT 2.0 brick?
Hello, I'm using Matlab R2018b, I would like to program Lego NXT 2.0 brick with Simulink. Are Lego EV3 support packages for Ma...

1 year ago | 1 answer | 0

1

answer

Question


mex compilation error : collect2.exe: error: ld returned 5 exit status
Hi, I'm trying to compile cpp code to create mexw64 files directly usable in Matlab. Using "mex" function I get this error mes...

1 year ago | 0 answers | 0

0

answers

Question


Get list of libraries blocks that have "changes" in a model
Hello, I have a Simulink model with libraries blocks inside. I have modified some of those libraries (from my model) using "set...

2 years ago | 1 answer | 2

1

answer

Question


Is there a way to change number of worker in a created parpool?
Hi, I have launch a very long simulation wih parfor loop inside. To keep working on my PC, I let one core free. Now that I'm le...

2 years ago | 1 answer | 0

1

answer