photo

Thomas Fournier


Last seen: etwa 3 Jahre vor Aktiv seit 2021

Followers: 0   Following: 0

Statistik

All
  • Thankful Level 2
  • 3 Month Streak
  • Solver
  • Knowledgeable Level 1
  • First Answer
  • Revival Level 1
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Live editor, link variable to control does not appear.
Hello, I try to implement an edit field control in my live script, and link it to a string array variable defined earlier. In ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Change Button text when pressed in app designer
You can change the text displayed on your button through the command: app."name of your button".Text="newName"

etwa 3 Jahre vor | 0

| akzeptiert

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 3 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 3 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 3 Jahre vor

Gelöst


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

etwa 3 Jahre vor

Beantwortet
How to pass data from Dialog App to Calling App before closing Dialog App?
So you have a Dialog app and a calling app, imagine in your calling app you have a property called speed, in your calling app y...

etwa 3 Jahre vor | 0

Gelöst


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

etwa 3 Jahre vor

Gelöst


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

etwa 3 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

etwa 3 Jahre vor

Beantwortet
Need to enable Editing value when selected from Tab tree???
Not exactly sure what you want to do but here are a few thing that can be usefull: 1, create callbacks: a piece of code that is...

etwa 3 Jahre vor | 0

Beantwortet
In the App Designer: How to pass handle name to be used on other functions? Use PushButtom handle on other function?
As long as your function has 'app' as a varargin you should be able to access your button handle. For exemple if you want to kn...

mehr als 3 Jahre vor | 0

Beantwortet
How can I create app from main script along with their subscript ?
The data you want to keep between function shoud be defined as properties of your app, To refer to this variable later in yo...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How can I select programmatically AxesToolbar tool?
Just doing this after your scatter should work: x = rand(20,1); y = rand(20,1); scatter(x,y) brush('on')

mehr als 3 Jahre vor | 0

Beantwortet
How do I get a user to choose an option by button?
Not sure of what you want to do but you can try to play with callbcak and "Visible" parameter of some component. For exemple yo...

mehr als 3 Jahre vor | 0

Beantwortet
Can I save calculations performed in App Designer to the workspace?
You can use the command "assignin" for exemple, here is a button's callback that send all the app data to the workspace: funct...

mehr als 3 Jahre vor | 0

Frage


How to NOT share variable with nested function?
Hello, I made a big code in a separate m.file, this code includes functions. I then want to make a function out of this big co...

mehr als 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


issue with App Designer and WindowButtonDown callback
Hello, I need to display a point coordinate in a scatter plot, it works well, I just have to hover my cursor over it: Howeve...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


"Access Elements of a Nonscalar Structure Array" issue
Hello, I try to access data stored in a structure of this type: I would love to have access easily for exemple to all the m...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten