Community Profile

photo

langrg


Last seen: 4 months ago Active since 2018

Statistics

  • Knowledgeable Level 1
  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Question


Open a masked subsystem (look under mask) in command line
Hello, Does anyone know how to open a masked Simulink subsystem from Matlab? I mean, what is the command line equivalent to "lo...

5 months ago | 1 answer | 0

1

answer

Answered
problem with if and or
Hello, You should use "strcmp" instead of "==", then end syntax of an "if" condition is "end" not "endif", like that: Choix1 =...

5 months ago | 0

| accepted

Question


How to get same xlsread "raw" output whithout using xlsread?
Hello, xlsread is no more recommanded. So what is the correct solution to get exactly the same variable "raw" I was getting whe...

1 year ago | 1 answer | 0

1

answer

Question


Webapp : Excel ActiveX server fails to open
Hello, I'm currently developping a webapp that have to use an Excel activeX server. I use this activeX server to read and gener...

1 year ago | 0 answers | 0

0

answers

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...

1 year 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...

1 year 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...

1 year 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' ...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

2 years 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!

2 years ago | 2 answers | 0

2

answers

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!

2 years 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...

2 years 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...

3 years 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...

3 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...

4 years ago | 1 answer | 0

1

answer