Community Profile

photo

Sylvain


National Physical Laboratory

Last seen: Today Active since 2012

Statistics

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

View badges

Content Feed

View by

Answered
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?

22 dagar ago | 0

Answered
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)];

22 dagar ago | 0

| accepted

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

22 dagar ago | 0 answers | 0

0

answers

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

ungefär en månad ago | 0

| accepted

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

2 månader ago | 0

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

2 månader ago | 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...

2 månader ago | 0 answers | 0

0

answers

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 månader ago | 0 answers | 0

0

answers

Answered
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 månader ago | 1

| accepted

Answered
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 månader ago | 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.

ungefär ett år ago | 1 answer | 0

1

answer

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

ungefär ett år ago | 0

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

ungefär ett år ago | 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...

mer än ett år ago | 0 answers | 0

0

answers

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

mer än ett år ago | 0

| accepted

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

mer än ett år ago | 1 answer | 0

1

answer

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

ungefär 2 år ago | 0 answers | 0

0

answers

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

ungefär 2 år ago | 0

Question


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

ungefär 2 år ago | 0 answers | 0

0

answers

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

ungefär 2 år ago | 0 answers | 0

0

answers

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

ungefär 2 år ago | 0 answers | 0

0

answers

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

ungefär 2 år ago | 0 answers | 0

0

answers

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

ungefär 2 år ago | 1 answer | 0

1

answer

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

ungefär 2 år ago | 0

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 1

| accepted

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

mer än 2 år ago | 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?

mer än 2 år ago | 1 answer | 0

1

answer

Load more