Frage


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.

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

Frage


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

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 4 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 5 Jahre vor | 0

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 1

| akzeptiert

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

etwa 5 Jahre vor | 0

Frage


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?

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

etwa 5 Jahre vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

etwa 5 Jahre vor

Gelöst


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

etwa 5 Jahre vor

Beantwortet
How do I perform a clean re-installation of a Support Package?
Can you please provide details on how to do a clean re-install of a unique support package without deleting the other installed?...

etwa 5 Jahre vor | 3

Gelöst


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

etwa 5 Jahre vor

Gelöst


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

etwa 5 Jahre vor

Gelöst


Square a Number
Given an input x, return y, which is equal to the square of x.

etwa 5 Jahre vor

Gelöst


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

etwa 5 Jahre vor

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

etwa 5 Jahre vor

Gelöst


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

etwa 5 Jahre vor

Mehr laden