Community Profile

photo

langrg


Last seen: alrededor de 1 año hace Con actividad desde 2018

Estadísticas

  • Knowledgeable Level 1
  • Thankful Level 3
  • First Answer

Ver insignias

Content Feed

Ver por

Pregunta


How to list all blocks that "InitialOutput" parameter is accessible in their "block parameter" interface?
Hi, In function of their use, some blocks need or not to have parameter fields fill. For example, "Outport" blocks, according t...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

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

casi 2 años hace | 0

| aceptada

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 3 años hace | 0

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 1

| aceptada

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 3 años hace | 0

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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!

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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!

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

alrededor de 5 años hace | 2 respuestas | 2

2

respuestas

Pregunta


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

más de 5 años hace | 1 respuesta | 0

1

respuesta