Community Profile

photo

Sylvain


National Physical Laboratory

Last seen: 1 jour il y a Actif depuis 2012

Statistics

All
  • Revival Level 2
  • Thankful Level 3
  • 3 Month Streak
  • Knowledgeable Level 2
  • Community Group Solver
  • First Answer
  • First Review
  • Solver

Afficher les badges

Content Feed

Afficher par

A répondu
Simulink data type mismatch when using atomic subsystems
Can you use a data conversion block before or after the rate transition and cast to either a double or a uint8?

18 jours il y a | 0

A répondu
How to expand a matrix depending on the file size?
Does this help ? n = 2; mycolors = [1*ones(1,n),2*ones(1,n),3*ones(1,n),4*ones(1,n)];

18 jours il y a | 0

| A accepté

Question


Can I call a Raspberry pi object within a block, for a program deployed on Raspberry pi
I am deploying an simulink algorithm on a raspberry pi, that connects to an i2c device. All my testing has been done in matlab...

18 jours il y a | 1 réponse | 0

0

réponse

A répondu
How I can create a while cycle that ends after a sepecific time
tic while(toc<60) % code end

environ un mois il y a | 0

| A accepté

A répondu
search a subsystem in multiple Simulink file
You can get a list of the subsystems using the following command (some options might be removed) ss = find_system(gcb,'LookUnd...

environ 2 mois il y a | 0

A répondu
Simulink Raspberry Hardware External Mode Error Issue
Hi, It is really difficult to read the error in the screenshots but I guess it is due to a failed connexion with the Raspberry ...

environ 2 mois il y a | 0

Question


XCP crash Raspberry pi
I am using the tune and monitor function with the Raspberry Pi 4. I have made some improvement to my code but since, I get the...

environ 2 mois il y a | 1 réponse | 0

0

réponse

Question


In the Model Base Calibration toolbox, can I plot the coefficients from the surface response?
I am trying to figure out how to work with the MBC toolbox, especially to conduct Design of experiments. I am testing a classi...

9 mois il y a | 1 réponse | 0

0

réponse

A répondu
Does MatLab 2020b support hardware implementation for Simscape models on Raspberry Pi 4B?
This might be part of the limitations: https://uk.mathworks.com/help/supportpkg/raspberrypi/ug/install-target-for-raspberry-pi-h...

10 mois il y a | 1

| A accepté

A répondu
Use multiple SPIs on RPI (Raspberry Pi) 4B?
Hi Arish, I faced the same issue and found that the Raspberry Pi is limited with GPIOs. Hence I am using microcontrollers to h...

10 mois il y a | 0

Question


Simulink Build return "ans = logical 0" in the diagnostics viewer
I am compiling code for a Raspberry Pi. I am not sure why I get this following output from the Diagnotics Viewer.

environ un an il y a | 1 réponse | 0

1

réponse

A répondu
Raspberry for MATLAB Problem
Go to Modelling tab > Model settings, once the dialog box open go to Hardware implementation and select Raspberry Pi. Click OK ...

environ un an il y a | 0

A répondu
How to interface TCA9548A in Matlab Raspberry Pi?
I am not sure if the MATLAB API would allow it, as it checks i2c addresses on the bus before detection From my understanding i...

environ un an il y a | 0

Question


How to resize the mask dialog box?
I have developped a masked for a subsystem, which contains a lot of parameters. I am using containers, but the result is not tha...

plus d'un an il y a | 1 réponse | 0

0

réponse

A répondu
matlab app designer where is the workspace?
HI Robert, my own technique is to add a push button call debug. The callback of the push button uses the function assign('base...

plus d'un an il y a | 0

| A accepté

Question


How to dynamically change the Mask dialog box in Simulink
I have created a dynamic mask, which change if the block parameter "Command" is equal to Reset. The Command is set when I click ...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Why my model is not running properly on my raspberry pi ? (PIGPIO.h test)
Hi, I have build the attached model to run on the raspberry pi. The model contain a S-function builder to try the library PigP...

environ 2 ans il y a | 1 réponse | 0

0

réponse

A répondu
"Error using matlabshared.internal.ssh2Client"
Same error message, my Pi is wiried to the host PC. After a couple of time working with tune & monitor. I just unplugged the eth...

environ 2 ans il y a | 0

Question


What GPIO library is used for the RaspberryPi support package?
Simple question, is it uing a mathworks library? the Pigpio library? WiringPi?

environ 2 ans il y a | 1 réponse | 0

0

réponse

Question


How to upgrade Raspbian when used with MATLAB/Simulink? Will it create a compatibility issue?
I have my raspberry pi plugged with my ethernet cable. I would like to update/upgrade raspbian, to add additional features, such...

environ 2 ans il y a | 1 réponse | 0

0

réponse

Question


How to optimize code generation for Arduino Uno for Tune&Monitor?
(After few tries, I have updated the end of this post) I just adapted the following arduino Code to display the character 'A'...

environ 2 ans il y a | 1 réponse | 0

0

réponse

Question


What is the best way to use Arduino libraries to interface with the Raspberry pi ?
I have both Hardware support packages Arduino and Raspberry for simulink. There are plenty of libraries for the arduino framewor...

environ 2 ans il y a | 1 réponse | 0

0

réponse

Question


How to create a hovering effect on images in the App creator
when using the app designer, We can use images that have callback when clicking the image. Is there any property to modify t...

environ 2 ans il y a | 1 réponse | 0

1

réponse

A répondu
How to use convertTDMS script and what is the most efficient file format to post-process data in MATLAB?
You can use this instead: https://uk.mathworks.com/matlabcentral/fileexchange/44206-converttdms-v10 the function TDMS_getStruct...

environ 2 ans il y a | 0

A répondu
How to interpolate data
interp1 inputs must be real number (look at the section input arguments from the help.). Thus remove the NaN values from the inp...

environ 2 ans il y a | 0

| A accepté

A répondu
How to interpolate data
Input Arguments collapse all x — Sample points vector Sample points, specified as a row or column vector of real numbers. Th...

environ 2 ans il y a | 0

A répondu
lenend keep only text
dummyh_1= line(nan, nan, 'Linestyle', 'none', 'Marker', 'none', 'Color', 'none');hold on dummyh_2= line(nan, nan, 'Linestyle', ...

plus de 2 ans il y a | 0

A répondu
Read .txt file , Truss optimization
The issue is not in your code, but in your text file, line 71: 12 01 .2.50 2.0 10.0 10.0 Must be converted to : 12 01...

plus de 2 ans il y a | 1

| A accepté

A répondu
how do i set drawrectangle to have a specific increment only?
you can set the property "Position" of an existing rectangle: A=drawrectangle; %draw a rectangle A.Position=[0.5 0.2 0.35 0.2]...

plus de 2 ans il y a | 0

Question


Support Package for Raspberry Pi (R2020a) - does it support the CM4 ?
Maybe a trivial question, the support package seems to support the Pi4, but I am just wondering if it support the Pi CM4?

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Charger plus