Community Profile

photo

langrg


Last seen: 3 meses 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...

4 meses 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 =...

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

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

alrededor de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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' ...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 2 años 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!

más de 2 años 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!

más de 2 años 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...

más de 2 años 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...

casi 3 años 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...

más de 3 años 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...

más de 3 años ago | 1 answer | 0

1

answer