Explore
Followed
Channels
Highlights
General
Cody
Contests
Fun
Generative AI
Ideas
Off Topic
Santosh Kasula am 12 Apr. 2021 (Bearbeitet am 26 Apr. 2021)
Letzte Aktivität Antwort von Ethel am 19 Jul. 2022
We are introducing Scratch Pad in Cody to support iterative problem solving. Scratch Pad will enable you to build your solution line-by-line, experiment with different MATLAB functions, and test your solution before submitting.
Try it out and let us know what you think.
⋮
Direkter Link
Verfolgen
Löschen
Dieses Thema endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Santosh Kasula
Zeit (absteigend)
Meiste Likes
Wenigste Likes
11 Kommentare
Direkter Link
Markieren
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/2459070#reply_2459070
Ethel am 19 Jul. 2022 (Bearbeitet )
Could you add a button to display the whole suite in the old format https://www.allisonroseatelier.com/ This would make it easier to check everything before submitting.
Direkter Link
Markieren
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/42505#reply_42505
Yutaka Yamada am 28 Mai 2021 (Bearbeitet )
This is great! Now I don't need to open Matlab to test my code.
Direkter Link
Markieren
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/41460#reply_41460
Are Mjaavatten am 22 Apr. 2021 (Bearbeitet )
The scratchpad is fine, but I have a problem with the splitting of the test suite into separate code snippets. With many tests (which is good!) rechecking all tests every time I make a modification to my code is quite cumbersome. Could you add a button to display the whole suite in the old format? This would make it easier to check everything before submitting.
Direkter Link
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/41465#reply_41465
Santosh Kasula am 22 Apr. 2021 (Bearbeitet )
@Are - Did you try submitting? When you submit, if the tests fail, the page keeps you on the same page. There is no change in behavior and test run times. It is just displayed better.
Direkter Link
Markieren
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/41470#reply_41470
Are Mjaavatten am 22 Apr. 2021 (Bearbeitet )
Call me vain, but I just hate submitting lots of failed solutions.
Direkter Link
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/41475#reply_41475
Santosh Kasula am 22 Apr. 2021 (Bearbeitet am 22 Apr. 2021)
Fair enough. We will look into a way to facilitate the workflow. In the long run, we are planning to enable iterating through the solution in MATLAB Desktop or Online. That should address your use case while providing richness of MATLAB IDE.
Direkter Link
Markieren
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/40971#reply_40971
Nikolaos Nikolaou am 14 Apr. 2021 (Bearbeitet )
Someone grew tired from all my wrong test solutions :)
Direkter Link
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/40906#reply_40906
David am 13 Apr. 2021 (Bearbeitet )
Ned just posted about the feature on the Community blog here: Cody News: Test That Code Before You Submit It!
Direkter Link
Markieren
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/40846#reply_40846
Rik am 12 Apr. 2021 (Bearbeitet am 12 Apr. 2021)
There should be a test suite (e.g. loaded dynamically from the FEX) that runs before any other test is run. That way it should be easier to filter most of the fileread, str2num, and regexprep hacks. If you maintain it on GitHub, people can even suggest modifications to that test suite.
Without that, every update to Cody (however nice or needed) is just sugar coating. I like seeing some changes for Cody, and I hope this is a sign to expect the score hacks to be made more difficult soon.
Direkter Link
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/40901#reply_40901
Santosh Kasula am 13 Apr. 2021 (Bearbeitet )
@Rik - Thank you for your suggestion. We are working on few ideas to limit some of these hacks.
Direkter Link
Markieren
Löschen
Diese Antwort endgültig löschen?
Dies kann nicht rückgängig gemacht werden.
Direkter Link zu dieser Antwort:
https://www.mathworks.com/matlabcentral/discussions/highlights/134511-introducing-scratch-pad-in-cody/40831#reply_40831
goc3 am 12 Apr. 2021 (Bearbeitet )
This is a great feature that simplifies Cody usage and makes the process of solving problems more efficient.I'm also excited about support for graphical output!
Anmelden, um teilzunehmen
Account erforderlich
Um diese Aktion auszuführen, müssen Sie sich anmelden oder einen Account erstellen.
Tags
- highlights
- cody
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- Deutsch
- English
- Français
- United Kingdom(English)
Asien-Pazifik
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)
Kontakt zu Ihrer lokalen Niederlassung