Introducing Scratch Pad in Cody (2024)

Explore

Followed

Highlights

General

Cody

Contests

Fun

Generative AI

Off Topic

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.

Introducing Scratch Pad in Cody (2)

Try it out and let us know what you think.

9 (letzte 30 Tage)

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)

Zeit (aufsteigend)
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.

0 Antworten

Ethel

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.

0 Antworten

Yutaka Yamada

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.

1 Antwort

Are Mjaavatten

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.

1 Antwort

Santosh Kasula

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.

1 Antwort

Are Mjaavatten

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.

0 Antworten

Santosh Kasula

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 :)

0 Antworten

Nikolaos Nikolaou

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!

0 Antworten

David

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.

1 Antwort

Rik

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.

0 Antworten

Santosh Kasula

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!

0 Antworten

goc3

Anmelden, um teilzunehmen

Contributor

Denken Sie daran, die Community-Richtlinien zu lesen

Contributor

Bewertung hinzufügen

Account erforderlich

Um diese Aktion auszuführen, müssen Sie sich anmelden oder einen Account erstellen.

Tags

  • highlights
  • cody

Introducing Scratch Pad in Cody (14)

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

Kontakt zu Ihrer lokalen Niederlassung

Introducing Scratch Pad in Cody (2024)

References

Top Articles
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 6725

Rating: 4.8 / 5 (68 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.